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