Jump to content

Template:Dictionary card: Difference between revisions

attempt to fix bug with categorization
mNo edit summary
 
(18 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>
<templatedata>
<templatedata>
Line 29: 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