Difference between revisions of "Template:NewInfobox Map/doc"

From comp.tf
Jump to navigation Jump to search
m
m
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ambox|image=Corbt Face.jpg|header=Documentation is WIP}}
+
{{NewInfobox Map
<small><pre>
+
|name=
 +
|image=Badlands.jpg
 +
|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=
 +
}}
 +
 
 +
This template produces an Infobox on a map page. [http://wiki.teamliquid.net Credit to Liquipedia] for the template.
 +
 
 +
== Example ==
 +
 
 +
The code:
 +
<pre>
 +
{{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=
 +
}}
 +
</pre>
 +
 
 +
==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!
 +
 
 +
<noinclude>[[Category:Template Documentation Pages]]</noinclude>
 +
 
 +
==Copy / Paste==
 +
<pre style="display: inline-block;">
 
{{NewInfobox Map
 
{{NewInfobox Map
 
|name=
 
|name=
Line 9: Line 128:
 
|filename=
 
|filename=
 
|version=
 
|version=
|download=
+
|author1=
|creator1=
+
|author1steam=
|creator1steam=
+
|author2=
|creator2=
+
|author2steam=
|creator2steam=
+
|author3=
|creator3=
+
|author3steam=
|creator3steam=
 
 
|released=
 
|released=
 
|updated=
 
|updated=
Line 23: Line 141:
 
|gamemode2=
 
|gamemode2=
 
|gamemode3=
 
|gamemode3=
|competitiveof=
+
|adapted=
|competitive=
+
|pro=
 
|popularity=
 
|popularity=
 
|lpleague=
 
|lpleague=
 
|lpseason=
 
|lpseason=
|lpdate=
 
  
 +
|download=
 
|workshop=
 
|workshop=
 
|tf2maps=
 
|tf2maps=
 
|gamebanana=
 
|gamebanana=
 
|tftv=
 
|tftv=
|tftv2=
 
 
|etf2l=
 
|etf2l=
 
|ugc=
 
|ugc=
Line 41: Line 158:
  
 
|footnotes=
 
|footnotes=
 +
|portal=
 
}}
 
}}
</pre></small><br />
+
</pre>
<big>'''MOST IMPORTANT PART OF THIS WHOLE THING:'''</big> don't delete empty parameters. Copy paste that whole thing and leave in every single parameter. This is for new editors when they copy-paste the infobox from one map to another.
+
 
*'''<code>|name</code>''' - shouldn't need to write anything here, the template uses the page's title
+
[[Category:Source Liquipedia]]
*'''<code>|image</code>''' - again, template automatically gets the image for you. It uses <code><mapname>.jpg</code>, if there is no image then a <code>.jpg</code> image should be uploaded
 
*'''<code>|caption</code>''' - caption text
 
<br /><br />
 
*'''<code>|maptype</code>''' - write the appropriate abbreviation (e.g. <code>5cp</code>)
 
*'''<code>|filename</code>''' - e.g. cp_gullywash_final1 (MUST BE LATEST VERSION!)
 
*'''<code>|version</code>''' - for explaining the end part of the file name. Should be properly capitalised. Most common things are:
 
**<code>a1</code> - Alpha 1
 
**<code>b1</code> - Beta 1
 
**<code>rc1</code> - Release Candidate 1
 
**(map is in final version) - Final
 
**(map is official) - Official Release
 
*'''<code>|download</code>''' - download in '''.bsp.bz2 format''' (e.g. <code>cp_gullywash_final1.bsp.bz2</code>). To find a download link, just Google "<mapname>.bsp.bz2" and it should come up with a bunch of map depositories. Use [http://fakkelbrigade.eu/maps/] if possible
 
*'''<code>|creator1</code>''' - Firstname "alias" Lastname. Usually if you Google search hard enough you can find the creator's full name.
 
*'''<code>|creator1steam</code>''' - the SteamID64 bit part on the end of the creator's steam profile URL (e.g. 76561198044709648). '''Don't use their custom URL!'''. Typing the custom URL to a place like [https://steamid.io/ here] should be able to give you the 64bit part.
 
*'''<code>|released</code>''' - first release date of any version. For official maps this can be found on their Offical TF2 Wiki's "Update history" section (earliest date). Should be in the format of 3 November, 2009. Don't trust dates on gamebanana or TF2Maps because they're usually when the map was posted to the site, and can be years later. If you use the date on the creator's first post on the map's forum thread, it ''should'' be it (usually this'll be TF2maps.net).
 
*'''<code>|updated</code>''' - last updated version. For most maps this can be found by when the map's thread was last edited. For official maps, use the Official TF2 Wiki's "Update history" section. However, don't include any updates that are purely bug fixes. The update should at least be changing a physical part of the map
 
<br /><br />
 
*'''<code>|gamemode1</code>''' - 4s, 6s, HL. Basically whatever is listed in the MapLeagueInclusionTable
 
*'''<code>|competitive</code>''' - The map's pro version. E.g. for Badwater you'd put "Badwater Pro". Is case sensitive
 
*'''<code>|competitiveof</code>''' - The inverse of the above, for Badwater Pro you'd put "Badwater"
 
*'''<code>|popularity</code>''' - Type this lowercase. Can either be "staple" (e.g. [[Gullywash]]), "moderate" (e.g. [[Metalworks]]), "trial" (e.g. [[Reckoner]]), "obsolete" (e.g. any map that isn't in the current rotation), "never played" (self explanatory)
 
*'''<code>|lpleague</code>''' - lastplayedleague. This is really annoying because sometimes you have to compare several league archives to find the latest season. Use the MapLeagueInclusionTables and find out which of those season's came last (in terms of literal dates). Once you find that out, type the league in here in a format of: <code>ugc4s</code>, <code>ugc6s</code>, <code>etf2l6s</code>, <code>esea6s</code>, <code>ozf6s</code>, <code>af6s</code>, <code>ugchl</code>, <code>etf2lhl</code>.
 
*'''<code>|lpseason</code>''' - lastplayedseason. Just the number of the season corresponding to the above league
 
*'''<code>|lpdate</code>''' - lastplayeddate. The date of when in the season the map was played. Should be to the exact week, not just the date of when the season started. In format "3 November, 2009"
 
<br /><br />
 
*'''<code>|workshop</code>''' - Steam workshop number at the end of the URL (e.g. <nowiki>http://steamcommunity.com/sharedfiles/filedetails/?id='''528059824'''</nowiki> that part). Google "<mapname> steam workshop" (not the map's file name [e.g. "Gullywash"])
 
*'''<code>|tf2maps</code>''' - TF2Maps number (e.g. <nowiki>http://tf2maps.net/threads/forge.'''25795'''</nowiki> that part, note that it's ONLY the number). Google "<mapname> steam workshop"
 
*'''<code>|gamebanana</code>''' - gamebanana number (e.g. <nowiki>http://gamebanana.com/maps/'''101718'''</nowiki> that part). Google "<mapname> gamebanana"
 
*'''<code>|tftv</code>''' - tftv number (I think you get the point, just paste the number part). Google "<mapname> teamfortress.tv" or search it up on tftv (which is the better option)
 
*'''<code>|etf2l</code>''' - etf2l number. Google "<mapname> etf2l"
 
*'''<code>|ugc</code>''' - ugc number. Don't Google this, go [http://www.ugcleague.net/forum/forumdisplay.php?42-Map-Feedback here]
 
*'''<code>|officialwiki</code>''' - Page name of the official wiki's entry. Note that the Official Wiki sometimes has entries for custom maps. Caps sensitive!
 
*'''<code>|officialwiki2</code>''' - Competitive entry for the official wiki. Are very rare, usually for default maps but there's a few for custom maps. Will be "<mapname>_(competitive)". Caps sensitive!
 
<br /><br />
 
*'''<code>|footnotes</code>''' - footnotes. you don't need this.
 

Latest revision as of 22:43, 7 January 2017

NewInfobox Map/doc
[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[edit]

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[edit]

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[edit]

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