Ctg: Difference between revisions
From Dragon Mania Legends (DML) Wiki
CrystalClear (talk | contribs) (Docs to subpage) |
CrystalClear (talk | contribs) (<includeonly> since it has examples) |
||
Line 1: | Line 1: | ||
[[:Category:{{{1}}}|{{#if:{{{2|}}}|{{{2}}}|{{{1}}} }}]]<noinclude> | <includeonly>[[:Category:{{{1}}}|{{#if:{{{2|}}}|{{{2}}}|{{{1}}} }}]]</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
<!-- Add categories to the /doc subpage --> | <!-- Add categories to the /doc subpage --> | ||
</noinclude> | </noinclude> |
Latest revision as of 16:34, 12 June 2023
Template documentation |
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this template's documentation. (About template documentation) |
Example(s)
{{ctg|Dragons}}
: Dragons
{{ctg|Dragons|}}
: Dragons
{{ctg|Dragons|here be Dragons}}
: here be Dragons
Links to categories by their name with an alternative text label (optional). Syntax: {{ctg|Dragons}} or {{ctg|Dragons|Dragon}}
Parameter | Description | Type | Status | |
---|---|---|---|---|
Category Name | 1 | Enter the name of the category, without the Category prefix.
| String | required |
Text Override | 2 | If you need the category text label to be different than the category name, enter different wording, otherwise leave this blank.
| String | optional |