Difference between revisions of "Template:NewInfobox GameMode"
Jump to navigation
Jump to search
(Attempting to fix template inclusion in categories) |
(Fixing more issues with templates in categories, reworked an earlier fix to be more compact, and fixed a bunch of names I goofed on.) |
||
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]]{{#if: {{{Category}}} | |[[Category:Official Modes]]}} |
− | |#default=[[File:IncorrectIcon.png|19px|link=Category:Unofficial Modes]][[Category:Unofficial Modes]] | + | |#default=[[File:IncorrectIcon.png|19px|link=Category:Unofficial Modes]]{{#if: {{{Category}}} | |[[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 75: | Line 75: | ||
|6v6 = [[6v6]] | |6v6 = [[6v6]] | ||
|hl | |hl | ||
− | |highlander = [[Highlander | + | |highlander = [[Highlander]] |
}}{{#if:{{{gamemode2|}}}|, {{#switch:{{lc:{{{gamemode2|}}}}} | }}{{#if:{{{gamemode2|}}}|, {{#switch:{{lc:{{{gamemode2|}}}}} | ||
|bball = [[BBall]] | |bball = [[BBall]] | ||
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 135: | Line 135: | ||
Category | Category | ||
− | --> | + | -->{{#if: {{{Category}}} | |[[Category:Game Modes]] |
− | + | }}<!-- | |
− | {{# | ||
− | |||
− | |||
− | }} | ||
− | <!-- | ||
--></includeonly><noinclude>{{Documentation}}[[Category:Infoboxes]]</noinclude> | --></includeonly><noinclude>{{Documentation}}[[Category:Infoboxes]]</noinclude> |
Revision as of 23:04, 19 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 }}