Template:Dictionary card: Difference between revisions
Appearance
CamelCase9 (talk | contribs) mostly completed |
CamelCase9 (talk | contribs) mNo edit summary |
||
| (29 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
< | <onlyinclude>__NOTOC__<div style="color:black; border:4px solid grey; background: lightgrey; padding:10px;"> | ||
<div style="color:black; border:4px solid grey; background: lightgrey; padding:10px;"> | <span style="font-size: 3em;">{{{rootlinks|{{W|su}}{{W|teni}}{{W|yana}}}}} — [[:Category:{{{type|Word}}}s|{{{type|Word}}}]]</span> | ||
<span style="font-size: 3em;">{{{ rootlinks|{{W|su}}{{W|teni}}{{W|yana}}}}} — [[:Category:{{{type|Word}}}|{{{type|Word}}}]]</span> | |||
{{{ | {{{definition|* ''No definition has been written for this word.''}}} | ||
{{#if: {{{credits|}}}|---- | {{#if: {{{credits|}}}|---- | ||
'''Credits:''' ''{{{credits|}}}}} | '''Credits:''' ''{{{credits|}}}''}} | ||
</div> | </div> | ||
[[Category: | <includeonly>[[Category:Dictionary]] | ||
[[Category:{{# | [[Category:{{{type|Word}}}s]] | ||
[[Category:{{#ifeq:{{{type|Word}}}|Root|Words|Dictionary}}]]</includeonly> | |||
</onlyinclude> | |||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"rootlinks": { | |||
"description": "This will be shown in big text as the title of the card. Use the 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.", | |||
"example": "{{W|su}}{{W|teni}}{{W|yana}}", | |||
"type": "string", | |||
"default": "{{W|su}}{{W|teni}}{{W|yana}}", | |||
"required": true | |||
}, | |||
"type": { | |||
"description": "Either (exactly:) \"Word\", \"Function\", or \"Root\". Word is the default so you may omit this for regular words.", | |||
"example": "Word", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Word" | |||
], | |||
"default": "Word" | |||
}, | |||
"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. Recommended: Use Template:U and Template:Discord source.", | |||
"type": "string" | |||
}, | |||
"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.", | |||
"example": "(<code>rop A</code>) 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", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "Template for word dictionary listings. Adds the page to relevant categories as well, so please only use on word pages.", | |||
"format": "block", | |||
"paramOrder": [ | |||
"rootlinks", | |||
"type", | |||
"definition", | |||
"credits" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> | |||