Form:Definition: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
 
(48 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.
Enter a term to add it to the dictionary;
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.
If the term already exists, you will be sent to a form to edit that term.
{{#forminput:form=Definition|size=60}}
 
</noinclude><includeonly>
{{#forminput:form=Definition
|size=30
|button text=Submit Term
|query string=namespace=Glossary
|autocomplete on namespace=Glossary
|placeholder= Add a Term
}}
</noinclude>
<includeonly>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></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}}}
{| class="wikitable"
<div class="irlbody">
! TermID:
<div class="irlformpage">
| {{{field|TermID|input type=text|default= {{LOCALTIMESTAMP}} |size=15|restricted|hidden}}}
<div class="irlformheader">
|-
<div class="irlformheadertitle">Indian River Lagoon News Link Form</div>
! *Term:
<div class="irlformheadertext">&#42;Fields are required.</div>
| {{{field|Term|default={{SUBPAGENAME}}|placeholder=Enter a term}}}
</div>
|-
<div class="irlformrow1">
! Abbreviation:
<span class="irlformrowlabel">Term</span>
| {{{field|Abb|placeholder=Enter an abbreviation}}}
 
|-
{{{field|Term|size=50|default={{lc: {{SUBPAGENAME}} }}|restricted}}}
! *Type:  
 
| {{{field|Type|input type=dropdown|values=noun,verb,adjective,adverb,pronoun|default=noun|mandatory}}}
<span class="irlformrowlabel">The Term is preset at the form start. Admin edit only.</span>
|-
 
! Pronunciation:
Return to the start of the form if you need to change the term.
| {{{field|Pronunciation|placeholder=Enter the pronunciation}}}
</div>
|-
<div class="irlformrow2">
! AudioFile:
<span class="irlformrowlabel">Abbreviation: </span>{{{field|Abb|size=8|maxlength=16|placeholder=ABB}}}
| {{{field|AudioFile|size=40|placeholder=Enter an audio file name. File must be uploaded to the server first.}}}
 
|-
Optional: Enter an abbreviation.
! *Definition:
</div>
| {{{field|Definition|input type=textarea|rows=4|cols=100|mandatory|placeholder=Enter a definition}}}
<div class="irlformrow1">
|-
<span class="irlformrowlabel">* Definition</span>
! Sentence:
 
| {{{field|Sentence|input type=text|size=80|placeholder=Enter an example sentence}}}
{{{field|Definition|input type=textarea|rows=6|maxlength=512|mandatory|placeholder=Enter a definition}}}
|-
 
! Synonym:
Enter a definition under 512 characters. Additional text can be entered in the Page Content area below.
| {{{field|Synonym|input type=text|size=80|placeholder=Enter synonyms}}}
</div>
|-
<div class="irlformrow2">
! SourceURL:
<span class="irlformrowlabel">* Definition Source URL</span>
| {{{field|SourceURL|size=100|placeholder=Enter definition source url}}}
 
|-
{{{field|SourceURL|size=50|maxlength=300|placeholder=Enter full url https://|mandatory}}}
! RelatedURL:
 
| {{{field|RelatedURL|size=100|placeholder=Enter related page url}}}
Enter the full url of the definition's source.
|-
</div>
! ImageFile:  
<div class="irlformrow1">
| {{{field|ImageFile|size=40|placeholder=Enter an image file name. File must be uploaded to the server first.}}}
<span class="irlformrowlabel">* Word Class: </span>{{{field|Type|input type=dropdown|values=noun,verb,adjective,adverb,pronoun|default=noun}}}
|-
 
! Poster:  
Select a word class type.
| {{{field|Poster|size=15|default=current user|restricted}}}
</div>
|-
<div class="irlformrow2">
! Postdate:  
<span class="irlformrowlabel">Pronunciation</span>
| {{{field|Postdate|size=15|default={{LOCALTIMESTAMP}}|restricted}}}
 
|}
{{{field|Pronunciation|size=36|maxlength=300|placeholder=Enter the pronunciation}}}
</div>
<div class="irlformrow1">
<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}}}
 
If the 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''' audio file from your device.
</div>
<div class="irlformrow2">
<span class="irlformrowlabel">Synonym </span>
 
{{{field|Synonym|input type=text|size=50|maxlength=300|placeholder=word1, word2, word3}}}
 
Enter similar words separated by a comma.
</div>
<div class="irlformrow1">
<span class="irlformrowlabel">Example Sentence</span>
 
{{{field|Sentence|input type=text|size=50|maxlength=300|placeholder=Enter an example sentence}}}
</div>
<div class="irlformrow2">
<span class="irlformrowlabel">Article</span>
 
Select a related article from this site.
 
{{{field|Article|input=text|size=36|placeholder=Select a Related Article Title}}}
</div>
<div class="irlformrow1">
<span class="irlformrowlabel">Relevant Web Link</span>
 
{{{field|RelatedURL|size=50|maxlength=300|placeholder=Enter full url https://}}}
 
Enter the full url of a related website.
</div>
<div class="irlformrow2">
<span class="irlformrowlabel">Image</span>
 
{{{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 is not on this server, upload an image (maximum: 800px 500KB) from your device.
</div>
<div class="irlformrow1">
<span class="irlformrowlabel">Admin Only Fields</span>
 
<span class="irlformrowlabel">Poster: </span>{{{field|Poster|size=15|default=current user|restricted}}}
 
<span class="irlformrowlabel">Posted: </span>{{{field|Postdate|size=15|default={{LOCALTIMESTAMP}}|restricted}}}
 
<span class="irlformrowlabel">Term ID: </span>{{{field|TermID|input type=text|size=4|default={{#sub:{{SUBPAGENAME}}|0|1}}|restricted}}}
</div>
{{{end template}}}
{{{end template}}}


<!-- '''Optional: Enter "Read More" Content'''  
'''Optional: Enter Page Content'''  
{{{standard input|free text|input type=textarea|rows=10|cols=120|editor=wikieditor}}}
{{{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>

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.