Template:C/display: Difference between revisions
Template page
More actions
m Protected "Template:C/display": Widely used template ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)) |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{#switch:+|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}={{#switch:{{{c}}}|i|n={{i18n/namespace|c|link={{{v|}}}|lang={{{l|}}}}}|l=category|Category}}:}}{{#switch:{{{2|}}}|+|-|X|x|B|b | {{#switch: + | ||
|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}} = {{#switch: {{{c|}}} | |||
|i|n = {{i18n/namespace|c|link={{{v|}}}|lang={{{l|}}}}}|l=category|Category}}: | |||
}}{{#switch: {{{2|}}} | |||
||+|-|X|x|B|b = {{{1|}}} | |||
|#default = {{{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, case, lang, link | needs parameters 1, 2, 3, 4, case, lang, link | ||
</noinclude> | </noinclude> | ||
Revision as of 16:15, 13 September 2023
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