Difference between revisions of "Template:NewInfobox GameMode"
Jump to navigation
Jump to search
(I had broke it again, trying a new fix.) |
(Fixing another glitch) |
||
| Line 53: | Line 53: | ||
<div class="infobox-cell-2 infobox-description">Official Mode:</div> | <div class="infobox-cell-2 infobox-description">Official Mode:</div> | ||
<div class="infobox-cell-2">{{#switch:{{lc:{{{official|}}}}} | <div class="infobox-cell-2">{{#switch:{{lc:{{{official|}}}}} | ||
| − | |1=[[File:CorrectIcon.png|19px|link=Category:Official Modes]]{{# | + | |1=[[File:CorrectIcon.png|19px|link=Category:Official Modes]]{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Official Modes]]}} |
| − | |#default=[[File:IncorrectIcon.png|19px|link=Category:Unofficial Modes]]{{# | + | |#default=[[File:IncorrectIcon.png|19px|link=Category:Unofficial Modes]]{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Unofficial Modes]]}} |
}}</div> | }}</div> | ||
</div><!-- | </div><!-- | ||
Latest revision as of 14:57, 21 June 2017
(view - edit) Documentation
NewInfobox GameMode
Badlands
Mode Information
Full name:
5 Control Point
First Released:
2007
Competitive Information
Game Modes:
League Popularity:
Staple
Links
This is just a test
This is a template to be used on game modes.
Example
The code:
{{NewInfobox GameMode
|image= badlands.jpg
|caption= Badlands
|fullname= 5 Control Point
|released= 2007
|official= 1
|gamemode1= 6v6
|gamemode2= 4v4
|gamemode3= Hl
|popularity= staple
|workshop= comp.tf
|officialwiki= badlands
|officialwiki2= 5cp
|footnotes= This is just a test }}