Form:Definition: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
 
(4 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 30: Line 31:


Return to the start of the form if you need to change the term.
Return to the start of the form if you need to change the term.
</div>
<div class="irlformrow2">
<span class="irlformrowlabel">Abbreviation: </span>{{{field|Abb|size=8|maxlength=16|placeholder=ABB}}}
Optional: Enter an abbreviation.
</div>
</div>
<div class="irlformrow1">
<div class="irlformrow1">
<span class="irlformrowlabel">Abbreviation</span>
<span class="irlformrowlabel">* Definition</span>


{{{field|Abb|size=15|maxlength=16|placeholder=ABB}}}
{{{field|Definition|input type=textarea|rows=6|maxlength=512|mandatory|placeholder=Enter a definition}}}


Enter an abbreviation.
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">* Word Class Type</span>
<span class="irlformrowlabel">* Definition Source URL</span>


{{{field|Type|input type=dropdown|values=noun,verb,adjective,adverb,pronoun|default=noun|mandatory}}}
{{{field|SourceURL|size=50|maxlength=300|placeholder=Enter full url https://|mandatory}}}


Select a word class type.
Enter the full url of the definition's source.
</div>
</div>
<div class="irlformrow1">
<div class="irlformrow1">
<span class="irlformrowlabel">Pronunciation</span>
<span class="irlformrowlabel">* Word Class: </span>{{{field|Type|input type=dropdown|values=noun,verb,adjective,adverb,pronoun|default=noun}}}


{{{field|Pronunciation|size=36|maxlength=256|placeholder=Enter the pronunciation}}}
Select a word class type.
</div>
</div>
<div class="irlformrow2">
<div class="irlformrow2">
<span class="irlformrowlabel">Audio File Name</span>
<span class="irlformrowlabel">Pronunciation</span>
 
{{{field|AudioFile|size=36|maxlength=256|default filename=glossary_{{lcfirst: {{SUBPAGENAME}} }}.mp3|placeholder=Enter mp3 file name}}}
 
If the mp3 audio file already exists on the server, enter the file name. ([{{canonicalurl: Special:ListFiles}} view server files])


If the file is not on the server, upload a '''.mp3''' file from your device.
{{{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>
{{{field|SourceURL|size=50|maxlength=256|placeholder=Enter full url https://|mandatory}}}
Enter the full url of the definition's source.
</div>
<div class="irlformrow1">
<span class="irlformrowlabel">Synonym </span>
<span class="irlformrowlabel">Synonym </span>


{{{field|Synonym|input type=text|size=50|maxlength=256|placeholder=word1, word2, word3}}}
{{{field|Synonym|input type=text|size=50|maxlength=300|placeholder=word1, word2, word3}}}


Enter similar words separated by a comma.
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">Article: </span>
<span class="irlformrowlabel">Article</span>


Select a related article from this site.
Select a related article from this site.
Line 94: Line 89:
{{{field|Article|input=text|size=36|placeholder=Select a Related Article Title}}}
{{{field|Article|input=text|size=36|placeholder=Select a Related Article Title}}}
</div>
</div>
 
<div class="irlformrow1">
<div class="irlformrow2">
<span class="irlformrowlabel">Relevant Web Link</span>
<span class="irlformrowlabel">Relevant Web Link</span>


{{{field|RelatedURL|size=50|maxlength=256|placeholder=Enter full url https://}}}
{{{field|RelatedURL|size=50|maxlength=300|placeholder=Enter full url https://}}}


Enter the full url of a related website.
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>
<div class="irlformrow1">
<span class="irlformrowlabel">Admin Only Fields</span>


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


Line 119: Line 113:


<span class="irlformrowlabel">Term ID: </span>{{{field|TermID|input type=text|size=4|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}}}

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.