Form:Definition: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOINDEX__
<noinclude>
<noinclude>
This is the "Definition" form.
This is the "Definition" form.
Line 32: Line 33:
</div>
</div>
<div class="irlformrow2">
<div class="irlformrow2">
<span class="irlformrowlabel">* Word Class Type</span>
<span class="irlformrowlabel">Abbreviation: </span>{{{field|Abb|size=8|maxlength=16|placeholder=ABB}}}


{{{field|Type|input type=dropdown|values=noun,verb,adjective,adverb,pronoun|default=noun|mandatory}}}
Optional: Enter an abbreviation.
 
Select a word class type.
</div>
</div>
<div class="irlformrow1">
<div class="irlformrow1">
<span class="irlformrowlabel">Pronunciation</span>
<span class="irlformrowlabel">* Definition</span>
 
{{{field|Definition|input type=textarea|rows=6|maxlength=512|mandatory|placeholder=Enter a definition}}}


{{{field|Pronunciation|size=36|maxlength=256|placeholder=Enter the pronunciation}}}
Enter a definition under 512 characters. Additional text can be entered in the Page Content area below.
</div>
</div>
<div class="irlformrow2">
<div class="irlformrow2">
<span class="irlformrowlabel">Audio File Name</span>
<span class="irlformrowlabel">* Definition Source URL</span>


