Difference between revisions of "Template:Map infobox"

From Team Fortress Wiki
Jump to: navigation, search
Line 44: Line 44:
 
   | tr = Harita tipi:
 
   | tr = Harita tipi:
 
   | zh-hans = 种类:
 
   | zh-hans = 种类:
   | zh-hant = 種類:
+
   | zh-hant = 種類:
 
   }}''' {{!!}} [[{{#switch: {{lc:{{{game-type|}}}}}
 
   }}''' {{!!}} [[{{#switch: {{lc:{{{game-type|}}}}}
 
       | control point = Control Point (game mode)
 
       | control point = Control Point (game mode)
Line 70: Line 70:
 
   | tr = Dosya adı:
 
   | tr = Dosya adı:
 
   | zh-hans = 文件名:
 
   | zh-hans = 文件名:
   | zh-hant = 文件名:
+
   | zh-hant = 檔案名:
 
   }}''' {{!!}} <code>{{{file-name}}}</code>
 
   }}''' {{!!}} <code>{{{file-name}}}</code>
 
{{!}}-
 
{{!}}-
Line 93: Line 93:
 
   | tr = Versiyon:
 
   | tr = Versiyon:
 
   | zh-hans = 版本:
 
   | zh-hans = 版本:
   | zh-hant = 版本:
+
   | zh-hant = 版本:
 
   }}''' {{!!}} {{{current-version}}}
 
   }}''' {{!!}} {{{current-version}}}
 
{{!}}-
 
{{!}}-
Line 115: Line 115:
 
   | tr = Yapımcı(lar):
 
   | tr = Yapımcı(lar):
 
   | zh-hans = 开发者:
 
   | zh-hans = 开发者:
   | zh-hant = 開發者:
+
   | zh-hant = 開發者:
 
   }}''' {{!!}} {{{developer|[[Valve{{if lang}}|Valve]]}}}
 
   }}''' {{!!}} {{{developer|[[Valve{{if lang}}|Valve]]}}}
 
{{!}}-
 
{{!}}-
Line 137: Line 137:
 
   | tr = İndirme bağlantısı
 
   | tr = İndirme bağlantısı
 
   | zh-hans = 下载链接:
 
   | zh-hans = 下载链接:
   | zh-hant = 下載鏈接:
+
   | zh-hant = 下載連接:
 
   }}''' {{!!}} {{{download-link}}}
 
   }}''' {{!!}} {{{download-link}}}
 
{{!}}-
 
{{!}}-
Line 160: Line 160:
 
   | tr = Harita Bilgisi
 
   | tr = Harita Bilgisi
 
   | zh-hans = 地图资料:
 
   | zh-hans = 地图资料:
   | zh-hant = 地圖資料:
+
   | zh-hant = 地圖資料:
 
   }}   
 
   }}   
 
{{!}}-
 
{{!}}-
Line 178: Line 178:
 
   | ru = Количество этапов:
 
   | ru = Количество этапов:
 
   | tr = Etap sayısı:
 
   | tr = Etap sayısı:
 +
  | zh-hant = 區域:
 
   }}''' {{!!}} {{{map-multiple-stages}}}  
 
   }}''' {{!!}} {{{map-multiple-stages}}}  
 
{{!}}-
 
{{!}}-
Line 197: Line 198:
 
   | tr = Çevre:
 
   | tr = Çevre:
 
   | zh-hans = 环境:
 
   | zh-hans = 环境:
   | zh-hant = 環境:
+
   | zh-hant = 所處地區:
 
   }}''' {{!!}} {{{map-environment}}}  
 
   }}''' {{!!}} {{{map-environment}}}  
 
{{!}}-
 
{{!}}-
Line 216: Line 217:
 
   | ru = Окружение:
 
   | ru = Окружение:
 
   | tr = Ortam:
 
   | tr = Ortam:
 +
  | zh-hant = 環境設定:
 
   }}''' {{!!}} {{{map-setting}}}  
 
   }}''' {{!!}} {{{map-setting}}}  
 
{{!}}-
 
{{!}}-
Line 238: Line 240:
 
   | tr = Hava durumu:
 
   | tr = Hava durumu:
 
   | zh-hans = 天气:
 
   | zh-hans = 天气:
   | zh-hant = 天氣:
