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

From Team Fortress Wiki
Jump to: navigation, search
m (Parameters)
m
Line 122: Line 122:
 
| No
 
| No
 
| If a map stamp is available in Mann Co. Store, provide link to supporters leaderboard.
 
| If a map stamp is available in Mann Co. Store, provide link to supporters leaderboard.
 +
 +
Set to '''unavailable''' displays the map stamp and a "''Supporters leaderboard not yet available''" line.
 
|}
 
|}
  

Revision as of 11:32, 25 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.

Set to unavailable displays the map stamp and a "Supporters leaderboard not yet available" line.

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