{{{field|AudioFile|size=36|maxlength=256|default filename=glossary_{{lcfirst: {{SUBPAGENAME}} }}.mp3|placeholder=Enter mp3 file name}}}
{{{field|SourceURL|size=50|maxlength=300|placeholder=Enter full url https://|mandatory}}}


If the mp3 audio file already exists on the server, enter the file name. ([{{canonicalurl: Special:ListFiles}} view server files])
Enter the full url of the definition's source.
</div>
<div class="irlformrow1">
<span class="irlformrowlabel">* Word Class: </span>{{{field|Type|input type=dropdown|values=noun,verb,adjective,adverb,pronoun|default=noun}}}


If the file is not on the server, upload a '''.mp3''' file from your device.
Select a word class type.
</div>
<div class="irlformrow2">
<span class="irlformrowlabel">Pronunciation</span>
 
{{{field|Pronunciation|size=36|maxlength=300|placeholder=Enter the pronunciation}}}
</div>
</div>
<div class="irlformrow1">
<div class="irlformrow1">
<span class="irlformrowlabel">* Definition</span>
<span class="irlformrowlabel">Audio File Name</span>
 
{{{field|AudioFile|input type=text|size=30|maxlength=300|uploadable|default filename=Glossary_audio_{{#replace:{{lc: {{SUBPAGENAME}} }}.mp3 |<nowiki> </nowiki>|_}}|placeholder=Enter file name or upload file}}}


{{{field|Definition|input type=textarea|rows=6|cols=60|maxlength=512|mandatory|placeholder=Enter a definition}}}
If the audio file already exists on the server, enter the file name. ([{{canonicalurl: Special:ListFiles}} view server files])


Enter a definition under 512 characters. Longer text can be entered in the Page Content area below.
If the file is not on the server, upload a '''.mp3''' audio file from your device.
</div>
</div>
<div class="irlformrow2">
<div class="irlformrow2">
<span class="irlformrowlabel">* Definition Source URL</span>
<span class="irlformrowlabel">Synonym </span>


{{{field|SourceURL|size=50|maxlength=256|placeholder=Enter full url https://|mandatory}}}
{{{field|Synonym|input type=text|size=50|maxlength=300|placeholder=word1, word2, word3}}}


Enter the full url of the definition's source.
Enter similar words separated by a comma.
</div>
</div>
<div class="irlformrow1">
<div class="irlformrow1">
<span class="irlformrowlabel">Example Sentence</span>
<span class="irlformrowlabel">Example Sentence</span>


{{{field|Sentence|input type=text|size=50|maxlength=256|placeholder=Enter an example sentence}}}
{{{field|Sentence|input type=text|size=50|maxlength=300|placeholder=Enter an example sentence}}}
</div>
</div>
<div class="irlformrow2">
<div class="irlformrow2">
<span class="irlformrowlabel">Relevant Web Link</span>
<span class="irlformrowlabel">Article</span>


{{{field|RelatedURL|size=50|maxlength=256|placeholder=Enter full url https://}}}
Select a related article from this site.


Enter the full url of a related website.
{{{field|Article|input=text|size=36|placeholder=Select a Related Article Title}}}
</div>
</div>
<div class="irlformrow1">
<div class="irlformrow1">
<span class="irlformrowlabel">Synonym </span>
<span class="irlformrowlabel">Relevant Web Link</span>


{{{field|Synonym|input type=text|size=50|maxlength=256|placeholder=word1, word2, word3}}}
{{{field|RelatedURL|size=50|maxlength=300|placeholder=Enter full url https://}}}


Enter similar words separated by a comma.
Enter the full url of a related website.
</div>
</div>
<div class="irlformrow2">
<div class="irlformrow2">
<span class="irlformrowlabel">Image</span>
<span class="irlformrowlabel">Image</span>


{{{field|ImageFile|input type=text|uploadable|image preview|size=36|maxlength=256|placeholder=Enter file name or upload image.}}}
{{{field|ImageFile|input type=text with autocomplete|values from namespace=File|size=30|maxlength=300|uploadable|image preview|default filename=Glossary_{{#replace:{{lc: {{SUBPAGENAME}} }} |<nowiki> </nowiki>|_}}|placeholder=Enter file name or upload image}}}


If the image already exists on the server, enter the file name. ([{{canonicalurl: Special:ListFiles}} view server images])
If the image already exists on the server, enter the file name. ([{{canonicalurl: Special:ListFiles}} view server images])


If the image is not on this server, upload a '''.jpg''' image (maximum: 640px 500KB) from your device.
If the image is not on this server, upload an image (maximum: 800px 500KB) from your device.
</div>
<div class="irlformrow1">
<span class="irlformrowlabel">Abbreviation</span>
 
{{{field|Abb|size=15|maxlength=16|placeholder=ABB}}}
 
Enter an abbreviation.
</div>
<div class="irlformrow2">
<span class="irlformrowlabel">Poster</span>
 
{{{field|Poster|size=15|default=current user|restricted}}}
 
Auto-filled. Admin edit only
</div>
</div>
<div class="irlformrow1">
<div class="irlformrow1">
<span class="irlformrowlabel">Post Date</span>
<span class="irlformrowlabel">Admin Only Fields</span>


{{{field|Postdate|size=15|default={{LOCALTIMESTAMP}}|restricted}}}
<span class="irlformrowlabel">Poster: </span>{{{field|Poster|size=15|default=current user|restricted}}}


Auto-filled. Admin edit only
<span class="irlformrowlabel">Posted: </span>{{{field|Postdate|size=15|default={{LOCALTIMESTAMP}}|restricted}}}
</div>
<div class="irlformrow2">
<span class="irlformrowlabel">Term ID</span>


{{{field|TermID|input type=text|size=1|default={{#sub:{{SUBPAGENAME}}|0|1}}|restricted}}}
<span class="irlformrowlabel">Term ID: </span>{{{field|TermID|input type=text|size=4|default={{#sub:{{SUBPAGENAME}}|0|1}}|restricted}}}
 
Auto-filled. Admin edit only
</div>
</div>
{{{end template}}}
{{{end template}}}


'''Optional: Enter Page Content'''  
'''Optional: Enter Page Content'''  
{{{standard input|free text|input type=textarea|rows=10|editor=visualeditor}}}
{{{standard input|free text|input type=textarea|rows=10|editor=wikieditor}}}


<!-- {{{standard input|summary}}} -->
<!-- {{{standard input|summary}}} -->
{{{standard input|minor edit}}} {{{standard input|watch}}}
{{{standard input|minor edit}}} {{{standard input|watch}}}
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
</includeonly>
</includeonly>
<!--
{| class="wikitable"
! * Term:
| {{{field|Term|default={{lc: {{SUBPAGENAME}} }}|placeholder=Enter a term}}}
|-
! * Word Class Type:
| {{{field|Type|input type=dropdown|values=noun,verb,adjective,adverb,pronoun|default=noun|mandatory}}}
|-
! Pronunciation:
| {{{field|Pronunciation|placeholder=Enter the pronunciation.}}}
|-
! Audio File Name (.mp3):
| {{{field|AudioFile|size=40|default filename=glossary_{{lcfirst: {{SUBPAGENAME}} }}.mp3|placeholder=Upload audio pronunciation mp3. Enter File Name.}}}
|-
! * Definition:
| {{{field|Definition|input type=textarea|rows=6|cols=60|mandatory|placeholder=Enter a definition}}}
|-
! * Definition Source:
| {{{field|SourceURL|size=50|placeholder=Enter full url https://|mandatory}}}
|-
! Example Sentence:
| {{{field|Sentence|input type=text|size=50|placeholder=Enter a relevant sentence.}}}
|-
! Relevant Web Link:
| {{{field|RelatedURL|size=50|placeholder=Enter full url https://}}}
|-
! Synonym:
| {{{field|Synonym|input type=text|size=50|placeholder=Enter similar words seperated by a comma.}}}
|-
! Image:
| {{{field|ImageFile|input type=text|uploadable|image preview|size=36|maxlength=256|placeholder=Enter file name or upload image.}}}
|-
! Abbreviation:
| {{{field|Abb|placeholder=Enter an abbreviation}}}
|-
! Poster:
| {{{field|Poster|size=15|default=current user|restricted}}}
|-
! Postdate:
| {{{field|Postdate|size=15|default={{LOCALTIMESTAMP}}|restricted}}}
|-
! TermID:
| {{{field|TermID|input type=text|size=1|default={{#sub:{{SUBPAGENAME}}|0|1}}|restricted}}}
|}
-->

Latest revision as of 08:23, January 5, 2022


This is the "Definition" form. Enter a term to add it to the dictionary; If the term already exists, you will be sent to a form to edit that term.