Difference between revisions of "Template:Class infobox"

From Team Fortress Wiki
Jump to: navigation, search
(Removed no-longer needed switch, removed clearly untranslated strings. Removed an unused parameter. Added fall-through for languages which didn't translate the VidSplash image.)
Line 215: Line 215:
 
   }}''' {{!!}} {{{speed}}}
 
   }}''' {{!!}} {{{speed}}}
 
{{!}}-}}
 
{{!}}-}}
{{#ifexist: File:{{BASEPAGENAME}}VidSplash{{if lang | non-en = _{{SUBPAGENAME}}}}.png |  
+
{{#if:{{#ifexist: File:{{BASEPAGENAME}}VidSplash{{if lang | non-en = _{{SUBPAGENAME}}}}.png|¬}}{{#ifexist: File:{{BASEPAGENAME}}VidSplash|¬}} |
! colspan="2" {{!}} {{#switch:{{BASEPAGENAME}}
+
! colspan="2" {{!}} [[Meet the {{BASEPAGENAME}}{{if lang}}|{{lang
| Pyro
 
| #default = <!-- NULL -->
 
| Scout
 
| Soldier
 
| Demoman
 
| Heavy
 
| Engineer
 
| Medic
 
| Sniper
 
| Spy = [[Meet the {{BASEPAGENAME}}{{if lang}}|{{lang
 
 
   | en = Meet the {{Class name|{{BASEPAGENAME}}}}
 
   | en = Meet the {{Class name|{{BASEPAGENAME}}}}
 
   | ar = {{Class name|{{BASEPAGENAME}}}} إلتقي ب
 
   | ar = {{Class name|{{BASEPAGENAME}}}} إلتقي ب
Line 244: Line 234:
 
   | fi = Tapaa {{Class name|{{BASEPAGENAME}}}}
 
   | fi = Tapaa {{Class name|{{BASEPAGENAME}}}}
 
   | fr = À la rencontre du {{Class name|{{BASEPAGENAME}}}}
 
   | fr = À la rencontre du {{Class name|{{BASEPAGENAME}}}}
  | hu = Meet the {{Class name|{{BASEPAGENAME}}}}
 
  | it = Meet the {{Class name|{{BASEPAGENAME}}}}
 
  | ja = Meet the {{Class name|{{BASEPAGENAME}}}}
 
 
   | ko = {{Class name|{{BASEPAGENAME}}}}를 만나다
 
   | ko = {{Class name|{{BASEPAGENAME}}}}를 만나다
 
   | nl = Ontmoet de {{Class name|{{BASEPAGENAME}}}}
 
   | nl = Ontmoet de {{Class name|{{BASEPAGENAME}}}}
Line 277: Line 264:
 
   | zh-hant = 專訪{{Class name|{{BASEPAGENAME}}}}
 
   | zh-hant = 專訪{{Class name|{{BASEPAGENAME}}}}
 
   }}]]
 
   }}]]
}}
 
 
{{!}}-
 
{{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{BASEPAGENAME}}VidSplash{{{meetthe-suffix|}}}{{if lang | non-en = _{{SUBPAGENAME}}}}.png|300px|link=Meet the {{BASEPAGENAME}}{{if lang}}]]
+
 
 +
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{BASEPAGENAME}}VidSplash{{#ifexist: File:{{BASEPAGENAME}}VidSplash{{if lang | non-en = _{{SUBPAGENAME}}}}.png|{{if lang | non-en = _{{SUBPAGENAME}}}}}}.png|300px|link=Meet the {{BASEPAGENAME}}{{if lang}}]] <!-- If File:DemomanVidSplash_ru.png exists, it is used. Otherwise, File:DemomanVidSplash.png is used. -->
 
{{!}}- }}
 
{{!}}- }}
 
{{!}}}<includeonly>{{#switch:{{NAMESPACE}}
 
{{!}}}<includeonly>{{#switch:{{NAMESPACE}}

Revision as of 15:51, 9 April 2016

Class infobox
Class infobox
Basic Information

Template documentation [view] [edit] [history] [purge]

Usage

{{Infobox class
| class-name-override = 
| image = 
| imagewidth = 
| class = 
| type = 
| health = 
| armor = 
| armor-type = 
| speed = 
}}