+
   | zh-hant = 天氣:
 
   }}''' {{!!}} {{{map-weather}}}
 
   }}''' {{!!}} {{{map-weather}}}
 
{{!}}-
 
{{!}}-
Line 261: Line 263:
 
   | tr = Su altı:
 
   | tr = Su altı:
 
   | zh-hans = 深水:
 
   | zh-hans = 深水:
   | zh-hant = 深水:
+
   | zh-hant = 深水坑:
 
   }}''' {{!!}} {{{map-deep-water}}}
 
   }}''' {{!!}} {{{map-deep-water}}}
 
{{!}}-
 
{{!}}-
Line 282: Line 284:
 
   | tr = Çevresel Etkenler:
 
   | tr = Çevresel Etkenler:
 
   | zh-hans = 危害:
 
   | zh-hans = 危害:
   | zh-hant = 危害:
+
   | zh-hant = 危險區:
 
   }}''' {{!!}} {{{map-hazards}}}
 
   }}''' {{!!}} {{{map-hazards}}}
 
{{!}}-
 
{{!}}-
Line 302: Line 304:
 
   | ru = Аптечки
 
   | ru = Аптечки
 
   | tr = Sağlık tedarikleri:
 
   | tr = Sağlık tedarikleri:
 +
  | zh-hant = 補血包:
 
   }}''' {{!!}} {{{map-health-pickups}}}  
 
   }}''' {{!!}} {{{map-health-pickups}}}  
 
{{!}}-
 
{{!}}-
Line 321: Line 324:
 
   | ru = Боеприпасы
 
   | ru = Боеприпасы
 
   | tr = Cephane tedarikleri
 
   | tr = Cephane tedarikleri
 +
  | zh-hant = 彈藥包:
 
   }}''' {{!!}} {{{map-ammo-pickups}}}
 
   }}''' {{!!}} {{{map-ammo-pickups}}}
 
{{!}}-
 
{{!}}-
Line 340: Line 344:
 
   | ru = Специальные:
 
   | ru = Специальные:
 
   | tr = Özel tedarikler:
 
   | tr = Özel tedarikler:
 +
  | zh-hant = 特殊物品:
 
   }}''' {{!!}} {{{map-special-pickups}}}  
 
   }}''' {{!!}} {{{map-special-pickups}}}  
 
{{!}}-  
 
{{!}}-  
Line 360: Line 365:
 
   | ru = Предметы на карте
 
   | ru = Предметы на карте
 
   | tr = Harita Eşyaları
 
   | tr = Harita Eşyaları
 +
  | zh-hant = 地圖物品
 
}}
 
}}
 
{{!}}-
 
{{!}}-
Line 377: Line 383:
 
   | ru = Предметы на карте
 
   | ru = Предметы на карте
 
   | tr = Harita Eşyaları
 
   | tr = Harita Eşyaları
 +
  | zh-hant = 地圖物品
 
   }}
 
   }}
 
   {{!}}-
 
   {{!}}-
