Difference between revisions of "Template:Map infobox"

From Team Fortress Wiki
Jump to: navigation, search
Line 20: Line 20:
 
   | ru = Информация
 
   | ru = Информация
 
   | sv = Grundläggande Information
 
   | sv = Grundläggande Information
 +
  | tr = Temel Bilgiler
 
   | zh-hans = 基本资料
 
   | zh-hans = 基本资料
 
   | zh-hant = 基本資料
 
   | zh-hant = 基本資料
Line 41: Line 42:
 
   | ru = Тип карты:
 
   | ru = Тип карты:
 
   | sv = Typ:
 
   | sv = Typ:
 +
  | tr = Harita tipi:
 
   | zh-hans = 种类:
 
   | zh-hans = 种类:
 
   | zh-hant = 種類:
 
   | zh-hant = 種類:
Line 66: Line 68:
 
   | ru = Имя файла:
 
   | ru = Имя файла:
 
   | sv = Fil namn:
 
   | sv = Fil namn:
 +
  | tr = Dosya adı:
 
   | zh-hans = 文件名:
 
   | zh-hans = 文件名:
 
   | zh-hant = 文件名:
 
   | zh-hant = 文件名:
Line 88: Line 91:
 
   | ru = Версия:
 
   | ru = Версия:
 
   | sv = Version:
 
   | sv = Version:
 +
  | tr = Versiyon:
 
   | zh-hans = 版本:
 
   | zh-hans = 版本:
 
   | zh-hant = 版本:
 
   | zh-hant = 版本:
Line 109: Line 113:
 
   | ru = Автор(ы):
 
   | ru = Автор(ы):
 
   | sv = Utvecklare:
 
   | sv = Utvecklare:
 +
  | tr = Yapımcı(lar):
 
   | zh-hans = 开发者:
 
   | zh-hans = 开发者:
 
   | zh-hant = 開發者:
 
   | zh-hant = 開發者:
Line 130: Line 135:
 
   | ru = Ссылка для загрузки:
 
   | ru = Ссылка для загрузки:
 
   | sv = Nerladdnings länk:
 
   | sv = Nerladdnings länk:
 +
  | tr = İndirme bağlantısı
 
   | zh-hans = 下载链接:
 
   | zh-hans = 下载链接:
 
   | zh-hant = 下載鏈接:
 
   | zh-hant = 下載鏈接:
Line 152: Line 158:
 
   | ro = Informaţii Hartă
 
   | ro = Informaţii Hartă
 
   | ru = Информация о карте  
 
   | ru = Информация о карте  
 +
  | tr = Harita Bilgisi
 
   | zh-hans = 地图资料:
 
   | zh-hans = 地图资料:
 
   | zh-hant = 地圖資料:
 
   | zh-hant = 地圖資料:
Line 170: Line 177:
 
   | ro = Nr. de stagii
 
   | ro = Nr. de stagii
 
   | ru = Количество этапов:
 
   | ru = Количество этапов:
 +
  | tr = Etap sayısı:
 
   }}''' {{!!}} {{{map-multiple-stages}}}  
 
   }}''' {{!!}} {{{map-multiple-stages}}}  
 
{{!}}-
 
{{!}}-
Line 187: Line 195:
 
   | ro = Mediu
 
   | ro = Mediu
 
   | ru = Условия:
 
   | ru = Условия:
 +
  | tr = Çevre:
 
   | zh-hans = 环境:
 
   | zh-hans = 环境:
 
   | zh-hant = 環境:
 
   | zh-hant = 環境:
Line 206: Line 215:
 
   | ro = Decor:
 
   | ro = Decor:
 
   | ru = Окружение:
 
   | ru = Окружение:
 +
  | tr = Ortam:
 
   }}''' {{!!}} {{{map-setting}}}  
 
   }}''' {{!!}} {{{map-setting}}}  
 
{{!}}-
 
{{!}}-
Line 226: Line 236:
 
   | ro = Vreme:
 
   | ro = Vreme:
 
   | ru = Погода:
 
   | ru = Погода:
 +
  | tr = Hava durumu:
 
   | zh-hans = 天气:
 
   | zh-hans = 天气:
 
   | zh-hant = 天氣:
 
   | zh-hant = 天氣:
Line 248: Line 259:
 
   | ro = Apă adâncă
 
   | ro = Apă adâncă
 
   | ru = Глубокие воды:
 
   | ru = Глубокие воды:
 +
  | tr = Su altı:
 
   | zh-hans = 深水:
 
   | zh-hans = 深水:
 
   | zh-hant = 深水:
 
   | zh-hant = 深水:
