Form:Definition: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
Line 11: Line 11:
|placeholder= Add a Term
|placeholder= Add a Term
}}
}}
</noinclude>
</noinclude>
<includeonly>
<includeonly>
Line 17: Line 16:
<div class="irlheader"><h1>Indian River Lagoon Dictionary</h1><p>[[Glossary:Terms|<Back to Terms and Definitions]]</p><p>Fill out the form and press save page. * Fields are required.</p><p>Review your post and if needed, press "enter with form" to make changes.</p></div>
<div class="irlheader"><h1>Indian River Lagoon Dictionary</h1><p>[[Glossary:Terms|<Back to Terms and Definitions]]</p><p>Fill out the form and press save page. * Fields are required.</p><p>Review your post and if needed, press "enter with form" to make changes.</p></div>
{{{for template|definition}}}
{{{for template|definition}}}
<div class="irlbody">
<div class="irlbody">
<div class="irlformpage">
<div class="irlformpage">
Line 26: Line 24:
<div class="irlformrow1">
<div class="irlformrow1">
<span class="irlformrowlabel">Term</span>
<span class="irlformrowlabel">Term</span>
{{{field|Term|size=50|default={{lc: {{SUBPAGENAME}} }}|restricted}}}
{{{field|Term|size=50|default={{lc: {{SUBPAGENAME}} }}|restricted}}}


Line 34: Line 33:
<div class="irlformrow2">
<div class="irlformrow2">
<span class="irlformrowlabel">Word Class Type</span>
<span class="irlformrowlabel">Word Class Type</span>
{{{field|Type|input type=dropdown|values=noun,verb,adjective,adverb,pronoun|default=noun|mandatory}}}
{{{field|Type|input type=dropdown|values=noun,verb,adjective,adverb,pronoun|default=noun|mandatory}}}
</div>
</div>
<div class="irlformrow1">
<div class="irlformrow1">
<span class="irlformrowlabel">Pronunciation</span>
<span class="irlformrowlabel">Pronunciation</span>
{{{field|Pronunciation|size=36|maxlength=256|placeholder=Enter pronunciation}}}
{{{field|Pronunciation|size=36|maxlength=256|placeholder=Enter pronunciation}}}
</div>
</div>
<div class="irlformrow2">
<div class="irlformrow2">
<span class="irlformrowlabel">Audio File Name</span>
<span class="irlformrowlabel">Audio File Name</span>
{{{field|AudioFile|size=36|maxlength=256|default filename=glossary_{{lcfirst: {{SUBPAGENAME}} }}.mp3|placeholder=Enter mp3 file name}}}
{{{field|AudioFile|size=36|maxlength=256|default filename=glossary_{{lcfirst: {{SUBPAGENAME}} }}.mp3|placeholder=Enter mp3 file name}}}


Line 50: Line 52:
<div class="irlformrow1">
<div class="irlformrow1">
<span class="irlformrowlabel">Definition</span>
<span class="irlformrowlabel">Definition</span>
{{{field|Definition|input type=textarea|rows=6|cols=60|mandatory|placeholder=Enter a definition}}}
{{{field|Definition|input type=textarea|rows=6|cols=60|mandatory|placeholder=Enter a definition}}}
</div>
</div>
<div class="irlformrow2">
<div class="irlformrow2">
<span class="irlformrowlabel">Definition Source</span>
<span class="irlformrowlabel">Definition Source</span>
{{{field|SourceURL|size=50|maxlength=256|placeholder=Enter full url https://|mandatory}}}
{{{field|SourceURL|size=50|maxlength=256|placeholder=Enter full url https://|mandatory}}}
</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=256|placeholder=Enter an example sentence.}}}
</div
</div
<div class="irlformrow2">
<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=256|placeholder=Enter full url https://}}}
</div>
</div>
<div class="irlformrow1">
<div class="irlformrow1">
<span class="irlformrowlabel">Synonym </span>
<span class="irlformrowlabel">Synonym </span>
{{{field|Synonym|input type=text|size=50|maxlength=256|placeholder=Enter similar words separated by a comma.}}}
{{{field|Synonym|input type=text|size=50|maxlength=256|placeholder=Enter similar words separated by a comma.}}}
</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|uploadable|image preview|size=36|maxlength=256|placeholder=Enter file name or upload image.}}}


Line 78: Line 86:
<div class="irlformrow1">
<div class="irlformrow1">
<span class="irlformrowlabel">Abbreviation</span>
<span class="irlformrowlabel">Abbreviation</span>
{{{field|Abb|size=16|maxlength=16|placeholder=Enter an abbreviation}}}
{{{field|Abb|size=16|maxlength=16|placeholder=Enter an abbreviation}}}
</div>
</div>
<div class="irlformrow2">
<div class="irlformrow2">
<span class="irlformrowlabel">Poster</span>
<span class="irlformrowlabel">Poster</span>
{{{field|Poster|size=15|default=current user|restricted}}}
{{{field|Poster|size=15|default=current user|restricted}}}
</div>
</div>
<div class="irlformrow1">
<div class="irlformrow1">
<span class="irlformrowlabel">Post Date</span>
<span class="irlformrowlabel">Post Date</span>
{{{field|Postdate|size=15|default={{LOCALTIMESTAMP}}|restricted}}}
{{{field|Postdate|size=15|default={{LOCALTIMESTAMP}}|restricted}}}
</div>
</div>
<div class="irlformrow2">
<div class="irlformrow2">
<span class="irlformrowlabel">Term ID</span>
<span class="irlformrowlabel">Term ID</span>
{{{field|TermID|input type=text|size=1|default={{#sub:{{SUBPAGENAME}}|0|1}}|restricted}}}
{{{field|TermID|input type=text|size=1|default={{#sub:{{SUBPAGENAME}}|0|1}}|restricted}}}
</div>
</div>

Revision as of 12:34, October 18, 2020

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.