Line 395: Line 402:
 
     | ru = Аптечки
 
     | ru = Аптечки
 
     | tr = Sağlık paketleri:
 
     | tr = Sağlık paketleri:
 +
    | zh-hant = 補血包:
 
     }}'''
 
     }}'''
 
   {{!}} style="text-align:center;" {{!}} {{#if: {{{map-health-pickups-small|}}} | [[File:{{#switch: {{BASEPAGENAME}} | Mann Manor = Healthbar | Harvest Event = Healthbar | #default = Smallhealth}}.png|link=Health{{if lang}}|20px]]&nbsp;&times;{{{map-health-pickups-small}}} | }} {{#if: {{{map-health-pickups-medium|}}} | {{#if: {{{map-health-pickups-small|}}} | &nbsp;{{b}}&nbsp; | }} | }} {{#if: {{{map-health-pickups-medium|}}} | [[File:{{#switch: {{BASEPAGENAME}} | Mann Manor = Healthpie | Harvest Event = Healthpie | DeGroot Keep = Medieval_Meat | #default = Mediumhealth}}.png|link=Health{{if lang}}|20px]]&nbsp;&times;{{{map-health-pickups-medium|}}} | }} {{#if: {{{map-health-pickups-large|}}} | {{#if: {{{map-health-pickups-medium|}}} | &nbsp;{{b}}&nbsp; | {{#if: {{{map-health-pickups-small|}}} | &nbsp;{{b}}&nbsp; | }} }} | }} {{#if: {{{map-health-pickups-large|}}} | [[File:{{#switch: {{BASEPAGENAME}} | Mann Manor = Health_Cauldron | Harvest Event = Health_Cauldron | #default = Largehealth}}.png|link=Health{{if lang}}|20px]]&nbsp;&times;{{{map-health-pickups-large}}} | }}
 
   {{!}} style="text-align:center;" {{!}} {{#if: {{{map-health-pickups-small|}}} | [[File:{{#switch: {{BASEPAGENAME}} | Mann Manor = Healthbar | Harvest Event = Healthbar | #default = Smallhealth}}.png|link=Health{{if lang}}|20px]]&nbsp;&times;{{{map-health-pickups-small}}} | }} {{#if: {{{map-health-pickups-medium|}}} | {{#if: {{{map-health-pickups-small|}}} | &nbsp;{{b}}&nbsp; | }} | }} {{#if: {{{map-health-pickups-medium|}}} | [[File:{{#switch: {{BASEPAGENAME}} | Mann Manor = Healthpie | Harvest Event = Healthpie | DeGroot Keep = Medieval_Meat | #default = Mediumhealth}}.png|link=Health{{if lang}}|20px]]&nbsp;&times;{{{map-health-pickups-medium|}}} | }} {{#if: {{{map-health-pickups-large|}}} | {{#if: {{{map-health-pickups-medium|}}} | &nbsp;{{b}}&nbsp; | {{#if: {{{map-health-pickups-small|}}} | &nbsp;{{b}}&nbsp; | }} }} | }} {{#if: {{{map-health-pickups-large|}}} | [[File:{{#switch: {{BASEPAGENAME}} | Mann Manor = Health_Cauldron | Harvest Event = Health_Cauldron | #default = Largehealth}}.png|link=Health{{if lang}}|20px]]&nbsp;&times;{{{map-health-pickups-large}}} | }}
Line 414: Line 422:
 
     | ru = Боеприпасы
 
     | ru = Боеприпасы
 
     | tr = Cephane kutuları:
 
     | tr = Cephane kutuları:
 +
    | zh-hant = 彈藥包:
 
     }}'''
 
     }}'''
 
   {{!}} style="text-align:center;" {{!}} {{#if: {{{map-ammo-pickups-small|}}} | [[File:Smallammo.png|link=Ammo{{if lang}}|20px]]&nbsp;&times;{{{map-ammo-pickups-small}}} | }} {{#if: {{{map-ammo-pickups-medium|}}} | {{#if: {{{map-ammo-pickups-small|}}} | &nbsp;{{b}}&nbsp; | }} | }} {{#if: {{{map-ammo-pickups-medium|}}} | [[File:Mediumammo.png|link=Ammo{{if lang}}|20px]]&nbsp;&times;{{{map-ammo-pickups-medium}}} | }} {{#if: {{{map-ammo-pickups-large|}}} | {{#if: {{{map-ammo-pickups-medium|}}} | &nbsp;{{b}}&nbsp; | {{#if: {{{map-ammo-pickups-small|}}} | &nbsp;{{b}}&nbsp; | }} }} | }} {{#if: {{{map-ammo-pickups-large|}}} | [[File:Largeammo.png|link=Ammo{{if lang}}|20px]]&nbsp;&times;{{{map-ammo-pickups-large}}} | }}
 
   {{!}} style="text-align:center;" {{!}} {{#if: {{{map-ammo-pickups-small|}}} | [[File:Smallammo.png|link=Ammo{{if lang}}|20px]]&nbsp;&times;{{{map-ammo-pickups-small}}} | }} {{#if: {{{map-ammo-pickups-medium|}}} | {{#if: {{{map-ammo-pickups-small|}}} | &nbsp;{{b}}&nbsp; | }} | }} {{#if: {{{map-ammo-pickups-medium|}}} | [[File:Mediumammo.png|link=Ammo{{if lang}}|20px]]&nbsp;&times;{{{map-ammo-pickups-medium}}} | }} {{#if: {{{map-ammo-pickups-large|}}} | {{#if: {{{map-ammo-pickups-medium|}}} | &nbsp;{{b}}&nbsp; | {{#if: {{{map-ammo-pickups-small|}}} | &nbsp;{{b}}&nbsp; | }} }} | }} {{#if: {{{map-ammo-pickups-large|}}} | [[File:Largeammo.png|link=Ammo{{if lang}}|20px]]&nbsp;&times;{{{map-ammo-pickups-large}}} | }}
Line 433: Line 442:
 
     | ru = Специальное:
 
     | ru = Специальное:
 
     | tr = Özel:
 
     | tr = Özel:
 +
    | zh-hant = 特殊物品:
 
     }}'''
 
     }}'''
 
   {{!}} style="text-align:center;" {{!}} {{#if: {{{map-special-pickups-hhgift|}}} | [[File:HauntedHalloweenGift.png|link=Haunted Halloween Gift{{if lang}}|20px]]| }} {{#if: {{{map-special-pickups-pumpkin|}}} | {{#if: {{{map-special-pickups-hhgift|}}} | &nbsp;{{b}}&nbsp; | }} | }} {{#if: {{{map-special-pickups-pumpkin|}}} | [[File:Pumpkin.png|link=Halloween pumpkins{{if lang}}|20px]] | }}
 
   {{!}} style="text-align:center;" {{!}} {{#if: {{{map-special-pickups-hhgift|}}} | [[File:HauntedHalloweenGift.png|link=Haunted Halloween Gift{{if lang}}|20px]]| }} {{#if: {{{map-special-pickups-pumpkin|}}} | {{#if: {{{map-special-pickups-hhgift|}}} | &nbsp;{{b}}&nbsp; | }} | }} {{#if: {{{map-special-pickups-pumpkin|}}} | [[File:Pumpkin.png|link=Halloween pumpkins{{if lang}}|20px]] | }}
Line 457: Line 467:
 
   | ru = Таблица поддержавших в данный момент недоступна.
 
   | ru = Таблица поддержавших в данный момент недоступна.
 
   | tr = Destekleyenler çizelgesine henüz erişilemez.
 
   | tr = Destekleyenler çizelgesine henüz erişilemez.
 +
  | zh-hant = 目前沒有贊助者的頁面。
 
   }}'' |
 
   }}'' |
 
[{{{map-stamp-link}}} {{lang
 
[{{{map-stamp-link}}} {{lang
Line 473: Line 484:
 
   | tr = Destekleyenler Çizelgesi
 
   | tr = Destekleyenler Çizelgesi
 
   | zh-hans = 支持者排行榜
 
   | zh-hans = 支持者排行榜
   | zh-hant = 支持者排行榜:
+
   | zh-hant = 贊助者排行榜
 
}}] }}
 
}}] }}
 
}}
 
}}

