Template:C/display: Difference between revisions
Template page
More actions
m simplified |
m test |
||
| Line 1: | Line 1: | ||
{{#switch:+|{{{2|}}}|{{{3|}}}|{{{4|}}}=Category:}}{{#switch:{{{2|}}}|+|-|X|x|B|={{{1}}}|{{{2}}}}}<noinclude> | {{#switch:+|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}={{#switch:{{{case}}}|i|n={{i18n/namespace|c|link=no|lang={{{lang|}}}}}|l=category|Category}}:}}{{#switch:{{{2|}}}|+|-|X|x|B|={{#switch:{{{1|}}}|+|-|=???|{{{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); | ||
needs parameters 1, 2, 3, 4 | needs parameters 1, 2, 3, 4, case, lang | ||
</noinclude> | </noinclude> | ||
Revision as of 11:57, 25 May 2019
???}
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