Template:Definition/doc: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
 
Line 6: Line 6:
"label": "Term",
"label": "Term",
"description": "Glossary word. Auto-filled at form start.",
"description": "Glossary word. Auto-filled at form start.",
"type": "string"
"type": "string",
"required": true
},
},
"Abb": {
"Abb": {
Line 16: Line 17:
"label": "Definition",
"label": "Definition",
"description": "Glossary term definition.",
"description": "Glossary term definition.",
"type": "string"
"type": "string",
"required": true
},
},
"SourceURL": {
"SourceURL": {
"label": "Source URL",
"label": "Source URL",
"description": "Full url (https://...) of the definition source.",
"description": "Full url (https://...) of the definition source.",
"type": "url"
"type": "url",
"required": true
},
},
"Type": {
"Type": {
Line 65: Line 68:
"label": "Poster",
"label": "Poster",
"description": "Name of the original poster. Auto-filled.",
"description": "Name of the original poster. Auto-filled.",
"type": "string"
"type": "string",
"default": "current_user"
},
},
"Postdate": {
"Postdate": {
"label": "Posted",
"label": "Posted",
"description": "Original publish date. Admin Only",
"description": "Original publish date. Admin Only",
"type": "string"
"type": "string",
"default": "{{LOCALTIMESTAMP}}"
},
},
"TermID": {
"TermID": {

Latest revision as of 14:09, October 29, 2020

This is the Template Definition documentation page.

This template uses Page Forms to collect and store glossary word details, and create/edit a word's page.

Template parameters

ParameterDescriptionTypeStatus
TermTerm

Glossary word. Auto-filled at form start.

Stringrequired
AbbAbb

Term abbreviation.

Stringoptional
DefinitionDefinition

Glossary term definition.

Stringrequired
Source URLSourceURL

Full url (https://...) of the definition source.

URLrequired
Word CaseType

Word case of the term.

Stringoptional
PronunciationPronunciation

Pronunciation

Stringoptional
Audio FileAudioFile

Enter or upload a MP3 audio pronunciation.

Fileoptional
SynonymSynonym

Enter similar words separated by a comma.

Stringoptional
SentenceSentence

Enter an example sentence.

Stringoptional
ArticleArticle

Enter or select a Page Title from this site.

Page nameoptional
Web LinkRelatedURL

Enter the full url (https://...) of a relevant web site.

URLoptional
ImageImageFile

Enter or upload a relevant image file name.

Fileoptional
PosterPoster

Name of the original poster. Auto-filled.

Default
current_user
Stringoptional
PostedPostdate

Original publish date. Admin Only

Default
{{LOCALTIMESTAMP}}
Stringoptional
Term IDTermID

Term identifier for coding. Admin only.

Stringoptional