Difference between revisions of "Template:Mission infobox"

From Team Fortress Wiki
Jump to: navigation, search
(auto displaytitle)
(Undo edit by Stormbird (Talk) (1130949))
Line 1: Line 1:
<!--
 
 
// Automatic display title.
 
// Its value comes from the "mission-name" parameter (so the same name is shown for the title of the infobox,
 
// displayed title of the page and the mission name in the table).
 
 
-->{{#ifeq:{{{DISPLAYTITLE|{{{displaytitle|}}}}}} | off
 
| {{ns:0}}<!-- Ignore if 'displaytitle' has been set to 'off'. -->
 
| {{#if:{{{mission-name|}}}
 
  | {{DISPLAYTITLE:{{{displaytitle|{{{DISPLAYTITLE|{{{mission-name|}}}}}}}}}}}
 
  | {{if lang| non-en = {{DISPLAYTITLE:{{common string|{{BASEPAGENAME}}}}}}| en = {{ns:0}}}}<!-- Ignore if 'mission-name' isn't defined. -->
 
  }}
 
}}
 
 
 
{| class="infobox" width="300px"
 
{| class="infobox" width="300px"
 
! colspan="2" style="background-color:#F3A957;" | {{{mission-name|{{{map-name|{{{NAME|{{{name|{{BASEPAGENAME}}}}}}}}}}}}}}
 
! colspan="2" style="background-color:#F3A957;" | {{{mission-name|{{{map-name|{{{NAME|{{{name|{{BASEPAGENAME}}}}}}}}}}}}}}

Revision as of 09:47, 25 August 2012

Mission infobox
Basic Information
Name {{{mission-name}}}
Map {{{mission-map}}}
Waves {{{mission-waves}}}
Challenge mode {{{mission-mode}}}
Difficulty {{{mission-diff}}}
Starting money {{{mission-startingmoney}}}

This needs to be redone in a way that's not crappy like mine.