Difference between revisions of "Template:Map infobox"

From Team Fortress Wiki
Jump to: navigation, search
(Added newer Finnish translations.)
(added cs)
Line 6: Line 6:
 
! colspan="2" | {{lang
 
! colspan="2" | {{lang
 
   | en = Basic information
 
   | en = Basic information
 +
  | cs = Základní informace
 
   | ko = 기본 정보
 
   | ko = 기본 정보
 
   | ar = معلومات أساسية
 
   | ar = معلومات أساسية
Line 28: Line 29:
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Map type:
 
   | en = Map type:
 +
  | cs = Typ mapy:
 
   | ko = 맵 종류:
 
   | ko = 맵 종류:
 
   | ar = نوع الخارطة:
 
   | ar = نوع الخارطة:
Line 54: Line 56:
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = File name:
 
   | en = File name:
 +
  | cs = Jméno souboru:
 
   | ko = 파일 이름:
 
   | ko = 파일 이름:
 
   | ar = اسم الملف:
 
   | ar = اسم الملف:
Line 77: Line 80:
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Version:
 
   | en = Version:
 +
  | cs = Verze:
 
   | ko = 버전:
 
   | ko = 버전:
 
   | ar = إصدار:
 
   | ar = إصدار:
Line 99: Line 103:
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Developer(s):
 
   | en = Developer(s):
 +
  | cs = Tvůrce:
 
   | ko = 제작자
 
   | ko = 제작자
 
   | ar = المُطَوَر:
 
   | ar = المُطَوَر:
Line 121: Line 126:
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Download link:
 
   | en = Download link:
 +
  | cs = Odkaz ke stažení:
 
   | ko = 다운로드 링크
 
   | ko = 다운로드 링크
 
   | ar = وصلة تنزيل:
 
   | ar = وصلة تنزيل:
Line 146: Line 152:
 
! colspan="2" {{!}} {{lang
 
! colspan="2" {{!}} {{lang
 
   | en = Map info
 
   | en = Map info
 +
  | cs = Informace
 
   | de = Karten Info
 
   | de = Karten Info
 
   | ko = 맵 정보
 
   | ko = 맵 정보
Line 167: Line 174:
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = No. of stages:
 
   | en = No. of stages:
 +
  | cs = Počet částí
 
   | de = Anzahl der Abschnitte <!-- sounds better -->
 
   | de = Anzahl der Abschnitte <!-- sounds better -->
 
   | ar = عدد المستويات:
 
   | ar = عدد المستويات:
Line 186: Line 194:
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Environment:
 
   | en = Environment:
 +
  | cs = Prostředí
 
   | de = Umgebung:
 
   | de = Umgebung:
 
   | ko = 맵 환경:
 
   | ko = 맵 환경:
Line 207: Line 216:
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Setting:
 
   | en = Setting:
 +
  | cs = Zasazení:
 
   | de = Wetter: <!-- The settings tag overwrites the wheater tag (in my opinion) -->
 
   | de = Wetter: <!-- The settings tag overwrites the wheater tag (in my opinion) -->
 
   | ko = 설정:
 
   | ko = 설정:
Line 230: Line 240:
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Weather:
 
   | en = Weather:
 +
  | cs = Počasí:
 
   | de = Wetter:
 
   | de = Wetter:
 
   | ko = 날씨:
 
   | ko = 날씨:
Line 254: Line 265:
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Deep water:
 
   | en = Deep water:
 +
  | cs = Hluboká voda:
 
   | de = Tiefes Gewässer:
 
   | de = Tiefes Gewässer:
 
   | ko = 깊은 물:
 
   | ko = 깊은 물:
Line 276: Line 288:
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Hazards:
 
   | en = Hazards:
 +
  | cs = Nebezpečí
 
   | de = Gefahren:
 
   | de = Gefahren:
 
   | ko = 위험요소:
 
   | ko = 위험요소:
Line 298: Line 311:
 
{{!}} [[File:Healthico.png|link=Health{{if lang}}|20px]]&nbsp;'''{{lang
 
{{!}} [[File:Healthico.png|link=Health{{if lang}}|20px]]&nbsp;'''{{lang
 
   | en = Health pickups:
 
   | en = Health pickups:
 +
  | cs = Lékárny:
 
   | de = Gesundheitspack:
 
   | de = Gesundheitspack:
 
   | ko = 체력 보급품:
 
   | ko = 체력 보급품:
Line 319: Line 333:
 
{{!}} [[File:Ammoico.png|link=Ammo{{if lang}}|20px]]&nbsp;'''{{lang
 
{{!}} [[File:Ammoico.png|link=Ammo{{if lang}}|20px]]&nbsp;'''{{lang
 
   | en = Ammo pickups:
 
   | en = Ammo pickups:
 +
  | cs = Náboje:
 
   | de = Munitionspack:
 
   | de = Munitionspack:
 
   | ko = 탄약 보급품:
 
   | ko = 탄약 보급품:
Line 340: Line 355:
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Special pickups:
 
   | en = Special pickups:
 +
  | cs = SPeciální předměty:
 
   | de = Spezialpack:
 
   | de = Spezialpack:
 
   | ko = 특별 보급품:
 
   | ko = 특별 보급품:
Line 365: Line 381:
 
! colspan="2" {{!}} {{lang
 
! colspan="2" {{!}} {{lang
 
   | en = Map items
 
   | en = Map items
 +
  | cs = Předměty na mapě
 
   | de = Karten Items
 
   | de = Karten Items
 
   | es = Ítems del Mapa
 
   | es = Ítems del Mapa
Line 384: Line 401:
 
   ! colspan="2" {{!}} {{lang
 
   ! colspan="2" {{!}} {{lang
 
   | en = Map items
 
   | en = Map items
 +
  | cs = Předměty na mapě
 
   | de = Karten Items
 
   | de = Karten Items
 
   | es = Ítems del Mapa
 
   | es = Ítems del Mapa
Line 402: Line 420:
 
   {{!}} [[File:Healthico.png|link=Health{{if lang}}|20px]]&nbsp;'''{{lang
 
   {{!}} [[File:Healthico.png|link=Health{{if lang}}|20px]]&nbsp;'''{{lang
 
     | en = Health kits:
 
     | en = Health kits:
 +
    | cs = Lékárny:
 
     | es = Kits Médicos:
 
     | es = Kits Médicos:
 
     | ko = 체력 회복제:
 
     | ko = 체력 회복제:
Line 423: Line 442:
 
   {{!}} [[File:Ammoico.png|link=Ammo{{if lang}}|20px]]&nbsp;'''{{lang
 
   {{!}} [[File:Ammoico.png|link=Ammo{{if lang}}|20px]]&nbsp;'''{{lang
 
     | en = Ammo boxes:
 
     | en = Ammo boxes:
 +
    | cs = Náboje:
 
     | ko = 탄약 상자:
 
     | ko = 탄약 상자:
 
     | de = Munitionspakete:
 
     | de = Munitionspakete:
Line 444: Line 464:
 
{{!}} [[File:TF2 crosshair.png|20px]]&nbsp;'''{{lang
 
{{!}} [[File:TF2 crosshair.png|20px]]&nbsp;'''{{lang
 
     | en = Special:
 
     | en = Special:
 +
    | cs = Speciální:
 
     | de = Spezial:
 
     | de = Spezial:
 
     | ko = 특별:
 
     | ko = 특별:
Line 472: Line 493:
 
{{!}} colspan=2 style="text-align:center;" {{!}} {{#ifeq: {{lc:{{{map-stamp-link|}}}}} | unavailable | ''{{lang
 
{{!}} colspan=2 style="text-align:center;" {{!}} {{#ifeq: {{lc:{{{map-stamp-link|}}}}} | unavailable | ''{{lang
 
   | en = Supporters leaderboard not yet available.
 
   | en = Supporters leaderboard not yet available.
 +
  | cs = Tabulka lidí, jež podpořili tuto mapu není k dispozici.
 
   | de = Unterstützer-Rangliste noch nicht verfügbar.
 
   | de = Unterstützer-Rangliste noch nicht verfügbar.
 
   | ko = 지원자 목록이 적용 안 됨
 
   | ko = 지원자 목록이 적용 안 됨
Line 487: Line 509:
 
[{{{map-stamp-link}}} {{lang
 
[{{{map-stamp-link}}} {{lang
 
   | en = Supporters Leaderboard
 
   | en = Supporters Leaderboard
 +
  | cs = Tabulka lidí, jež podpořili tuto mapu
 
   | de = Unterstützer-Rangliste
 
   | de = Unterstützer-Rangliste
 
   | ko = 지원자 목록이 적용됨
 
   | ko = 지원자 목록이 적용됨
Line 514: Line 537:
 
  | 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, tr}}
+
{{ts|ar, cs, 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 11:22, 16 August 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 https://steamcommunity.com/stats/TF2/leaderboards/{id_here} Community maps If a map stamp is available in the Mann Co. Store, provide a link to the supporters leaderboard.
Set to unavailable to display the map stamp and a "Supporters leaderboard not yet available" line.
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.