Template:C/display: Difference between revisions
Template page
More actions
m test |
m corr |
||
| Line 1: | Line 1: | ||
{{#switch:{{{2|}}} | {{#switch:{{{2|}}} | ||
|={{#switch:+|{{{3}}}|{{{4}}}=Category:{{{1}}}}} | |={{#switch:+|{{{3}}}|{{{4}}}=Category:{{{1}}}|#default={{{1}}}}} | ||
|-={{{1}}} | |-={{{1}}} | ||
|+=Category:{{{1}}} | |+=Category:{{{1}}} | ||
|#default={{#switch:+|{{{3}}}|{{{4}}}=Category:{{{2}}}}}}}<noinclude> | |#default={{#switch:+|{{{3}}}|{{{4}}}=Category:{{{2}}}|#default={{{1}}}}}}}<noinclude> | ||
Subtemplate to ''display'' a category name, with or without preceding by the namespace; | Subtemplate to ''display'' a category name, with or without preceding by the namespace; | ||
Revision as of 18:13, 8 January 2018
{{{1}}}
Subtemplate to display a category name, with or without preceding by the namespace; needs parameters 1, 2, 3, 4