Template:Dictionary card: Difference between revisions
CamelCase9 (talk | contribs) templatedata |
CamelCase9 (talk | contribs) completed templatedata |
||
| Line 29: | Line 29: | ||
"default": "Word" | "default": "Word" | ||
}, | }, | ||
"credits": {}, | "credits": { | ||
"description": "Credit the creator(s) of the word and perhaps mention how it came about that this word was made, or any other author's notes. No strict rules on this parameter." | |||
}, | |||
"definition": { | "definition": { | ||
"description": "Fills main body of the card. Define the word. If it's a function: first write the concise definition; start it with the function's format, add a linebreak, then write a more complete, comprehensible explanation. Please see example.", | "description": "Fills main body of the card. Define the word. If it's a function: first write the concise definition; start it with the function's format, add a linebreak, then write a more complete, comprehensible explanation. Please see example.", | ||
"example": "''(`rop A`)'' Designates A as a proper noun. Must capitalize first letter of A.<br>Place {{W:rop}} directly before A to designate A as the name of something. A word '''must''' have its first letter capitalized '''if and only if''' {{W:rop}} comes before it.", | "example": "''(`rop A`)'' Designates A as a proper noun. Must capitalize first letter of A.<br>Place {{W:rop}} directly before A to designate A as the name of something. A word '''must''' have its first letter capitalized '''if and only if''' {{W:rop}} comes before it.", | ||
"type": "string" | "type": "string", | ||
"suggested": true | |||
} | } | ||
}, | }, | ||
| Line 41: | Line 44: | ||
"rootlinks", | "rootlinks", | ||
"type", | "type", | ||
" | "definition", | ||
" | "credits" | ||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Revision as of 15:36, 21 April 2026
Template for word dictionary listings. Adds the page to relevant categories as well, so please only use on word pages.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| rootlinks | rootlinks | This will be shown in big text as the title of the card. Use [[Template:Words]] ([[Template:W]] for short) surrounding each root in the word, so as to display each root separately and with a link. All lowercase, even if proper noun.
| String | required |
| type | type | Either (exactly:) "Word", "Function", or "Root". Word is the default so you may omit this for regular words.
| String | optional |
| definition | definition | Fills main body of the card. Define the word. If it's a function: first write the concise definition; start it with the function's format, add a linebreak, then write a more complete, comprehensible explanation. Please see example.
| String | suggested |
| credits | credits | Credit the creator(s) of the word and perhaps mention how it came about that this word was made, or any other author's notes. No strict rules on this parameter. | Unknown | optional |