Line 268: Line 280:
 
   | ro = Pericole
 
   | ro = Pericole
 
   | ru = Опасности:
 
   | ru = Опасности:
 +
  | tr = Çevresel Etkenler:
 
   | zh-hans = 危害:
 
   | zh-hans = 危害:
 
   | zh-hant = 危害:
 
   | zh-hant = 危害:
Line 288: Line 301:
 
   | ro = Truse cu Viaţă:
 
   | ro = Truse cu Viaţă:
 
   | ru = Аптечки
 
   | ru = Аптечки
 +
  | tr = Sağlık tedarikleri:
 
   }}''' {{!!}} {{{map-health-pickups}}}  
 
   }}''' {{!!}} {{{map-health-pickups}}}  
 
{{!}}-
 
{{!}}-
Line 306: Line 320:
 
   | ro = Pachete de muniţie
 
   | ro = Pachete de muniţie
 
   | ru = Боеприпасы
 
   | ru = Боеприпасы
 +
  | tr = Cephane tedarikleri
 
   }}''' {{!!}} {{{map-ammo-pickups}}}
 
   }}''' {{!!}} {{{map-ammo-pickups}}}
 
{{!}}-
 
{{!}}-
Line 324: Line 339:
 
   | ro = Pachete Speciale:
 
   | ro = Pachete Speciale:
 
   | ru = Специальные:
 
   | ru = Специальные:
 +
  | tr = Özel tedarikler:
 
   }}''' {{!!}} {{{map-special-pickups}}}  
 
   }}''' {{!!}} {{{map-special-pickups}}}  
 
{{!}}-  
 
{{!}}-  
Line 343: Line 359:
 
   | pt-br = Itens do Mapa
 
   | pt-br = Itens do Mapa
 
   | ru = Предметы на карте
 
   | ru = Предметы на карте
 +
  | tr = Harita Eşyaları
 
}}
 
}}
 
{{!}}-
 
{{!}}-
Line 359: Line 376:
 
   | pt-br = Itens do Mapa
 
   | pt-br = Itens do Mapa
 
   | ru = Предметы на карте
 
   | ru = Предметы на карте
 +
  | tr = Harita Eşyaları
 
   }}
 
   }}
 
   {{!}}-
 
   {{!}}-
