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

From Team Fortress Wiki
Jump to: navigation, search
(Updated documentation; Added example.)
(Updated documentation.)
Line 16: Line 16:
 
| map-deep-water =  
 
| map-deep-water =  
 
| map-hazards =  
 
| map-hazards =  
| map-health-pickups =  
+
| map-items =
| map-ammo-pickups =  
+
| map-health-pickups-small =
| map-special-pickups =  
+
| map-health-pickups-medium =
 +
| map-health-pickups-large =  
 +
| map-ammo-pickups-small =
 +
| map-ammo-pickups-medium =
 +
| map-ammo-pickups-large =  
 +
| map-special-pickups-hhgift =
 +
| map-special-pickups-pumpkin =  
 
| map-stamp-link =  
 
| map-stamp-link =  
 
}}
 
}}
Line 63: Line 69:
 
| <code>map-environment</code>
 
| <code>map-environment</code>
 
| No
 
| No
| Map environment (Alpine, Desert, etc). Required to enable the '''Map Info''' section.
+
| Map environment (Alpine, Desert, etc). Also enables the '''Map Info''' section header.
 
|-
 
|-
 
| <code>map-setting</code>
 
| <code>map-setting</code>
Line 75: Line 81:
 
| <code>map-hazards</code>
 
| <code>map-hazards</code>
 
| No
 
| No
| Various hazards present in map.
+
| Various environmental hazards present in map.
 
|-
 
|-
| <code>map-health-pickups</code>
+
| <code>map-items</code>
 
| No
 
| No
| Number of health pickups present in map. Possibly use this notation '''{{tooltip|1|Small}} / {{tooltip|2|Medium}} /  {{tooltip|3|Large}}'''.
+
| Set to '''none''' shows the '''Map Items''' section header and a single entry saying ''None''. (Useful for <tt>item_test</tt>-like maps.)
 
|-
 
|-
| <code>map-ammo-pickups</code>
+
| <code>map-health-pickups-small</code>
 
| No
 
| No
| Number of ammo pickups present in map. Possibly use this notation '''{{tooltip|1|Small}} / {{tooltip|2|Medium}} /  {{tooltip|3|Large}}'''.
+
| Number of small health pickups present in map.
 
|-
 
|-
| <code>map-ammo-pickups</code>
+
| <code>map-health-pickups-medium</code>
 
| No
 
| No
| Number of ammo pickups present in map. Possibly use this notation '''{{tooltip|1|Small}} / {{tooltip|2|Medium}} /  {{tooltip|3|Large}}'''.
+
| Number of medium health pickups present in map.  
 
|-
 
|-
| <code>map-ammo-pickups</code>
+
| <code>map-health-pickups-large</code>
 
| No
 
| No
| Special pickups present in map (Halloween gifts, Crit-pumpkins).
+
| Number of large health pickups present in map.
 +
|-
 +
| <code>map-ammo-pickups-small</code>
 +
| No
 +
| Number of small ammo pickups present in map.
 +
|-
 +
| <code>map-ammo-pickups-medium</code>
 +
| No
 +
| Number of medium ammo pickups present in map.
 +
|-
 +
| <code>map-ammo-pickups-large</code>
 +
| No
 +
| Number of large ammo pickups present in map.
 +
|-
 +
| <code>map-special-pickups-hhgift</code>
 +
| No
 +
| [[Haunted Halloween Gift]]s present in map.
 +
|-
 +
| <code>map-special-pickups-pumpkin</code>
 +
| No
 +
| [[Halloween Pumpkin]]s present in map.  
 
|-
 
|-
 
| <code>map-stamp-link</code>
 
| <code>map-stamp-link</code>
Line 109: Line 135:
 
| map-deep-water=No
 
| map-deep-water=No
 
| map-hazards=[[Environmental_death#Gate_Crush|Ceiling trap]]
 
| map-hazards=[[Environmental_death#Gate_Crush|Ceiling trap]]
 +
<!-- cOLD
 
| map-health-pickups={{tooltip|0|Small}} / {{tooltip|0|Medium}} / {{tooltip|0|Large}}
 
| map-health-pickups={{tooltip|0|Small}} / {{tooltip|0|Medium}} / {{tooltip|0|Large}}
 
| map-ammo-pickups={{tooltip|0|Small}} / {{tooltip|0|Medium}} / {{tooltip|0|Large}}
 
| map-ammo-pickups={{tooltip|0|Small}} / {{tooltip|0|Medium}} / {{tooltip|0|Large}}
 
| map-special-pickups=''None''
 
| map-special-pickups=''None''
 +
-->
 +
| map-items =
 +
| map-health-pickups-small = 1
 +
| map-health-pickups-medium = 2
 +
| map-health-pickups-large = 3
 +
| map-ammo-pickups-small = 4
 +
| map-ammo-pickups-medium = 5
 +
| map-ammo-pickups-large = 6
 +
| map-special-pickups-hhgift =
 +
| map-special-pickups-pumpkin =
 
| map-stamp-link = http://steamcommunity.com/stats/TF2/leaderboards/30383
 
| map-stamp-link = http://steamcommunity.com/stats/TF2/leaderboards/30383
 
}}
 
}}
Line 125: Line 162:
 
