Difference between revisions of "Template:Item set infobox"

From Team Fortress Wiki
Jump to: navigation, search
m (found it *hopes* added de = "None" for /de = "Keiner")
(test for displaytitle in custom language,)
Line 164: Line 164:
 
   | de = Keiner
 
   | de = Keiner
 
}}}}}
 
}}}}}
 +
<!--
 +
 +
// Automatic display title.
 +
// Its value comes from the "name" parameter (so the same name is shown for the title of the infobox, displayed title of the page
 +
// and the item name in the loadout stats).
 +
 +
-->{{#ifeq:{{{DISPLAYTITLE|{{{displaytitle|}}}}}} | off
 +
| {{ns:0}}<!-- Ignore if 'displaytitle' has been set to 'off'. -->
 +
| {{#if:{{{name|}}}
 +
  | {{DISPLAYTITLE:{{{displaytitle|{{{DISPLAYTITLE|{{{name|}}}}}}}}}}}
 +
  | {{if lang| non-en = {{DISPLAYTITLE:{{item name|{{BASEPAGENAME}}}}}}| en = {{ns:0}}}}<!-- Ignore if 'name' isn't defined (majority of English pages). -->
 +
  }}
 +
}}<!--
 +
 
|}<includeonly>{{lang cat|Item sets}}</includeonly><noinclude>{{clr}}
 
|}<includeonly>{{lang cat|Item sets}}</includeonly><noinclude>{{clr}}
 
{{ts|ar, cs, ko, de, fr, fi, es, it, nl, pl, pt-br, ru, sv, tr}}
 
{{ts|ar, cs, ko, de, fr, fi, es, it, nl, pl, pt-br, ru, sv, tr}}

Revision as of 01:30, 25 April 2012