Line 376: Line 394:
 
     | pt-br = Kits de saúde
 
     | pt-br = Kits de saúde
 
     | ru = Аптечки
 
     | ru = Аптечки
 +
    | tr = Sağlık paketleri:
 
     }}'''
 
     }}'''
 
   {{!}} 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]] ×{{{map-health-pickups-small}}} | }} {{#if: {{{map-health-pickups-medium|}}} | {{#if: {{{map-health-pickups-small|}}} |  {{b}}  | }} | }} {{#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]] ×{{{map-health-pickups-medium|}}} | }} {{#if: {{{map-health-pickups-large|}}} | {{#if: {{{map-health-pickups-medium|}}} |  {{b}}  | {{#if: {{{map-health-pickups-small|}}} |  {{b}}  | }} }} | }} {{#if: {{{map-health-pickups-large|}}} | [[File:{{#switch: {{BASEPAGENAME}} | Mann Manor = Health_Cauldron | Harvest Event = Health_Cauldron | #default = Largehealth}}.png|link=Health{{if lang}}|20px]] ×{{{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]] ×{{{map-health-pickups-small}}} | }} {{#if: {{{map-health-pickups-medium|}}} | {{#if: {{{map-health-pickups-small|}}} |  {{b}}  | }} | }} {{#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]] ×{{{map-health-pickups-medium|}}} | }} {{#if: {{{map-health-pickups-large|}}} | {{#if: {{{map-health-pickups-medium|}}} |  {{b}}  | {{#if: {{{map-health-pickups-small|}}} |  {{b}}  | }} }} | }} {{#if: {{{map-health-pickups-large|}}} | [[File:{{#switch: {{BASEPAGENAME}} | Mann Manor = Health_Cauldron | Harvest Event = Health_Cauldron | #default = Largehealth}}.png|link=Health{{if lang}}|20px]] ×{{{map-health-pickups-large}}} | }}
Line 394: Line 413:
 
     | pt-br = Caixas de munição:
 
     | pt-br = Caixas de munição:
 
     | ru = Боеприпасы
 
     | ru = Боеприпасы
 +
    | tr = Cephane kutuları:
 
     }}'''
 
     }}'''
 
   {{!}} style="text-align:center;" {{!}} {{#if: {{{map-ammo-pickups-small|}}} | [[File:Smallammo.png|link=Ammo{{if lang}}|20px]] ×{{{map-ammo-pickups-small}}} | }} {{#if: {{{map-ammo-pickups-medium|}}} | {{#if: {{{map-ammo-pickups-small|}}} |  {{b}}  | }} | }} {{#if: {{{map-ammo-pickups-medium|}}} | [[File:Mediumammo.png|link=Ammo{{if lang}}|20px]] ×{{{map-ammo-pickups-medium}}} | }} {{#if: {{{map-ammo-pickups-large|}}} | {{#if: {{{map-ammo-pickups-medium|}}} |  {{b}}  | {{#if: {{{map-ammo-pickups-small|}}} |  {{b}}  | }} }} | }} {{#if: {{{map-ammo-pickups-large|}}} | [[File:Largeammo.png|link=Ammo{{if lang}}|20px]] ×{{{map-ammo-pickups-large}}} | }}
 
   {{!}} style="text-align:center;" {{!}} {{#if: {{{map-ammo-pickups-small|}}} | [[File:Smallammo.png|link=Ammo{{if lang}}|20px]] ×{{{map-ammo-pickups-small}}} | }} {{#if: {{{map-ammo-pickups-medium|}}} | {{#if: {{{map-ammo-pickups-small|}}} |  {{b}}  | }} | }} {{#if: {{{map-ammo-pickups-medium|}}} | [[File:Mediumammo.png|link=Ammo{{if lang}}|20px]] ×{{{map-ammo-pickups-medium}}} | }} {{#if: {{{map-ammo-pickups-large|}}} | {{#if: {{{map-ammo-pickups-medium|}}} |  {{b}}  | {{#if: {{{map-ammo-pickups-small|}}} |  {{b}}  | }} }} | }} {{#if: {{{map-ammo-pickups-large|}}} | [[File:Largeammo.png|link=Ammo{{if lang}}|20px]] ×{{{map-ammo-pickups-large}}} | }}
Line 412: Line 432:
 
     | pt-br = Especial:
 
     | pt-br = Especial:
 
     | ru = Специальное:
 
     | ru = Специальное:
 +
    | tr = Özel:
 
     }}'''
 
     }}'''
 
   {{!}} 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|}}} |  {{b}}  | }} | }} {{#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|}}} |  {{b}}  | }} | }} {{#if: {{{map-special-pickups-pumpkin|}}} | [[File:Pumpkin.png|link=Halloween pumpkins{{if lang}}|20px]] | }}
Line 435: Line 456:
 
   | pt-br = Classificação dos adeptos ainda não está disponível.
 
   | pt-br = Classificação dos adeptos ainda não está disponível.
 
   | ru = Таблица поддержавших в данный момент недоступна.
 
   | ru = Таблица поддержавших в данный момент недоступна.
 +
  | tr = Destekleyenler çizelgesine henüz erişilemez.
 
   }}'' |
 
   }}'' |
 
[{{{map-stamp-link}}} {{lang
 
[{{{map-stamp-link}}} {{lang
Line 449: Line 471:
 
   | pt-br = Pontuação dos Doadores
 
   | pt-br = Pontuação dos Doadores
 
   | ru = Последние поддержавшие
 
   | ru = Последние поддержавшие
 +
  | tr = Destekleyenler Çizelgesi
 
   | zh-hans = 支持者排行榜
 
   | zh-hans = 支持者排行榜
 
   | zh-hant = 支持者排行榜:
 
   | zh-hant = 支持者排行榜:
Line 463: Line 486:
 
  | non-en = <!-- disabled -->
 
  | non-en = <!-- disabled -->
 
  }}</includeonly><noinclude>{{clr}}
 
  }}</includeonly><noinclude>{{clr}}
{{ts|ar, ko , de, fr, fi, es, it, nl, pl, pt-br, ru, sv}}
+
{{ts|ar, ko , de, fr, fi, es, it, nl, pl, pt-br, ru, sv, tr}}
 
{{Template doc}}
 
{{Template doc}}
 
[[Category:Templates|Map infobox]]
 
[[Category:Templates|Map infobox]]
 
[[Category:Infobox templates|Map infobox]]
 
[[Category:Infobox templates|Map infobox]]
 
</noinclude>
 
</noinclude>

Revision as of 16:39, 19 June 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.