Difference between revisions of "Template:NewInfobox GameMode"
Jump to navigation
Jump to search
(I should have put this in a sandbox, but oh well. Only partially done, feel free to make needed changes.) |
(Fixing another glitch) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
− | <div class="fo-nttax-infobox-wrapper"> | + | --><div class="fo-nttax-infobox-wrapper"> |
<div class="fo-nttax-infobox"> | <div class="fo-nttax-infobox"> | ||
<div> | <div> | ||
− | <div class="infobox-header"><span class="infobox-buttons"><nowiki>[</nowiki>[{{SERVER}}{{localurl:{{FULLPAGENAME}}|action=edit§ion=0}} e]<nowiki>]</nowiki><nowiki>[</nowiki>[[Template:NewInfobox Gamemode|h]]<nowiki>]</nowiki></span> | + | <div class="infobox-header"><span class="infobox-buttons"><nowiki>[</nowiki>[{{SERVER}}{{localurl:{{FULLPAGENAME}}|action=edit§ion=0}} e]<nowiki>]</nowiki><nowiki>[</nowiki>[[Template:NewInfobox Gamemode|h]]<nowiki>]</nowiki></span> {{PAGENAME}}</div> |
</div><!-- | </div><!-- | ||
Line 23: | Line 23: | ||
}}<!-- | }}<!-- | ||
− | -->{{#if:{{{fullname|}}}{{{released|}}}{{{official|}}} | + | -->{{#if:{{{fullname|}}}{{{released|}}}{{{official|}}}| |
<div> | <div> | ||
<div class="infobox-header infobox-header-2">Mode Information</div> | <div class="infobox-header infobox-header-2">Mode Information</div> | ||
Line 43: | Line 43: | ||
<div> | <div> | ||
<div class="infobox-cell-2 infobox-description">First Released:</div> | <div class="infobox-cell-2 infobox-description">First Released:</div> | ||
− | <div class="infobox-cell-2">{{{ | + | <div class="infobox-cell-2">{{{released}}}</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
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]][[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]][[Category:Unofficial Modes]] | + | |#default=[[File:IncorrectIcon.png|19px|link=Category:Unofficial Modes]]{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Unofficial Modes]]}} |
}}</div> | }}</div> | ||
</div><!-- | </div><!-- | ||
− | -->{{#if:{{{ | + | -->{{#if:{{{gamemode1|}}}{{{gamemode2|}}}{{{gamemode3|}}}{{{popularity|}}}| |
<div> | <div> | ||
<div class="infobox-header infobox-header-2">Competitive Information</div> | <div class="infobox-header infobox-header-2">Competitive Information</div> | ||
Line 70: | Line 70: | ||
<div class="infobox-cell-2 infobox-description">Game Modes:</div> | <div class="infobox-cell-2 infobox-description">Game Modes:</div> | ||
<div class="infobox-cell-2">{{#switch:{{lc:{{{gamemode1|}}}}} | <div class="infobox-cell-2">{{#switch:{{lc:{{{gamemode1|}}}}} | ||
− | |bball = [[BBall | + | |bball = [[BBall]] |
− | |ultiduo = [[Ultiduo | + | |ultiduo = [[Ultiduo]] |
− | |4v4 = [[4v4 | + | |4v4 = [[4v4]] |
− | |6v6 = [[6v6 | + | |6v6 = [[6v6]] |
|hl | |hl | ||
− | |highlander = [[Highlander | + | |highlander = [[Highlander]] |
}}{{#if:{{{gamemode2|}}}|, {{#switch:{{lc:{{{gamemode2|}}}}} | }}{{#if:{{{gamemode2|}}}|, {{#switch:{{lc:{{{gamemode2|}}}}} | ||
− | |bball = [[BBall | + | |bball = [[BBall]] |
− | |ultiduo = [[Ultiduo | + | |ultiduo = [[Ultiduo]] |
− | |4v4 = [[4v4 | + | |4v4 = [[4v4]] |
− | |6v6 = [[6v6 | + | |6v6 = [[6v6]] |
|hl | |hl | ||
− | |highlander = [[Highlander | + | |highlander = [[Highlander]] |
}}}}{{#if:{{{gamemode3|}}}|, {{#switch:{{lc:{{{gamemode3|}}}}} | }}}}{{#if:{{{gamemode3|}}}|, {{#switch:{{lc:{{{gamemode3|}}}}} | ||
− | |bball = [[BBall | + | |bball = [[BBall]] |
− | |ultiduo = [[Ultiduo | + | |ultiduo = [[Ultiduo]] |
− | |4v4 = [[4v4 | + | |4v4 = [[4v4]] |
− | |6v6 = [[6v6 | + | |6v6 = [[6v6]] |
|hl | |hl | ||
− | |highlander = [[Highlander | + | |highlander = [[Highlander]] |
}}}}</div> | }}}}</div> | ||
</div> | </div> | ||
Line 100: | Line 100: | ||
<div class="infobox-cell-2 infobox-description">League Popularity:</div> | <div class="infobox-cell-2 infobox-description">League Popularity:</div> | ||
<div class="infobox-cell-2">{{#switch:{{lc:{{{popularity|}}}}} | <div class="infobox-cell-2">{{#switch:{{lc:{{{popularity|}}}}} | ||
− | |staple={{abbr|Staple|This | + | |staple={{abbr|Staple|This mode is consistently played in its primary league(s)}} |
− | |moderate={{abbr|Moderate|This | + | |moderate={{abbr|Moderate|This mode is played in some but not all leagues}} |
− | |trial={{abbr|Trial|This | + | |trial={{abbr|Trial|This mode is being tested in some leagues}} |
− | |obsolete={{abbr|Obsolete|This | + | |obsolete={{abbr|Obsolete|This mode is no longer played in any leagues}} |
− | |never played={{abbr|Never Played|This | + | |never played={{abbr|Never Played|This mode has never been included in any leagues}} |
}}</div> | }}</div> | ||
</div> | </div> | ||
Line 130: | Line 130: | ||
<div class="infobox-center"><small>{{{footnotes}}}</small></div> | <div class="infobox-center"><small>{{{footnotes}}}</small></div> | ||
</div> | </div> | ||
− | }} | + | }} </div> |
− | </div> | ||
</div><!-- | </div><!-- | ||
+ | |||
+ | Category | ||
+ | |||
+ | -->{{#ifeq:{{NAMESPACENUMBER}}|0| | ||
+ | [[Category:Game Modes]]}}<!-- | ||
--></includeonly><noinclude>{{Documentation}}[[Category:Infoboxes]]</noinclude> | --></includeonly><noinclude>{{Documentation}}[[Category:Infoboxes]]</noinclude> |
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 }}