Difference between revisions of "Template:NewInfobox Map"

From comp.tf
Jump to navigation Jump to search
(Added Invade CTF & Ultitrio to normal gamemodes category. Added 7v7, Prolander, 8v8, and Ultitrio to comp. format category. First super major work so I hope this goes well!)
(Gonna take this one step at a time; added 2 new comp formats, 7v7 and Prolander.)
 
(One intermediate revision by the same user not shown)
Line 50: Line 50:
 
   |domination
 
   |domination
 
   |dom = [[Domination]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Domination Maps]]}}
 
   |dom = [[Domination]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Domination Maps]]}}
  |invade ctf = [[Invade Capture The Flag]] {{#ifeq:{{NAMESPACENUMBER}}|0[[Category:Invade Capture the Flag Maps]]}}
 
 
   |king of the hill
 
   |king of the hill
 
   |koth = [[King of the Hill]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:King of the Hill Maps]]}}
 
   |koth = [[King of the Hill]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:King of the Hill Maps]]}}
Line 61: Line 60:
 
   |bball = [[BBall]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:BBall Maps]]}}
 
   |bball = [[BBall]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:BBall Maps]]}}
 
   |ultiduo = [[Ultiduo]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Ultiduo Maps]]}}
 
   |ultiduo = [[Ultiduo]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Ultiduo Maps]]}}
  |ultitrio = [[Ultitrio]] {{#ifeq:(NAMESPACENUMBER}}|0|[[Category:Ultitrio Maps]]}}
 
 
   |{{{maptype|}}} = [[{{{maptype|}}}]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Miscellaneous Maps]]}}
 
   |{{{maptype|}}} = [[{{{maptype|}}}]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Miscellaneous Maps]]}}
 
}}<!--
 
}}<!--
Line 79: Line 77:
 
   |domination
 
   |domination
 
   |dom = [[Domination]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Domination Maps]]}}
 
   |dom = [[Domination]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Domination Maps]]}}
  |invade ctf = [[Invade Capture The Flag]] {{#ifeq:{{NAMESPACENUMBER}}|0[[Category:Invade Capture the Flag Maps]]}}
 
 
   |king of the hill
 
   |king of the hill
 
   |koth = [[King of the Hill]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:King of the Hill Maps]]}}
 
   |koth = [[King of the Hill]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:King of the Hill Maps]]}}
Line 90: Line 87:
 
   |bball = [[BBall]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:BBall Maps]]}}
 
   |bball = [[BBall]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:BBall Maps]]}}
 
   |ultiduo = [[Ultiduo]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Ultiduo Maps]]}}
 
   |ultiduo = [[Ultiduo]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Ultiduo Maps]]}}
  |ultitrio = [[Ultitrio]] {{#ifeq:(NAMESPACENUMBER}}|0|[[Category:Ultitrio Maps]]}}
 
 
   |{{{maptype|}}} = [[{{{maptype|}}}]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Miscellaneous Maps]]}}
 
   |{{{maptype|}}} = [[{{{maptype|}}}]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Miscellaneous Maps]]}}
 
}}}}</div>
 
}}}}</div>
Line 178: Line 174:
 
   |ultitrio = [[Ultitrio]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Ultitrio Maps]]}}
 
   |ultitrio = [[Ultitrio]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Ultitrio Maps]]}}
 
   |4v4 = [[4v4]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:4v4 Maps]]}}
 
   |4v4 = [[4v4]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:4v4 Maps]]}}
  |5v5 = [[5v5]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:5v5 Maps]]}}
 
 
   |6v6 = [[6v6]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:6v6 Maps]]}}
 
   |6v6 = [[6v6]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:6v6 Maps]]}}
 
   |7v7 = [[7v7]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:7v7 Maps]]}}
 
   |7v7 = [[7v7]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:7v7 Maps]]}}
  |8v8 = [[8v8]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:8v8 Maps]]}}
 
 
   |prolander = [[Prolander]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Prolander Maps]]}}
 
   |prolander = [[Prolander]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Prolander Maps]]}}
 
   |hl
 
   |hl
Line 188: Line 182:
 
   |bball = [[BBall]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:BBall Maps]]}}
 
   |bball = [[BBall]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:BBall Maps]]}}
 
   |ultiduo = [[Ultiduo]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Ultiduo Maps]]}}
 
   |ultiduo = [[Ultiduo]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Ultiduo Maps]]}}
  |ultitrio = [[Ultitrio]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Ultitrio Maps]]}}
 
 
   |4v4 = [[4v4]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:4v4 Maps]]}}
 
   |4v4 = [[4v4]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:4v4 Maps]]}}
  |5v5 = [[5v5]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:5v5 Maps]]}}
 
 
   |6v6 = [[6v6]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:6v6 Maps]]}}
 
   |6v6 = [[6v6]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:6v6 Maps]]}}
 
   |7v7 = [[7v7]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:7v7 Maps]]}}
 
   |7v7 = [[7v7]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:7v7 Maps]]}}
 
   |prolander = [[Prolander]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Prolander Maps]]}}
 
   |prolander = [[Prolander]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Prolander Maps]]}}
  |8v8 = [[8v8]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:8v8 Maps]]}}
 
 
   |hl
 
   |hl
 
   |highlander = [[Highlander]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Highlander Maps]]}}
 
   |highlander = [[Highlander]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Highlander Maps]]}}
Line 200: Line 191:
 
   |bball = [[BBall]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:BBall Maps]]}}
 
   |bball = [[BBall]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:BBall Maps]]}}
 
   |ultiduo = [[Ultiduo]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Ultiduo Maps]]}}
 
   |ultiduo = [[Ultiduo]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Ultiduo Maps]]}}
  |ultitrio = [[Ultitrio]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Ultitrio Maps]]}}
 
 
   |4v4 = [[4v4]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:4v4 Maps]]}}
 
   |4v4 = [[4v4]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:4v4 Maps]]}}
  |5v5 = [[5v5]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:5v5 Maps]]}}
 
 
   |6v6 = [[6v6]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:6v6 Maps]]}}
 
   |6v6 = [[6v6]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:6v6 Maps]]}}
 
   |7v7 = [[7v7]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:7v7 Maps]]}}
 
   |7v7 = [[7v7]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:7v7 Maps]]}}
 
   |prolander = [[Prolander]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Prolander Maps]]}}
 
   |prolander = [[Prolander]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Prolander Maps]]}}
  |8v8 = [[8v8]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:8v8 Maps]]}}
 
 
   |hl
 
   |hl
 
   |highlander = [[Highlander]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Highlander Maps]]}}
 
   |highlander = [[Highlander]] {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Highlander Maps]]}}

Latest revision as of 09:04, 21 August 2023

(view - edit) Documentation

NewInfobox Map
[e][h]
Badlands.jpg
Map Information
File Name:
cp_badlands
Version:
Official Release
Author:
First Released:
14 February 2008
Last Updated:
8 July 2016
Official Map:
CorrectIcon.png
Competitive Information
Game Modes:
League Popularity:
Staple
Total Inclusions:
None
Links
Download Link Official Team Fortress Wiki Page Official Team Fortress Wiki Page (Competitive)

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=
}}