Jump to content

Template:Dictionary card: Difference between revisions

added preview
mNo edit summary
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>__NOTOC__<div style="color:black; border:4px solid grey; background: lightgrey; padding:10px;">
<onlyinclude>__NOTOC__<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}}}|{{{type|Word}}}]]</span>
<span style="font-size: 3em;">{{{rootlinks|{{W|su}}{{W|teni}}{{W|yana}}}}} — [[:Category:{{{type|Word}}}s|{{{type|Word}}}]]</span>


{{{definition|* ''No definition has been written for this word.''}}}
{{{definition|* ''No definition has been written for this word.''}}}
{{#if: {{{credits|}}}|----
{{#if: {{{credits|}}}|----
'''Credits:''' ''{{{credits|}}}}}''
'''Credits:''' ''{{{credits|}}}''}}
</div>
</div>
[[Category:Words]]
<includeonly>[[Category:Dictionary]]
[[Category:{{#switch: {{{type|Word}}}|Function:Functions|Root:Roots|Words}}]]</includeonly>
[[Category:{{{type|Word}}}s]]
[[Category:{{#ifeq:{{{type|Word}}}|Root|Words|Dictionary}}]]</includeonly>
</onlyinclude>
<noinclude>
<noinclude>
{{Dictionary card}}
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"rootlinks": {
"rootlinks": {
"description": "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.",
"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}}",
"example": "{{W|su}}{{W|teni}}{{W|yana}}",
"type": "string",
"type": "string",
"default": "{{W:su}}{{W:teni}}{{W:yana}}",
"default": "{{W|su}}{{W|teni}}{{W|yana}}",
"required": true
"required": true
},
},
Line 30: Line 31:
},
},
"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."
"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": {
"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": "(<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",
"type": "string",
"suggested": true
"suggested": true