| map-deep-water=No
 
| map-deep-water=No
 
| map-hazards=[[Environmental_death#Gate_Crush|Ceiling trap]]
 
| map-hazards=[[Environmental_death#Gate_Crush|Ceiling trap]]
| map-health-pickups={{tooltip|0|Small}} / {{tooltip|0|Medium}} / {{tooltip|0|Large}}
+
| map-items =
| map-ammo-pickups={{tooltip|0|Small}} / {{tooltip|0|Medium}} / {{tooltip|0|Large}}
+
| map-health-pickups-small = 1
| map-special-pickups=''None''
+
| map-health-pickups-medium = 2
 +
| map-health-pickups-large = 3
 +
| map-ammo-pickups-small = 4
 +
| map-ammo-pickups-medium = 5
 +
| map-ammo-pickups-large = 6
 +
| map-special-pickups-hhgift =
 +
| map-special-pickups-pumpkin =
 
| map-stamp-link = http://steamcommunity.com/stats/TF2/leaderboards/30383
 
| map-stamp-link = http://steamcommunity.com/stats/TF2/leaderboards/30383
 
}}</pre>
 
}}</pre>
 
+
{{clr}}
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 15:01, 20 February 2011

This template adds in information box to articles on maps. It adds pages to Category:Maps.

Usage

{{Map infobox
| map-name-override = 
| map-image = 
| game-type = 
| file-name=
| current-version = 
| developer = 
| download-link = 
| map-multiple-stages =
| map-environment = 
| map-setting = 
| map-deep-water = 
| map-hazards = 
| map-items = 
| map-health-pickups-small = 
| map-health-pickups-medium = 
| map-health-pickups-large = 
| map-ammo-pickups-small = 
| map-ammo-pickups-medium = 
| map-ammo-pickups-large = 
| map-special-pickups-hhgift = 
| map-special-pickups-pumpkin = 
| map-stamp-link = 
}}

Parameters

Parameter Required? Function
map-name-override No The name of the map if it is anything other than the page name.
map-image Yes File name of image of map, automatically resized to 300px wide. Defaults to File:Screenshot needed.png.
game-type No Game type or mode, such as Arena, in English. Automatically linked and translated.
file-name No File name of map.
current-version No Latest version of the map, such as A2, B5, RC5.
developer No Name and optional link to the developer/author of the map. Do not name individual Valve employees.
download-link No Link to permanent map download location.
map-multiple-stages No Number of stages the map is composed of.
map-environment No Map environment (Alpine, Desert, etc). Also enables the Map Info section header.
map-setting No Map setting, as daytime and weather.
map-deep-water No Deep water present in map.
map-hazards No Various environmental hazards present in map.
map-items No Set to none shows the Map Items section header and a single entry saying None. (Useful for item_test-like maps.)
map-health-pickups-small No Number of small health pickups present in map.
map-health-pickups-medium No Number of medium health pickups present in map.
map-health-pickups-large No Number of large health pickups present in map.
map-ammo-pickups-small No Number of small ammo pickups present in map.
map-ammo-pickups-medium No Number of medium ammo pickups present in map.
map-ammo-pickups-large No Number of large ammo pickups present in map.
map-special-pickups-hhgift No Haunted Halloween Gifts present in map.
map-special-pickups-pumpkin No Halloween Pumpkins present in map.
map-stamp-link No If a map stamp is available in Mann Co. Store, provide link to supporters leaderboard.

Example

Map infobox
Egypt 01.jpg
Basic Information
Developer(s): {{{map-developer}}}
Map Info
Environment: Desert
Setting: Daylight, sunny
Hazards: Ceiling trap
Map Photos
Loading screen photos.
Map Stamp
[[File:Item icon Map Stamp - Template:Dictionary/common strings/map name map infobox.png|170px|link=Map Stamp]]
Supporters Leaderboard
{{Map infobox
| map-name-override=Egypt (NOTE: THIS ALSO INFLUENCES THE MAP STAMP IMAGE)
| map-image=Egypt_01.jpg
| game-type=Control Point
| file-name=cp_egypt_final
| developer=[http://steamcommunity.com/id/sean_c Sean "Heyo" Cutino]
| map-multiple-stages=3
| map-environment=Desert
| map-setting=Daylight, sunny
| map-deep-water=No
| map-hazards=[[Environmental_death#Gate_Crush|Ceiling trap]]
| map-items = 
| map-health-pickups-small = 1
| map-health-pickups-medium = 2
| map-health-pickups-large = 3
| map-ammo-pickups-small = 4
| map-ammo-pickups-medium = 5
| map-ammo-pickups-large = 6
| map-special-pickups-hhgift = 
| map-special-pickups-pumpkin =
| map-stamp-link = http://steamcommunity.com/stats/TF2/leaderboards/30383
}}