Revision as of 06:27, 7 July 2011

Map infobox
Screenshot needed.png
Basic Information
Developer(s): Valve

Template documentation [view] [edit] [history] [purge]

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

Usage

Pictogram comment.png The map stamp image, map overview image, and map loading screen image are all automatically added based on their filename. These files should always be .png files!
For the thumbnail image, the file name should be the map-file-name parameter input (e.g. "arena_byre") (see File:Arena byre.png). If a filename that matches this format exists, it will ignore the map-image parameter.
For the overview image, the file name should be the map-name parameter input (e.g. "Upward", "Orange_X") followed by "overview" (see File:Upward overview.png).
For the map stamp image, the file name should be "Item icon Map Stamp - " followed by the map-name parameter input (see File:Item icon Map Stamp - Cascade.png).
For the map loading screen images, the file name should be "Menu photos" followed by the map-file-name parameter input (e.g. "koth_viaduct") (see File:Menu photos koth viaduct.png).

{{Map infobox
| map-status                  = 
| map-stamp-link              = 
| map-workshopid              = 
| map-image                   = 
| map-game-type               = 
| map-file-name               = 
| map-version                 = 
| map-released                = 
| map-released-major          = 
| map-updated                 = 
| map-developer               = 
| map-links                   = 
| map-environment             = 
| map-setting                 = 
| map-has-n-stages            = 
| map-has-deep-water          = 
| map-has-bots                = 
| map-has-vscript             = 
| map-hazards                 = 
| map-hazards-underworld      = 
| map-has-pyrovision          = 
| map-has-magic-spells        =
| map-items                   = 
| map-pickups-health-small    = 
| map-pickups-health-medium   = 
| map-pickups-health-large    = 
| map-pickups-ammo-small      = 
| map-pickups-ammo-medium     = 
| map-pickups-ammo-large      = 
| map-pickups-special-sgg     = 
| map-pickups-special-pumpkin = 
}}

