Difference between revisions of "Template:NewInfobox Map"

From comp.tf
Jump to navigation Jump to search
m (In Current Rotation fixes)
m
Line 1: Line 1:
<includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|{{DISPLAYTITLE:{{{name|{{PAGENAME}}}}}}}}}<!--
+
<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&section=0}} e]<nowiki>]</nowiki><nowiki>[</nowiki>[[Template:NewInfobox Map|h]]<nowiki>]</nowiki></span>{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}} }}</div>
+
<div class="infobox-header"><span class="infobox-buttons"><nowiki>[</nowiki>[{{SERVER}}{{localurl:{{FULLPAGENAME}}|action=edit&section=0}} e]<nowiki>]</nowiki><nowiki>[</nowiki>[[Template:NewInfobox Map|h]]<nowiki>]</nowiki></span>{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</div>
 
</div><!--
 
</div><!--
  
 
Image
 
Image
  
-->{{#ifexist:File:{{PAGENAME}}.jpg|
+
-->{{#if:{{{image|File:{{PAGENAME}}.jpg}}}|
 
<div>
 
<div>
 
<div class="infobox-image">[[Image:{{{image|{{PAGENAME}}.jpg}}}|center|294px]]</div>
 
<div class="infobox-image">[[Image:{{{image|{{PAGENAME}}.jpg}}}|center|294px]]</div>
Line 23: Line 23:
 
}}<!--
 
}}<!--
  
-->{{#if:{{{maptype|}}}{{{latestver|}}}{{{downloadlink|}}}{{{dev1|}}}{{{workshop|}}}|
+
-->{{#if:{{{maptype|}}}{{{latestver|}}}{{{downloadlink|}}}{{{creator1|}}}|
 
<div>
 
<div>
 
<div class="infobox-header infobox-header-2">Map Information</div>
 
<div class="infobox-header infobox-header-2">Map Information</div>
Line 36: Line 36:
 
<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]] [[Category:CTF Maps]]
+
   |ctf = [[CTF|Capture the Flag]] [[Category:Capture the Flag Maps]]
 
   |control point
 
   |control point
 
   |cp
 
   |cp
   |5cp = [[5CP|5 Control Point]] [[Category:5CP Maps]]
+
   |5cp = [[5CP|5 Control Point]] [[Category:5 Control Point Maps]]
   |3cp = [[3CP|3 Control Point]] [[Category:3CP Maps]]
+
   |3cp = [[3CP|3 Control Point]] [[Category:3 Control Point Maps]]
 
   |attack defend
 
   |attack defend
 
   |attack/defend
 
   |attack/defend
  |attack defense
 
  |attack/defense
 
 
   |ad
 
   |ad
 
   |a/d = [[Attack/Defend]] [[Category:Attack/Defend Maps]]
 
   |a/d = [[Attack/Defend]] [[Category:Attack/Defend Maps]]
Line 50: Line 48:
 
   |dom = [[Domination]] [[Category:Domination Maps]]
 
   |dom = [[Domination]] [[Category:Domination Maps]]
 
   |king of the hill
 
   |king of the hill
   |koth = [[King_Of_The_Hill|King of the Hill]] [[Category:KOTH Maps]]
+
   |koth = [[King of the Hill]] [[Category:King of the Hill Maps]]
 
   |payload
 
   |payload
 
   |pl = [[Payload]] [[Category:Payload Maps]]
 
   |pl = [[Payload]] [[Category:Payload Maps]]
 
   |payload race
 
   |payload race
   |plr = [[Payload_Race|Payload Race]] [[Category:Payload Race Maps]]
+
   |plr = [[Payload Race]] [[Category:Payload Race Maps]]
 
   |special delivery
 
   |special delivery
   |sd = [[Special_Delivery|Special Delivery]] [[Category:Special Delivery Maps]]
+
   |sd = [[Special Delivery]] [[Category:Special Delivery Maps]]
  |basketball
 
 
   |bball = [[BBall|Bball]] [[Category:BBall Maps]]
 
   |bball = [[BBall|Bball]] [[Category:BBall Maps]]
  |2v2
 
  |ulti
 
 
   |ultiduo = [[Ultiduo]] [[Category:Ultiduo Maps]]
 
   |ultiduo = [[Ultiduo]] [[Category:Ultiduo Maps]]
  |1v1
+
   |{{{maptype|}}} = [[{{{maptype|}}}]]
  |mge = {{Gamemode Icon|small|mge}} [[MGE]] [[Category:MGE Maps]]
 
  |arena respawn
 
  |arenarespawn = {{Gamemode Icon|small|arenarespawn}} [[Arena Respawn]] [[Category:Arena Respawn Maps]]
 
   |{{{maptype|}}} = [[{{{maptype}}}]]
 
 
}}</div>
 
}}</div>
 
