Template:Dictionary card: Difference between revisions
CamelCase9 (talk | contribs) No edit summary |
CamelCase9 (talk | contribs) No edit summary |
||
| Line 2: | Line 2: | ||
<span style="font-size: 3em;">{{{ rootlinks|{{W|su}}{{W|teni}}{{W|yana}}}}} — [[:Category:{{{type|Word}}}|{{{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|}}}}}'' | ||
| Line 9: | Line 9: | ||
[[Category:{{#switch: {{{type|Word}}}|Function:Functions|Root:Roots|Words}}]]</includeonly> | [[Category:{{#switch: {{{type|Word}}}|Function:Functions|Root:Roots|Words}}]]</includeonly> | ||
<noinclude> | <noinclude> | ||
{{ | __NOTOC__<div style="color:black; border:4px solid grey; background: lightgrey; padding:10px;"> | ||
<span style="font-size: 3em;">{{W|su}}{{W|teni}}{{W|yana}} — [[:Category:Word|Word]]</span> | |||
* ''No definition has been written for this word.'' | |||
{{#if: |---- | |||
'''Credits:''' ''}}'' | |||
</div> | |||
[[Category:Words]] | |||
[[Category:{{#switch: Word|Function:Functions|Root:Roots|Words}}]] | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Revision as of 15:39, 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 |