Parameters

Parameter Values Required? Function
game tfc
tf
TFC, TF maps Specifies the game the map is designed for. Accepts values such as tfc (Team Fortress Classic), tf (Quake Team Fortress) and [none/empty] (Team Fortress 2).
map-status official
community
custom
etc.
Always Indicates the current status of the map. Accepts values such as valve, official (Category:Valve maps‎), community (Category:Community maps‎), custom (Category:Custom maps‎), beta, cut, unused (Category:Beta, cut or unused maps), test, dev (Category:Dev and test maps‎).
  • If set to community, the map infobox will display a "Buy Map Stamp" button to encourage supporting map creators.
  • If set to custom, and map-workshopid is filled, the map infobox will display a "Subscribe on the Steam Workshop" button leading to the map's page on the Steam Workshop.
map-stamp-link {{Map stamp leaderboard}} Community maps If a map stamp link has been defined in the template, it automatically adds the map stamp link. Otherwise, it defaults to "Not yet added".
map-workshopid number Custom maps Specifies the ID of the map in the Steam Workshop.
map-name text Custom maps Specifies the name of the map if it differs from the page name.
map-image file name No Specifies the file name of the map image, automatically resized to 300px wide.
  • For Valve-made maps, it defaults to [[File:map-file-name.png]] ("arena_byre.png").
  • For custom maps, it defaults to [[File:{{BASEPAGENAME}}.png]] ("Hardhat (custom map).png").

Note: if an image that matches the "default" format is uploaded, this parameter will have no effect.

map-game-type Arena
Capture the Flag
etc.
No Specifies the game type or mode, such as Arena.
map-file-name text No Specifies the file name of the map.
map-version text Custom maps Specifies the latest version of the map, such as A2, B5 or RC5.
map-released {{patch name}} No Specifies the date/patch the map was released. Please use {{Patch name}} instead of plain text.
map-released-major major_update_title No Specifies the named patch the map was released in. Check Template:Dictionary/common_strings#major_update_titles for a list of parameters.
map-updated {{patch name}} Custom maps Specifies the last time the map was updated.
map-developer text Custom maps Specifies the name and optional Steam ID profile link for the developer/author and contributors of the map in the same order their names appear in the map's start screen.
Do not name individual Valve employees. See Policy.
For official maps (Valve-made, Steam Workshop), names are stored in the {{Map credits}} template.
map-links text Custom maps Specifies link(s) to development threads, websites, etc.
map-environment text No Specifies the map environment (Alpine, Desert, etc.). Also enables the Map Info section header.
map-setting text No Specifies the map setting, such as daytime and weather.
map-has-n-stages number No Specifies the number of stages the map is composed of.
map-has-deep-water yes
no
custom text
No Indicates whether there is deep water present in the map.
map-has-pyrovision yes
no
No Indicates whether the map is Pyrovision compatible.
map-has-magic-spells yes
no
No Indicates whether the map contains magic spells.
map-has-bots yes
no
No Indicates whether the map Bots. The robot horde in Mann vs. Machine does not count.
map-has-vscript yes
no
No Indicates whether the map uses VScript, in any form.
map-hazards text No Specifies various environmental hazards present in the map.
map-hazards-underworld text No Specifies various environmental hazards present in the map's underworld.
map-items text No Set to none to show the Map Items section header and a single entry saying None. (Useful for item_test-like maps.)
map-pickups-health-small number No Specifies the number of small health pickups present in the map.
map-pickups-health-medium number No Specifies the number of medium health pickups present in the map.
map-pickups-health-large number No Specifies the number of large health pickups present in the map.
map-pickups-ammo-small number No Specifies the number of small ammo pickups present in the map.
map-pickups-ammo-medium number No Specifies the number of medium ammo pickups present in the map.
map-pickups-ammo-large number No Specifies the number of large ammo pickups present in the map.
map-pickups-special-sgg yes
no
No Indicates whether the map can spawn Soul Gargoyles.
map-pickups-special-pumpkin yes
no
No Indicates whether the map can spawn Halloween pumpkins.