Template:C/display: Difference between revisions
Template page
More actions
m Test |
m expansion |
||
| Line 1: | Line 1: | ||
{{#switch:+|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}={{#switch:{{{case}}}|i|n={{i18n/namespace|c|link={{{link|}}}|lang={{{lang|}}}}}|l=category|Category}}:}}{{#switch:{{{2|}}}|+|-|X|x|B|={{{1}}}|{{{2}}}}}<noinclude> | {{#switch:+|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}={{#switch:{{{case}}}|i|n={{i18n/namespace|c|link={{{link|}}}|lang={{{lang|}}}}}|l=category|Category}}:}}{{#switch:{{{2|}}}|+|-|X|x|B|b|={{{1}}}|{{{2}}}}}<noinclude> | ||
Subtemplate to ''display'' a category name, with or without preceding by the namespace (as a part of the link); | Subtemplate to ''display'' a category name, with or without preceding by the namespace (as a part of the link); | ||
Revision as of 05:11, 10 August 2019
{{{1}}}
Subtemplate to display a category name, with or without preceding by the namespace (as a part of the link); needs parameters 1, 2, 3, 4, case, lang, link