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 13: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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Term | Term | Glossary word. Auto-filled at form start. | String | required |
Abb | Abb | Term abbreviation. | String | optional |
Definition | Definition | Glossary term definition. | String | required |
Source URL | SourceURL | Full url (https://...) of the definition source. | URL | required |
Word Case | Type | Word case of the term. | String | optional |
Pronunciation | Pronunciation | Pronunciation | String | optional |
Audio File | AudioFile | Enter or upload a MP3 audio pronunciation. | File | optional |
Synonym | Synonym | Enter similar words separated by a comma. | String | optional |
Sentence | Sentence | Enter an example sentence. | String | optional |
Article | Article | Enter or select a Page Title from this site. | Page name | optional |
Web Link | RelatedURL | Enter the full url (https://...) of a relevant web site. | URL | optional |
Image | ImageFile | Enter or upload a relevant image file name. | File | optional |
Poster | Poster | Name of the original poster. Auto-filled.
| String | optional |
Posted | Postdate | Original publish date. Admin Only
| String | optional |
Term ID | TermID | Term identifier for coding. Admin only. | String | optional |