</div>
 
</div>
Line 76: Line 67:
 
<div>
 
<div>
 
<div class="infobox-cell-2 infobox-description">Latest Version:</div>
 
<div class="infobox-cell-2 infobox-description">Latest Version:</div>
<div class="infobox-cell-2">{{#if:{{{latestver|}}}|<code>{{{latestver|}}}</code>|}} {{#if:{{{downloadlink|}}}|[[File:Downloadicon.png|12px|link={{{downloadlink|}}}]]|}}</div>
+
<div class="infobox-cell-2">{{#if:{{{latestver|}}}|<code>{{{latestver|}}}</code>}} {{#if:{{{downloadlink|}}}|[[File:Downloadicon.png|12px|link={{{downloadlink|}}}]]}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
  
Developer, Developers
+
Creator/Creators
  
-->{{#if:{{{dev1|}}}|
+
-->{{#if:{{{creator1|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">{{#if:{{{dev2|}}}|Developers:|Developer:}}</div>
+
<div class="infobox-cell-2 infobox-description">{{#if:{{{creator2|}}}|Creators:|Creator:}}</div>
<div class="infobox-cell-2">{{#if:{{{dev1flag|}}}|{{flag|{{{dev1flag}}}}}{{{dev1{{#if:{{{dev1steam|}}}|[[http://steamcommunity.com/profiles/{{{dev1steam|}}}/|{{{dev1|}}}]]|{{{dev1|}}}}}<!--
+
<div class="infobox-cell-2">{{#if:{{{creator1|}}}|{{#if:{{{creator1steam|}}}|[http://steamcommunity.com/profiles/{{{creator1steam|}}} {{{creator1|}}}]|{{{creator1|}}}}}}}<!--
-->{{#if:{{{dev2|}}}|<br />{{#if:{{{dev2flag|}}}|{{flag|{{{dev2flag}}}}}{{#if:{{{dev2steam|}}}|[[http://steamcommunity.com/profiles/{{{dev2steam|}}}/|{{{dev2|}}}]]|{{{dev2|}}}}}}}<!--
+
-->{{#if:{{{creator2|}}}|<br />{{#if:{{{creator2steam|}}}|[http://steamcommunity.com/profiles/{{{creator2steam|}}} {{{creator2|}}}]|{{{creator2|}}}}}}}<!--
-->{{#if:{{{dev3|}}}|<br />{{#if:{{{dev3flag|}}}|{{flag|{{{dev3flag}}}}}{{#if:{{{dev3steam|}}}|[[http://steamcommunity.com/profiles/{{{dev3steam|}}}/|{{{dev3|}}}]]|{{{dev3|}}}}}}}<!--
+
-->{{#if:{{{creator3|}}}|<br />{{#if:{{{creator3steam|}}}|[http://steamcommunity.com/profiles/{{{creator3steam|}}} {{{creator3|}}}]|{{{creator3|}}}}}}}<!--
-->{{#if:{{{dev4|}}}|<br />{{#if:{{{dev4flag|}}}|{{flag|{{{dev4flag}}}}}{{#if:{{{dev4steam|}}}|[[http://steamcommunity.com/profiles/{{{dev4steam|}}}/|{{{dev4|}}}]]|{{{dev4|}}}}}}}<!--
+
-->{{#if:{{{creator4|}}}|<br />{{#if:{{{creator4steam|}}}|[http://steamcommunity.com/profiles/{{{creator4steam|}}} {{{creator4|}}}]|{{{creator4|}}}}}}}<!--
-->{{#if:{{{dev5|}}}|<br />{{#if:{{{dev5flag|}}}|{{flag|{{{dev5flag}}}}}{{#if:{{{dev5steam|}}}|[[http://steamcommunity.com/profiles/{{{dev5steam|}}}/|{{{dev5|}}}]]|{{{dev5|}}}}}}}<!--
+
-->{{#if:{{{creator5|}}}|<br />{{#if:{{{creator5steam|}}}|[http://steamcommunity.com/profiles/{{{creator5steam|}}} {{{creator5|}}}]|{{{creator5|}}}}}}}<!--
-->{{#if:{{{dev6|}}}|<br />{{#if:{{{dev6flag|}}}|{{flag|{{{dev6flag}}}}}{{#if:{{{dev6steam|}}}|[[http://steamcommunity.com/profiles/{{{dev6steam|}}}/|{{{dev6|}}}]]|{{{dev6|}}}}}}}<!--
+
-->{{#if:{{{creator6|}}}|<br />{{#if:{{{creator6steam|}}}|[http://steamcommunity.com/profiles/{{{creator6steam|}}} {{{creator6|}}}]|{{{creator6|}}}}}}}<!--
-->{{#if:{{{dev7|}}}|<br />{{#if:{{{dev7flag|}}}|{{flag|{{{dev7flag}}}}}{{#if:{{{dev7steam|}}}|[[http://steamcommunity.com/profiles/{{{dev7steam|}}}/|{{{dev7|}}}]]|{{{dev7|}}}}}}}<!--
+
-->{{#if:{{{creator7|}}}|<br />{{#if:{{{creator7steam|}}}|[http://steamcommunity.com/profiles/{{{creator7steam|}}} {{{creator7|}}}]|{{{creator7|}}}}}}}<!--
-->{{#if:{{{dev8|}}}|<br />{{#if:{{{dev8flag|}}}|{{flag|{{{dev8flag}}}}}{{#if:{{{dev8steam|}}}|[[http://steamcommunity.com/profiles/{{{dev8steam|}}}/|{{{dev8|}}}]]|{{{dev8|}}}}}}}<!--
+
-->{{#if:{{{creator8|}}}|<br />{{#if:{{{creator8steam|}}}|[http://steamcommunity.com/profiles/{{{creator8steam|}}} {{{creator8|}}}]|{{{creator8|}}}}}}}<!--
-->{{#if:{{{dev9|}}}|<br />{{#if:{{{dev9flag|}}}|{{flag|{{{dev9flag}}}}}{{#if:{{{dev9steam|}}}|[[http://steamcommunity.com/profiles/{{{dev9steam|}}}/|{{{dev9|}}}]]|{{{dev9|}}}}}}}<!--
+
-->{{#if:{{{creator9|}}}|<br />{{#if:{{{creator9steam|}}}|[http://steamcommunity.com/profiles/{{{creator9steam|}}} {{{creator9|}}}]|{{{creator9|}}}}}}}<!--
-->{{#if:{{{dev10|}}}|<br />{{#if:{{{dev10flag|}}}|{{flag|{{{dev10flag}}}}}{{#if:{{{dev10steam|}}}|[[http://steamcommunity.com/profiles/{{{dev10steam|}}}/|{{{dev10|}}}]]|{{{dev10|}}}}}}}</div>
+
-->{{#if:{{{creator10|}}}|<br />{{#if:{{{creator10steam|}}}|[http://steamcommunity.com/profiles/{{{creator10steam|}}} {{{creator10|}}}]|{{{creator10|}}}}}}}</div>
</div>
 
}}<!--
 
 
 
Steam Workshop
 
 
 
-->{{#if:{{{workshop|}}}
 
<div>
 
<div class="infobox-cell-2 infobox-description">Steam Workshop:</div>
 
<div class="infobox-cell-2">[[File:Steam icon.png|16px|link=http://steamcommunity.com/sharedfiles/filedetails/?id={{{workshop|}}}]]</div>
 
 
</div>
 
</div>
 
}}}}<!--
 
}}}}<!--
  
-->{{#if:{{{format1|}}}{{{ugc4s|}}}{{{ugc6s|}}}{{{etf2l6s|}}}{{{esea6s|}}}{{{ozf6s|}}}{{{ugchl|}}}{{{etf2lhl|}}}|
+
-->{{#if:{{{gamemode1|}}}{{{currentrotation|}}}|
 
<div>
 
<div>
 
<div class="infobox-header infobox-header-2">Competitive Information</div>
 
<div class="infobox-header infobox-header-2">Competitive Information</div>
Line 113: Line 95:
 
}}<!--
 
}}<!--
  
Primary Formats
+
Game Mode/Game Modes
  
-->{{#if:{{{format1|}}}|
+
-->{{#if:{{{gamemode1|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">{{#if:{{{format2|}}}|Primary Formats:|Primary Format:}}</div>
+
<div class="infobox-cell-2 infobox-description">{{#if:{{{gamemode2|}}}|Game Modes:|Game Mode:}}</div>
<div class="infobox-cell-2">{{#if:{{{format1|}}}|{{#switch:{{lc:{{{format1|}}}}}
+
<div class="infobox-cell-2">{{#if:{{{gamemode1|}}}|{{#switch:{{lc:{{{gamemode1|}}}}}
  |arena respawn
 
  |arenarespawn = [[Arena Respawn]] [[Category:Arena Respawn Maps]]
 
  |mge = [[MGE]] [[Category:MGE Maps]]
 
  |basketball
 
 
   |bball = [[BBall]] [[Category:BBall Maps]]
 
   |bball = [[BBall]] [[Category:BBall Maps]]
  |ulti
 
 
   |ultiduo = [[Ultiduo]] [[Category:Ultiduo Maps]]
 
   |ultiduo = [[Ultiduo]] [[Category:Ultiduo Maps]]
  |4s
 
 
   |4v4 = [[4v4]] [[Category:4v4 Maps]]
 
   |4v4 = [[4v4]] [[Category:4v4 Maps]]
  |6s
 
 
   |6v6 = [[6v6]] [[Category:6v6 Maps]]
 
   |6v6 = [[6v6]] [[Category:6v6 Maps]]
  |hl
 
 
   |highlander = [[Highlander]] [[Category:Highlander Maps]]
 
   |highlander = [[Highlander]] [[Category:Highlander Maps]]
}}|}}{{#if:{{{format2|}}}|,&#32;{{#switch:{{lc:{{{format2|}}}}}
+
}}}}{{#if:{{{gamemode2|}}}|,&#32;{{#switch:{{lc:{{{gamemode2|}}}}}
  |arena respawn
 
  |arenarespawn = [[Arena Respawn]] [[Category:Arena Respawn Maps]]
 
  |mge = [[MGE]] [[Category:MGE Maps]]
 
  |basketball
 
 
   |bball = [[BBall]] [[Category:BBall Maps]]
 
   |bball = [[BBall]] [[Category:BBall Maps]]
  |ulti
 
 
   |ultiduo = [[Ultiduo]] [[Category:Ultiduo Maps]]
 
   |ultiduo = [[Ultiduo]] [[Category:Ultiduo Maps]]
  |4s
 
 
   |4v4 = [[4v4]] [[Category:4v4 Maps]]
 
   |4v4 = [[4v4]] [[Category:4v4 Maps]]
  |6s
 
 
   |6v6 = [[6v6]] [[Category:6v6 Maps]]
 
   |6v6 = [[6v6]] [[Category:6v6 Maps]]
  |hl
 
 
   |highlander = [[Highlander]] [[Category:Highlander Maps]]
 
   |highlander = [[Highlander]] [[Category:Highlander Maps]]
}}|}}{{#if:{{{format3|}}}|,&#32;{{#switch:{{lc:{{{format3|}}}}}
+
}}}}{{#if:{{{gamemode3|}}}|,&#32;{{#switch:{{lc:{{{gamemode3|}}}}}
  |arena respawn
 
  |arenarespawn = [[Arena Respawn]] [[Category:Arena Respawn Maps]]
 
  |mge = [[MGE]] [[Category:MGE Maps]]
 
  |basketball
 
 
   |bball = [[BBall]] [[Category:BBall Maps]]
 
   |bball = [[BBall]] [[Category:BBall Maps]]
  |ulti
 
 
   |ultiduo = [[Ultiduo]] [[Category:Ultiduo Maps]]
 
   |ultiduo = [[Ultiduo]] [[Category:Ultiduo Maps]]
  |4s
 
 
   |4v4 = [[4v4]] [[Category:4v4 Maps]]
 
   |4v4 = [[4v4]] [[Category:4v4 Maps]]
  |6s
 
 
   |6v6 = [[6v6]] [[Category:6v6 Maps]]
 
   |6v6 = [[6v6]] [[Category:6v6 Maps]]
  |hl
 
 
   |highlander = [[Highlander]] [[Category:Highlander Maps]]
 
   |highlander = [[Highlander]] [[Category:Highlander Maps]]
}}|}}</div>
+
}}}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
Line 166: Line 124:
 
In Current Rotation:
 
In Current Rotation:
  
-->{{#if:{{{ugc4s|}}}{{{ugc6s|}}}{{{etf2l6s|}}}{{{esea6s|}}}{{{ozf6s|}}}{{{ugchl|}}}{{{etf2lhl|}}}|
+
-->{{#if:{{{currentrotation|}}}|
 
<div>
 
<div>
 
<div class="infobox-cell-2 infobox-description">In Current Rotation:</div>
 
<div class="infobox-cell-2 infobox-description">In Current Rotation:</div>
<div class="infobox-cell-2"><!--
+
<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:{{{ugc4s|}}}|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|<br />''6v6''}}{{#ifeq:{{Current Rotations/ugc6s|{{PAGENAME}}}}|1|&#32;[[File:UGC-Icon2.png|16px|link=UGC 6v6 Season {{Current Seasons|ugc6s}}]]}}{{#ifeq:{{Current Rotations/etf2l6s|{{PAGENAME}}}}|1|&#32;[[File:ETF2L-Icon2.png|16px|link=ETF2L 6v6 Season {{Current Seasons|etf2l6s}}]]}}{{#ifeq:{{Current Rotations/esea6s|{{PAGENAME}}}}|1|&#32;[[File:ESEALogo.png|16px|link=ESEA Season {{Current Seasons|esea6s}}]]}}{{#ifeq:{{Current Rotations/ozf6s|{{PAGENAME}}}}|1|&#32;[[File:Ozfortress icon.png|16px|link=ozfortress Season {{Current Seasons|ozf6s}}]]}}<!--
-->{{#if:{{{ugc6s|}}}{{{etf2l6s|}}}{{{esea6s|}}}{{{ozf6s|}}}|{{#if:{{{ugc4s|}}}|<br />|}}'''6v6'''{{#ifeq:{{{ugc6s|}}}|1|&#32;[[File:UGC-Icon2.png|16px|link=UGC 6v6 Season {{Current Seasons|ugc6s}}]]}}{{#ifeq:{{{etf2l6s|}}}|1|&#32;[[File:ETF2L-Icon2.png|16px|link=ETF2L 6v6 {{Current Seasons|etf2l6s}}]]}}{{#ifeq:{{{esea6s|}}}|1|&#32;[[File:EseaLogo.png|16px|link=ESEA Season {{Current Seasons|esea6s}}/Invite]]}}{{#ifeq:{{{ozf6s|}}}|1|&#32;[[File:Ozfortress icon.png|16px|link=ozfortress Season {{Current Seasons|ozf6s}}]]}}}}<!--
+
-->{{#ifeq:{{#expr:{{Current Rotations/ugchl|{{PAGENAME}}}}+{{Current Rotations/etf2lhl|{{PAGENAME}}}}>0}}|1|<br />''{{Abbr|HL|Highlander''}}{{#ifeq:{{Current Rotations/ugchl|{{PAGENAME}}}}|1|&#32;[[File:UGC-Icon2.png|16px|link=UGC HL Season {{Current Seasons|ugchl}}]]}}{{#ifeq:{{Current Rotations/etf2lhl|{{PAGENAME}}}}|1|&#32;[[File:ETF2L-Icon2.png|16px|link=ETF2L HL Season {{Current Seasons|etf2lhl}}]]}}</div>
-->{{#if:{{{ugchl|}}}{{{etf2lhl|}}}|{{#if:{{{ugc4s|}}}{{{ugc6s|}}}{{{etf2l6s|}}}{{{esea6s|}}}{{{ozf6s|}}}|<br />|}}'''HL'''{{#ifeq:{{{ugchl|}}}|1|&#32;[[File:UGC-Icon2.png|16px|link=UGC HL Season {{Current Seasons|ugchl}}]]}}{{#ifeq:{{{etf2lhl|}}}|1|&#32;[[File:ETF2L-Icon2.png|16px|link=ETF2L HL Season {{Current Seasons|etf2lhl}}]]}}}}
+
</div>
 +
}}}}<!--
 +
 
 +
-->{{#if:{{{workshop|}}}{{{tf2maps|}}}{{{tftv|}}}|
 +
<div>
 +
<div class="infobox-header infobox-header-2">Links</div>
 
</div>
 
</div>
 +
}}<!--
 +
 +
-->{{#if:{{{workshop|}}}{{{tf2maps|}}}{{{tftv|}}}|
 +
<div>
 +
<div class="infobox-cell-2 infobox-description">Links:</div>
 +
<div class="infobox-cell-2">{{#if:{{{workshop|}}}|[[File:Steam Logo.png|16px|link=http://steamcommunity.com/sharedfiles/filedetails/?id={{{workshop|}}}]]}}{{#if:{{{tf2maps|}}}|[[File:TF2Maps.net Logo.png|16px|link=http://tf2maps.net/threads/{{{tf2maps|}}}]]}}{{#if:{{{tftv|}}}|[[File:TFTV Logo.png|16px|link=http://www.teamfortress.tv/11931]]}}</div>
 
</div>
 
</div>
 
}}}}<!--
 
}}}}<!--

Revision as of 02:40, 2 April 2016

(view - edit) Documentation

[e][h]NewInfobox Map
Badlands.jpg
Map Information
Map Type:
}}
Competitive Information
Game Mode:
}}

Cannot find HTML file infobox.html


This template produces an Infobox on a map page. Credit to Liquipedia for the template.

Example

The code:

{{NewInfobox Map
|name=
|image=
|caption=

|maptype=5cp
|filename=cp_badlands
|version=Official Release
|author1=valve
|author1steam=
|author2=
|author2steam=
|author3=
|author3steam=
|released=14 February 2008
|updated=8 July 2016
|official=1

|gamemode1=6v6
|gamemode2=
|gamemode3=
|adapted=
|pro=
|popularity=staple
|lpleague=
|lpseason=

|download=http://www.sodahappy.com/fastdl/tf2/maps/cp_badlands.bsp.bz2
|workshop=
|tf2maps=
|gamebanana=
|tftv=
|etf2l=
|ugc=
|officialwiki=Badlands_(Control_Point)
|officialwiki2=Badlands_(competitive)

|footnotes=
}}

Parameters

These are the variables in the Map template:

  • name = Map name. You can leave it blank if it's the same name of the page
  • image = Don't use it for the main one since the template automatically searches for <map_name>.jpg. Use it rarely for secondary images.
  • caption = caption
  • maptype = Game mode ( 5cp, 3cp, ad, arena, bball, ctf, dom, koth, pl, plr, sd, ultiduo )
  • filename = Name of the last map version
  • version = Leave blank if official. "Alpha", "Beta", "Final", "Official Release" or "Release Candidate" otherwise
  • author1 = Author name with the format <Name> "nickname" <Surname> ( Es. Rebecca "Phi" Ailes )
  • author1steam = Author steam link. Better if it's used the 17 digit long ( Es. 76561198039117675 )
  • released = First date of release ( Es. 17 November 2015)
  • updated = Last update date
  • official = 1 if official. Leave blank if not
  • gamemode1 = In which competitive game modes it is used (4 v4, 6v6, BBall, Highlander, Ultiduo )
  • adapted = Map from which it has been taken from ( Es. Product is an adapted version of Viaduct )
  • pro = Official map from which it was perfected ( Es. Granary for cp_granary_pro_rc4 )
  • popularity = How often the map is used by leagues ( moderate, never played, obsolete, stample, trial )
  • lpleague = Last played league ( af6s, etf2l6s, etf2lhl, esea, ozf6s, ugc4s, ugc6s, ugchl )
  • lpseason = Number of the last season played
  • download = Reliable download link (better if from http://fakkelbrigade.eu/maps/ )
  • workshop = Steam workshop link
  • tf2maps = TF2Maps.net thread
  • tftv = teamfortress.tv thread
  • etf2l = etf2l.org thread
  • ugc = ugcleague.com thread
  • officialwiki = wiki.teamfortress.com official page ( Es. Badlands_(Control_Point) )
  • officialwiki2 = wiki.teamfortress.com official competitive page ( Es. Badlands_(competitive) )
  • footnotes = Foot notes
  • portal = Don't use it yet!


Copy / Paste

{{NewInfobox Map
|name=
|image=
|caption=

|maptype=
|filename=
|version=
|author1=
|author1steam=
|author2=
|author2steam=
|author3=
|author3steam=
|released=
|updated=
|official=

|gamemode1=
|gamemode2=
|gamemode3=
|adapted=
|pro=
|popularity=
|lpleague=
|lpseason=

|download=
|workshop=
|tf2maps=
|gamebanana=
|tftv=
|etf2l=
|ugc=
|officialwiki=
|officialwiki2=

|footnotes=
|portal=
}}