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
mNo edit summary
m test
Line 1: Line 1:
{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}<noinclude>
{{#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}}}}} -->


{{#switch:{{{2}}}
</noinclude>
|={{#switch:+|{{{3}}}|{{{4}}}=Category:{{{1}}}}}
|-={{{1}}}
|+=Category:{{{1}}}
|#default={{#switch:+|{{{3}}}|{{{4}}}=Category:{{{2}}}}}}}</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


Cookies help us deliver our services. By using our services, you agree to our use of cookies.