Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:C/display: Difference between revisions

Template page
Undo revision 730605043 by 91.244.39.125 (talk)
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
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|={{{1}}}|{{{2}}}}}<noinclude>
{{#switch: +
 
|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}} = {{#switch: {{{c|}}}
Subtemplate to ''display'' a category name, with or without preceding by the namespace (as a part of the link);
  |i|n = {{i18n/namespace|c|link={{{v|}}}|lang={{{l|}}}}}|l=category|Category}}:
needs parameters 1, 2, 3, 4, case, lang, link
}}{{#switch: {{{2|}}}
 
||+|-|X|x|B|b = {{{1|}}}
</noinclude>
|#default = {{{2|}}}
}}<noinclude>{{Documentation
|1 = Template:C/doc
|content = Subtemplate (used by {{Tlx|C|category name|...}}) to ''display'' a category name, with or without preceding by the namespace (as a part of the link). Needs (possibly empty) parameters:
* 1 = (default label to display)
* 2 = (alternate label to display)
* 3
* 4
The following parameters are used only if "{1}{2}{3}{4}"="+" to prepend a prefix before the label:
* c = i or n
* l = lang
* v = link
}}</noinclude>

Latest revision as of 18:04, 20 November 2024

Template documentation[  purge ]

Subtemplate (used by {{C|category name|...}}) to display a category name, with or without preceding by the namespace (as a part of the link). Needs (possibly empty) parameters:

  • 1 = (default label to display)
  • 2 = (alternate label to display)
  • 3
  • 4

The following parameters are used only if "{1}{2}{3}{4}"="+" to prepend a prefix before the label:

  • c = i or n
  • l = lang
  • v = link
Cookies help us deliver our services. By using our services, you agree to our use of cookies.