Jump to content

Template:Dictionary card: Difference between revisions

From Suteniyana Wiktionary
fix categorization to exclude the template's page
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
{{{definition|* ''No definition has been written for this word.''}}}
{{{definition|* ''No definition has been written for this word.''}}}
{{#if: {{{credits|}}}|----
{{#if: {{{credits|}}}|----
'''Credits:''' ''{{{credits|}}}}}''<br><references />
'''Credits:''' ''{{{credits|}}}''}}
</div>
</div>
<includeonly>[[Category:Dictionary]]
<includeonly>[[Category:Dictionary]]
Line 31: 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. Recommended: Use Template:U and Template:Discord source."
"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": {

Latest revision as of 17:45, 22 April 2026

suteniyanaWord

  • No definition has been written for this word.


Template for word dictionary listings. Adds the page to relevant categories as well, so please only use on word pages.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
rootlinksrootlinks

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.

Default
{{W|su}}{{W|teni}}{{W|yana}}
Example
{{W|su}}{{W|teni}}{{W|yana}}
Stringrequired
typetype

Either (exactly:) "Word", "Function", or "Root". Word is the default so you may omit this for regular words.

Suggested values
Word
Default
Word
Example
Word
Stringoptional
definitiondefinition

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.
Stringsuggested
creditscredits

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.

Stringoptional