Editing Template:NewInfobox Map
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page is not enabled for semantic in-text annotations due to namespace restrictions. Details about how to enable the namespace can be found on the configuration help page.
Latest revision | Your text | ||
Line 4: | Line 4: | ||
<div class="fo-nttax-infobox"> | <div class="fo-nttax-infobox"> | ||
<div> | <div> | ||
− | <div class="infobox-header | + | <div class="infobox-header"><span class="infobox-buttons"><nowiki>[</nowiki>[{{SERVER}}{{localurl:{{FULLPAGENAME}}|action=edit§ion=0}} e]<nowiki>]</nowiki><nowiki>[</nowiki>[[Template:NewInfobox Map|h]]<nowiki>]</nowiki></span>{{PAGENAME}}</div> |
− | </div> | ||
</div><!-- | </div><!-- | ||
Image | Image | ||
− | --> | + | -->{{#if:{{{image|File:{{PAGENAME}}.jpg}}}| |
<div> | <div> | ||
− | <div class="infobox-image"> | + | <div class="infobox-image">[[Image:{{{image|{{PAGENAME}}.jpg}}}|center|294px]]</div> |
</div> | </div> | ||
− | <!-- | + | }}<!-- |
Caption | Caption | ||
Line 24: | Line 23: | ||
}}<!-- | }}<!-- | ||
− | -->{{#if:{{{maptype|}}}{{{ | + | -->{{#if:{{{maptype|}}}{{{latestver|}}}{{{download|}}}{{{creator1|}}}| |
<div> | <div> | ||
<div class="infobox-header infobox-header-2">Map Information</div> | <div class="infobox-header infobox-header-2">Map Information</div> | ||
Line 34: | Line 33: | ||
-->{{#if:{{{maptype|}}}| | -->{{#if:{{{maptype|}}}| | ||
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description">Map Type | + | <div class="infobox-cell-2 infobox-description">Map Type:</div> |
<div class="infobox-cell-2">{{#switch:{{lc:{{{maptype|}}}}} | <div class="infobox-cell-2">{{#switch:{{lc:{{{maptype|}}}}} | ||
− | |||
|capture the flag | |capture the flag | ||
− | |ctf = [[CTF|Capture the Flag]] | + | |ctf = [[CTF|Capture the Flag]] [[Category:Capture the Flag Maps]] |
− | |||
|control point | |control point | ||
|cp | |cp | ||
− | |5cp = [[5CP|Control | + | |5cp = [[5CP|5 Control Point]] [[Category:5 Control Point Maps]] |
− | |3cp = [[3CP|Control | + | |3cp = [[3CP|3 Control Point]] [[Category:3 Control Point Maps]] |
|attack defend | |attack defend | ||
|attack/defend | |attack/defend | ||
|ad | |ad | ||
− | |a/d = [[Attack/Defend]] | + | |a/d = [[Attack/Defend]] [[Category:Attack/Defend Maps]] |
|domination | |domination | ||
− | |dom = [[Domination]] | + | |dom = [[Domination]] [[Category:Domination Maps]] |
|king of the hill | |king of the hill | ||
− | |koth = [[King of the Hill]] | + | |koth = [[King of the Hill]] [[Category:King of the Hill Maps]] |
|payload | |payload | ||
− | |pl = [[Payload]] | + | |pl = [[Payload]] [[Category:Payload Maps]] |
|payload race | |payload race | ||
− | |plr = [[Payload Race]] | + | |plr = [[Payload Race]] [[Category:Payload Race Maps]] |
|special delivery | |special delivery | ||
− | |sd = [[Special Delivery]] | + | |sd = [[Special Delivery]] [[Category:Special Delivery Maps]] |
− | |bball = [[BBall | + | |bball = [[BBall|Bball]] [[Category:BBall Maps]] |
− | + | |ultiduo = [[Ultiduo]] [[Category:Ultiduo Maps]] | |
− | + | |{{{maptype|}}} = [[{{{maptype|}}}]] | |
− | + | }}</div> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |ultiduo = [[Ultiduo]] | ||
− | |{{{maptype|}}} = [[{{{maptype|}}}]] | ||
− | |||
</div> | </div> | ||
}}<!-- | }}<!-- | ||
− | + | Latest Version | |
− | -->{{#if:{{{ | + | -->{{#if:{{{latestver|}}}| |
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">Latest Version:</div> |
− | <div class="infobox-cell-2"><small><code>{{{ | + | <div class="infobox-cell-2">{{#if:{{{latestver|}}}|<small><code>{{{latestver|}}}</code></small>}}</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
− | + | Download | |
− | -->{{#if:{{{ | + | -->{{#if:{{{download|}}}| |
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">Download Link:</div> |
− | <div class="infobox-cell-2">{{{ | + | <div class="infobox-cell-2"><span style="display:hidden"> </span>{{#if:{{{download|}}}|[[File:DownloadIcon.png|16px|Download Link|link={{{download|}}}]]}}</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
− | + | Creator/Creators | |
− | -->{{#if:{{{ | + | -->{{#if:{{{creator1|}}}| |
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">{{#if:{{{creator2|}}}|Creators:|Creator:}}</div> |
− | <div class="infobox-cell-2">{{#if:{{{ | + | <div class="infobox-cell-2">{{#if:{{{creator1|}}}|{{#if:{{{creator1steam|}}}|[http://steamcommunity.com/profiles/{{{creator1steam|}}} {{{creator1|}}}]|{{{creator1|}}}}}}}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{creator2|}}}|<br />{{#if:{{{creator2steam|}}}|[http://steamcommunity.com/profiles/{{{creator2steam|}}} {{{creator2|}}}]|{{{creator2|}}}}}}}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{creator3|}}}|<br />{{#if:{{{creator3steam|}}}|[http://steamcommunity.com/profiles/{{{creator3steam|}}} {{{creator3|}}}]|{{{creator3|}}}}}}}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{creator4|}}}|<br />{{#if:{{{creator4steam|}}}|[http://steamcommunity.com/profiles/{{{creator4steam|}}} {{{creator4|}}}]|{{{creator4|}}}}}}}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{creator5|}}}|<br />{{#if:{{{creator5steam|}}}|[http://steamcommunity.com/profiles/{{{creator5steam|}}} {{{creator5|}}}]|{{{creator5|}}}}}}}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{creator6|}}}|<br />{{#if:{{{creator6steam|}}}|[http://steamcommunity.com/profiles/{{{creator6steam|}}} {{{creator6|}}}]|{{{creator6|}}}}}}}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{creator7|}}}|<br />{{#if:{{{creator7steam|}}}|[http://steamcommunity.com/profiles/{{{creator7steam|}}} {{{creator7|}}}]|{{{creator7|}}}}}}}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{creator8|}}}|<br />{{#if:{{{creator8steam|}}}|[http://steamcommunity.com/profiles/{{{creator8steam|}}} {{{creator8|}}}]|{{{creator8|}}}}}}}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{creator9|}}}|<br />{{#if:{{{creator9steam|}}}|[http://steamcommunity.com/profiles/{{{creator9steam|}}} {{{creator9|}}}]|{{{creator9|}}}}}}}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{creator10|}}}|<br />{{#if:{{{creator10steam|}}}|[http://steamcommunity.com/profiles/{{{creator10steam|}}} {{{creator10|}}}]|{{{creator10|}}}}}}}</div> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
}}<!-- | }}<!-- | ||
− | + | -->{{#if:{{{gamemode1|}}}{{{currentrotation|}}}| | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | -->{{#if:{{{gamemode1 | ||
<div> | <div> | ||
<div class="infobox-header infobox-header-2">Competitive Information</div> | <div class="infobox-header infobox-header-2">Competitive Information</div> | ||
Line 164: | Line 104: | ||
}}<!-- | }}<!-- | ||
− | Game Modes | + | Game Mode/Game Modes |
-->{{#if:{{{gamemode1|}}}| | -->{{#if:{{{gamemode1|}}}| | ||
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description">Game Modes:</div> | + | <div class="infobox-cell-2 infobox-description">{{#if:{{{gamemode2|}}}|Game Modes:|Game Mode:}}</div> |
− | <div class="infobox-cell-2">{{#switch:{{lc:{{{gamemode1|}}}}} | + | <div class="infobox-cell-2">{{#if:{{{gamemode1|}}}|{{#switch:{{lc:{{{gamemode1|}}}}} |
− | |bball = [[BBall]] | + | |bball = [[BBall]] [[Category:BBall Maps]] |
− | |ultiduo = [[Ultiduo]] | + | |ultiduo = [[Ultiduo]] [[Category:Ultiduo Maps]] |
− | + | |4v4 = [[4v4]] [[Category:4v4 Maps]] | |
− | |4v4 = [[4v4]] | + | |6v6 = [[6v6]] [[Category:6v6 Maps]] |
− | |6v6 = [[6v6]] | + | |highlander = [[Highlander]] [[Category:Highlander Maps]] |
− | + | }}}}{{#if:{{{gamemode2|}}}|, {{#switch:{{lc:{{{gamemode2|}}}}} | |
− | + | |bball = [[BBall]] [[Category:BBall Maps]] | |
− | + | |ultiduo = [[Ultiduo]] [[Category:Ultiduo Maps]] | |
− | |highlander = [[Highlander]] | + | |4v4 = [[4v4]] [[Category:4v4 Maps]] |
− | }}{{#if:{{{gamemode2|}}}|, {{#switch:{{lc:{{{gamemode2|}}}}} | + | |6v6 = [[6v6]] [[Category:6v6 Maps]] |
− | |bball = [[BBall]] | + | |highlander = [[Highlander]] [[Category:Highlander Maps]] |
− | |ultiduo = [[Ultiduo]] | ||
− | |4v4 = [[4v4]] | ||
− | |6v6 = [[6v6]] | ||
− | |||
− | |||
− | |||
− | |highlander = [[Highlander]] | ||
}}}}{{#if:{{{gamemode3|}}}|, {{#switch:{{lc:{{{gamemode3|}}}}} | }}}}{{#if:{{{gamemode3|}}}|, {{#switch:{{lc:{{{gamemode3|}}}}} | ||
− | |bball = [[BBall]] | + | |bball = [[BBall]] [[Category:BBall Maps]] |
− | |ultiduo = [[Ultiduo]] | + | |ultiduo = [[Ultiduo]] [[Category:Ultiduo Maps]] |
− | |4v4 = [[4v4]] | + | |4v4 = [[4v4]] [[Category:4v4 Maps]] |
− | |6v6 = [[6v6]] | + | |6v6 = [[6v6]] [[Category:6v6 Maps]] |
− | + | |highlander = [[Highlander]] [[Category:Highlander Maps]] | |
− | |||
− | |||
− | |highlander = [[Highlander]] | ||
}}}}</div> | }}}}</div> | ||
</div> | </div> | ||
}}<!-- | }}<!-- | ||
− | + | In Rotation: | |
− | --> | + | --> |
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description">{{# | + | <div class="infobox-cell-2 infobox-description">In Rotation:</div> |
− | + | <div class="infobox-cell-2">{{#ifeq:{{Current Rotations/ugc4s|{{PAGENAME}}}}|1|'''4v4:''' [[File:UGC-Icon2.png|16px|link=UGC 4v4 Season {{Current Seasons|ugc4s}}]]}}<!-- | |
+ | -->{{#ifeq:{{#expr:{{Current Rotations/ugc6s|{{PAGENAME}}}}+{{Current Rotations/etf2l6s|{{PAGENAME}}}}+{{Current Rotations/esea6s|{{PAGENAME}}}}+{{Current Rotations/ozf6s|{{PAGENAME}}}}>0}}|1|{{#ifeq:{{Current Rotations/ugc4s|{{PAGENAME}}}}|1|<br />}}'''6v6:'''}}{{#ifeq:{{Current Rotations/ugc6s|{{PAGENAME}}}}|1| [[File:UGC-Icon2.png|16px|link=UGC 6v6 Season {{Current Seasons|ugc6s}}]]}}{{#ifeq:{{Current Rotations/etf2l6s|{{PAGENAME}}}}|1| [[File:ETF2L-Icon2.png|16px|link=ETF2L 6v6 Season {{Current Seasons|etf2l6s}}]]}}{{#ifeq:{{Current Rotations/esea6s|{{PAGENAME}}}}|1| [[File:EseaLogo.png|16px|link=ESEA Season {{Current Seasons|esea6s}}]]}}{{#ifeq:{{Current Rotations/ozf6s|{{PAGENAME}}}}|1| [[File:Ozfortress icon.png|16px|link=ozfortress Season {{Current Seasons|ozf6s}}]]}}<!-- | ||
+ | -->{{#ifeq:{{#expr:{{Current Rotations/ugchl|{{PAGENAME}}}}+{{Current Rotations/etf2lhl|{{PAGENAME}}}}>0}}|1|{{#ifeq:{{#expr:{{Current Rotations/ugc4s|{{PAGENAME}}}}+{{Current Rotations/ugc6s|{{PAGENAME}}}}+{{Current Rotations/etf2l6s|{{PAGENAME}}}}+{{Current Rotations/esea6s|{{PAGENAME}}}}+{{Current Rotations/ozf6s|{{PAGENAME}}}}>0}}|1|<br />}}{{Abbr|'''HL'''|Highlander}}''':'''{{#ifeq:{{Current Rotations/ugchl|{{PAGENAME}}}}|1| [[File:UGC-Icon2.png|16px|link=UGC HL Season {{Current Seasons|ugchl}}]]}}{{#ifeq:{{Current Rotations/etf2lhl|{{PAGENAME}}}}|1| [[File:ETF2L-Icon2.png|16px|link=ETF2L HL Season {{Current Seasons|etf2lhl}}]]}}}}</div> | ||
</div> | </div> | ||
− | + | <!-- | |
− | + | -->{{#if:{{{workshop|}}}{{{tf2maps|}}}{{{tftv|}}}| | |
− | |||
− | -->{{#if:{{{ | ||
<div> | <div> | ||
− | <div class="infobox- | + | <div class="infobox-header infobox-header-2">Links</div> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
}}<!-- | }}<!-- | ||
− | + | Links | |
− | -->{{# | + | -->{{#if:{{{workshop|}}}{{{tf2maps|}}}{{{tftv|}}}| |
<div> | <div> | ||
− | <div class="infobox- | + | <div class="infobox-center infobox-icons">{{#if:{{{workshop|}}}|[[File:Steam Logo.png|32px|Steam Workshop|link=http://steamcommunity.com/sharedfiles/filedetails/?id={{{workshop|}}}]]}}{{#if:{{{tf2maps|}}}|[[File:TF2Maps.net Logo.png|32px|TF2Maps.net|link=http://tf2maps.net/threads/{{{tf2maps|}}}]]}}{{#if:{{{tftv|}}}|[[File:TFTV Logo.png|32px|TeamfortressTV|link=http://www.teamfortress.tv/11931]]}}</div> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | </div> | ||
</div> | </div> | ||
}}<!-- | }}<!-- | ||
− | + | Footnotes | |
− | -->{{# | + | -->{{#if:{{{footnotes|}}}| |
<div> | <div> | ||
− | <div class="infobox- | + | <div class="infobox-center"><small>{{{footnotes}}}</small></div> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
}}<!-- | }}<!-- | ||
− | + | Adbox | |
− | -- | + | --> |
− | |||
− | |||
</div> | </div> | ||
− | < | + | <htmlet>infobox</htmlet> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
− | + | <!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
End Code | End Code |