Difference between revisions of "Template:Map infobox"

From Team Fortress Wiki
Jump to: navigation, search
(General improvements for syncing between en and translated pages. Fallback parameters and categories will be removed once the transition is complete.)
m (Undo edit by Tark (Talk) (3572382) ~ Today is not my day.)
(Tag: Undo)
Line 1: Line 1:
<includeonly>{| class="infobox" style="max-width: 300px;"
+
{| class="infobox"
! colspan="2" style="background-color:#F3A957;" | {{#ifeq: {{{map-status|}}} | custom | {{{map-name|{{BASEPAGENAME}}}}} | {{map name|{{{map-name|{{BASEPAGENAME}}}}}}} }}
+
! colspan="2" style="background-color:#F3A957;" | {{{map-name-override|{{{NAME|{{{name|{{BASEPAGENAME}}}}}}}}}}}
 
|-
 
|-
| colspan=2 style="text-align:center;" | {{#if: {{{map-image|}}} | [[File:{{{map-image|{{{map-name|{{BASEPAGENAME}}}}}.png}}}|300px]] | [[File:Screenshot needed.png|300px|link=File:{{{map-name|{{BASEPAGENAME}}}}}.png]] }}
+
| colspan=2 style="text-align:center;" | [[File:{{{map-image|Screenshot needed.png}}}|300px]]
 
|-
 
|-
! colspan="2" | {{lang
+
! colspan="2" | {{Dictionary/common_strings/basic information}}
  | en = Basic Information
 
  | ar = معلومات أساسية
 
  | cs = Základní informace
 
  | da = Information
 
  | de = Informationen
 
  | es = Información básica
 
  | fi = Perustiedot
 
  | fr = Informations de base
 
  | hu = Alapvető információk
 
  | it = Informazioni di Base
 
  | ja = インフォメーション
 
  | ko = 기본 정보
 
  | nl = Basisinformatie
 
  | no = Grunnleggende informasjon
 
  | pl = Podstawowe informacje
 
  | pt = Informações básicas
 
  | pt-br = Informações básicas
 
  | ro = Informaţii de bază
 
  | ru = Информация
 
  | sv = Grundläggande Information
 
  | tr = Temel Bilgiler
 
  | zh-hans = 基本信息
 
  | zh-hant = 資訊
 
  }}
 
 
|-
 
|-
{{#if: {{{map-game-type|{{{game-type|}}}}}} |
+
{{#if: {{{game-type|}}} |
{{!}} '''{{lang
+
{{!}} '''{{Dictionary/common_strings/map type}}''' {{!!}} [[{{#switch: {{lc:{{{game-type|}}}}}
  | en = Map type:
 
  | ar = نوع الماب:
 
  | cs = Typ mapy:
 
  | da = Banetype:
 
  | de = Typ:
 
  | es = Tipo de mapa:
 
  | fi = Karttatyyppi:
 
  | fr = Type de carte:
 
  | hu = Pálya típusa:
 
  | it = Tipo di mappa:
 
  | ja = ゲームモード:
 
  | ko = 맵 종류:
 
  | nl = Kaarttype:
 
  | no = Kart type:
 
  | pl = Rodzaj mapy:
 
  | pt = Tipo de mapa:
 
  | pt-br = Tipo de mapa:
 
  | ro = Tipul hărţii:
 
  | ru = Тип карты:
 
  | sv = Typ:
 
  | tr = Harita türü:
 
  | zh-hans = 种类:
 
  | zh-hant = 種類:
 
}}''' {{!!}} [[{{#switch: {{lc:{{{map-game-type|{{{game-type|}}}}}}}}
 
 
       | control point = Control Point (game mode)
 
       | control point = Control Point (game mode)
       | special delivery = Special Delivery (game mode)
+
       | special delivery = Special Delivery (Game Mode)
      | boot camp = Boot Camp (Mann vs. Machine)
+
       | #default = {{{game-type|}}}
       | #default = {{{map-game-type|{{{game-type|}}}}}}
+
     }}{{if lang}}|{{map type|{{{game-type}}}}}]]
     }}{{if lang}}|{{common string|{{#switch: {{lc:{{{map-game-type|{{{game-type|}}}}}}}}
 
      | versus saxton hale = versus saxton hale (community)
 
      | zombie infection = zombie infection (community)
 
      | #default = {{{map-game-type|{{{game-type}}}}}}
 
    }}}}]]
 
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{map-file-name|{{{file-name|}}}}} |
+
{{#if: {{{file-name|}}} |
{{!}} '''{{lang
+
{{!}} '''{{Dictionary/common_strings/file name}}:''' {{!!}} <code>{{{file-name}}}</code>
  | en = File name:
 
  | ar =  اسم الملف:
 
  | cs = Název souboru:
 
  | da = Filnavn:
 
  | de = Dateiname:
 
  | es = Nombre del archivo:
 
  | fi = Tiedostonimi
 
  | fr = Nom du fichier:
 
  | hu = Fájl neve:
 
  | it = Nome del file:
 
  | ja = ファイル名:
 
  | ko = 파일명:
 
  | nl = Bestandsnaam:
 
  | no = Filnavn:
 
  | pl = Nazwa pliku:
 
  | pt = Nome do ficheiro:
 
  | pt-br = Nome do arquivo:
 
  | ro = Numele fişierului:
 
  | ru = Имя файла:
 
  | sv = Filnamn:
 
  | tr = Dosya adı:
 
  | zh-hans = 文件名:
 
  | zh-hant = 檔案名稱:
 
}}''' {{!!}} <code>{{{map-file-name|{{{file-name}}}}}}</code>
 
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{map-version|{{{current-version|}}}}}} |
+
{{#if: {{{current-version|}}} |
{{!}} '''{{lang
+
{{!}} '''{{Dictionary/common_strings/version}}:''' {{!!}} {{{current-version}}}
  | en = Version:
 
  | ar = إصدار:
 
  | cs = Verze:
 
  | da = Version:
 
  | de = Version:
 
  | es = Versión:
 
  | fi = Versio:
 
  | fr = Version:
 
  | hu = Verzió:
 
  | it = Versione:
 
  | ja = バージョン:
 
  | ko = 버전:
 
  | nl = Versie:
 
  | no = Versjon:
 
  | pl = Wersja:
 
  | pt = Versão:
 
  | pt-br = Versão:
 
  | ro = Versiunea:
 
  | ru = Версия:
 
  | sv = Version:
 
  | tr = Sürüm:
 
  | zh-hans = 版本:
 
  | zh-hant = 版本:
 
}}''' {{!!}} {{{map-version|{{{current-version}}}}}}
 
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{map-released|{{{release-date|}}}}}} |
+
{{#if: {{{map-strategy|}}} | | {{#if: {{{release-date|}}} |
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Released:
 
   | en = Released:
Line 148: Line 47:
 
   | zh-hans = 发布时间:
 
   | zh-hans = 发布时间:
 
   | zh-hant = 釋出時間:
 
   | zh-hant = 釋出時間:
   }}''' {{!!}} {{#if: {{{map-released-major|}}}
+
   }}''' {{!!}} {{{release-date}}}
  | {{lang incomplete
 
    | en = {{{map-released}}}<br>(
 
    | ja = {{{map-released}}}<br>(
 
    | zh-hans = {{{map-released}}}<br>(
 
    | zh-hant = {{{map-released}}}<br>(
 
  }}{{#switch: {{lc:{{{map-released-major}}}}}
 
    | launch = {{update name|{{{map-released-major}}}}}
 
    | #default = {{update link|{{{map-released-major}}}}}
 
  }}{{lang incomplete
 
    | en = )
 
    | ja = )
 
    | zh-hans = )
 
    | zh-hant = )
 
  }}
 
  | {{{map-released|{{{release-date}}}}}}
 
}}
 
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{Map Variant/Substring|{{{map-name|{{BASEPAGENAME}}}}}}} |
+
{{#if: {{{last-updated|}}} |
{{!}} '''{{lang
 
  | en = Variants:
 
  | pt-br = Variantes:
 
}}''' {{!!}} {{Map Variant/Substring|{{{map-name|{{BASEPAGENAME}}}}}}}
 
{{!}}-
 
}}
 
{{#if: {{{map-updated|{{{last-updated|}}}}}} |
 
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Last updated:
 
   | en = Last updated:
Line 192: Line 68:
 
   | zh-hans = 最后更新:
 
   | zh-hans = 最后更新:
 
   | zh-hant = 最近更新:
 
   | zh-hant = 最近更新:
   }}''' {{!!}} {{{map-updated|{{{last-updated}}}}}}
+
   }}''' {{!!}} {{{last-updated}}}
 
{{!}}-
 
{{!}}-
}}
+
}}}}
{{#ifeq: {{{map-status|}}} | custom |
 
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Developer(s):
 
   | en = Developer(s):
Line 218: Line 93:
 
   | zh-hans = 开发者:
 
   | zh-hans = 开发者:
 
   | zh-hant = 開發者:
 
   | zh-hant = 開發者:
   }}''' {{!!}} {{{map-developer|{{{developer|}}}}}}
+
   }}''' {{!!}} {{{developer|[[Valve{{if lang}}|Valve]]}}}
{{!}}- |
 
{{!}} '''{{lang
 
  | en = Developer(s):
 
  | ar = :المُطَوَر
 
  | cs = Tvůrce:
 
  | da = Udvikler(e):
 
  | de = Entwickler:
 
  | es = Desarrollado por:
 
  | fi = Tekijä(t):
 
  | fr = Développeur(s) :
 
  | hu = Fejlesztő(k):
 
  | it = Sviluppatore/i:
 
  | ja = 製作者
 
  | ko = 제작:
 
  | nl = Ontwikkelaar(s):
 
  | pl = Autor(zy):
 
  | pt-br = Desenvolvedor(es):
 
  | ro = Dezvoltator(i):
 
  | ru = Автор(-ы):
 
  | sv = Utvecklare:
 
  | tr = Yapımcı(lar):
 
  | zh-hans = 开发者:
 
  | zh-hant = 開發者:
 
  }}''' {{!!}} {{Map credits|{{{map-file-name|{{{file-name}}}}}}}}
 
 
{{!}}-
 
{{!}}-
}}
+
{{#if: {{{link|}}} |
{{#if: {{{map-links|{{{links|}}}}}} |
 
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Link(s):
 
   | en = Link(s):
Line 263: Line 113:
 
   | zh-hans = 链接:
 
   | zh-hans = 链接:
 
   | zh-hant = 連接:
 
   | zh-hant = 連接:
}}''' {{!!}} {{{map-links|{{{links}}}}}}
+
}}''' {{!!}} {{{link}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 292: Line 142:
 
   }}   
 
   }}   
 
{{!}}-
 
{{!}}-
{{#if: {{{map-has-n-stages|{{{map-multiple-stages|}}}}}} |  
+
{{#if: {{{map-multiple-stages|}}} |  
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = No. of Stages:
 
   | en = No. of Stages:
Line 315: Line 165:
 
   | zh-hans = 阶段数:
 
   | zh-hans = 阶段数:
 
   | zh-hant = 區域:
 
   | zh-hant = 區域:
   }}''' {{!!}} {{{map-has-n-stages|{{{map-multiple-stages}}}}}}  
+
   }}''' {{!!}} {{{map-multiple-stages}}}  
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 363: Line 213:
 
   | sv = Scensättning:
 
   | sv = Scensättning:
 
   | tr = Ortam:
 
   | tr = Ortam:
   | zh-hans = 设定:
+
   | zh-hans = 时间:
 
   | zh-hant = 環境設定:
 
   | zh-hant = 環境設定:
 
   }}''' {{!!}} {{{map-setting}}}  
 
   }}''' {{!!}} {{{map-setting}}}  
Line 392: Line 242:
 
   | zh-hant = 天氣:
 
   | zh-hant = 天氣:
 
   }}''' {{!!}} {{{map-weather}}}
 
   }}''' {{!!}} {{{map-weather}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{map-deep-water|}}} |
 +
{{!}} '''{{lang
 +
  | en = Deep Water:
 +
  | ar = :المياه العميقة
 +
  | cs = Hluboká voda:
 +
  | da = Dybt vand:
 +
  | de = Tiefes Gewässer:
 +
  | es = Aguas profundas:
 +
  | fi = Syvää vettä:
 +
  | fr = Eau profonde :
 +
  | hu = Mélyvíz:
 +
  | it = Acqua profonda:
 +
  | ja = 水中
 +
  | ko = 깊은 물:
 +
  | nl = Diep water:
 +
  | pl = Głębokie wody:
 +
  | pt-br = Águas profundas:
 +
  | ro = Apă adâncă:
 +
  | ru = Глубокие водоёмы:
 +
  | sv = Djupt vatten:
 +
  | tr = Su altı:
 +
  | zh-hans = 深水:
 +
  | zh-hant = 深水坑:
 +
  }}''' {{!!}} {{{map-deep-water}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 420: Line 296:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{map-hazards-underworld|{{{map-underworld-hazards|}}}}}} |
+
{{#if: {{{map-underworld-hazards|}}} |
 
{{!}} '''{{lang
 
{{!}} '''{{lang
   | en = Hazards ([[Underworld]]):
+
   | en = Underworld<br>hazards:
   | pt-br = Perigos ([[Underworld/pt-br|Submundo]]):
+
  | de = Unterwelt<br>Gefährlichkeiten:
}}''' {{!!}} {{{map-hazards-underworld|{{{map-underworld-hazards}}}}}}
+
  | es = Peligros del<br>Inframundo:
 +
  | fr = Dangers des<br>enfers :
 +
  | it = Pericoli del<br>Sottomondo
 +
  | ko = 지하 세계 위험 요소:
 +
  | nl = Gevaren van de <br>onderwereld:
 +
  | pl = Zagrożenia w<br>czyśćcu
 +
   | pt-br = Perigos do<br>Submundo:
 +
  | ru = Угрозы<br>Загробного мира:
 +
  | zh-hans = 地下世界<br>危害:
 +
  | zh-hant = 煉獄<br>環境傷害
 +
  }}''' {{!!}} {{{map-underworld-hazards}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{map-has-deep-water|{{{map-deep-water|}}}}}} |
+
{{#if: {{{map-pyrovision|}}} |
 
{{!}} '''{{lang
 
{{!}} '''{{lang
   | en = Deep Water:
+
   | en = Pyrovision:
  | ar = :المياه العميقة
+
   | de = Pyrovision:
  | cs = Hluboká voda:
+
   | es = Pyrovisión:
  | da = Dybt vand:
+
   | fi = Pyronäkö:
   | de = Tiefes Gewässer:
+
   | fr = Pyrovision :
   | es = Aguas profundas:
+
   | hu = Pirólátás:
   | fi = Syvää vettä:
+
   | it = Pirovisione:
   | fr = Eau profonde :
+
   | ja = パイロビジョン
   | hu = Mélyvíz:
+
   | ko = 파이로 시야:
   | it = Acqua profonda:
+
   | nl = Pyrovisie:
   | ja = 水中
+
   | pl = Pyrowizja:
   | ko = 깊은 물:
+
   | pt-br = Pyrovisão:
   | nl = Diep water:
+
   | ru = Пирозрение:
   | pl = Głębokie wody:
+
   | tr = Pyrogöz:
   | pt-br = Água funda:
+
   | zh-hans = 火焰兵幻境:
  | ro = Apă adâncă:
+
   | zh-hant = 幻想世界:
   | ru = Глубокие водоёмы:
+
   }}''' {{!!}} {{{map-pyrovision}}}
  | sv = Djupt vatten:
 
   | tr = Su altı:
 
   | zh-hans = 深水:
 
   | zh-hant = 深水坑:
 
   }}''' {{!!}}{{#switch: {{lc: {{{map-has-deep-water|{{{map-deep-water}}}}}}}}
 
| yes
 
| no = {{common string|{{{map-has-deep-water|{{{map-deep-water}}}}}}}}
 
| #default = {{{map-deep-water}}}
 
}}
 
{{!}}-
 
}}
 
{{#if: {{{map-has-pyrovision|{{{map-pyrovision|}}}}}} |
 
{{!}} '''Pyrovision Support:''' {{!!}}{{#switch: {{lc: {{{map-has-pyrovision|{{{map-pyrovision}}}}}}}}
 
| yes
 
| no = {{common string|{{{map-has-pyrovision|{{{map-pyrovision}}}}}}}}
 
| #default = {{{map-pyrovision}}}
 
}}
 
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{map-has-bots|{{{map-bots|}}}}}} |
+
{{#if: {{{map-health-pickups|}}} |
{{!}} '''Bot Support:''' {{!!}}<!-- TARK: THIS IS USELESS !! REMOVE AFTER MIGRATION !! -->{{#switch: {{lc: {{{map-has-bots|{{{map-bots}}}}}}}}
 
| yes
 
| no = {{common string|{{{map-has-bots|{{{map-bots}}}}}}}}
 
| 1 = {{common string|yes}}
 
| #default = {{{map-bots}}}
 
}}
 
{{!}}-
 
}}
 
{{#if: {{{map-pickups-health|{{{map-health-pickups|}}}}}} |
 
 
{{!}} [[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:
Line 497: Line 357:
 
   | zh-hans = 医疗包:
 
   | zh-hans = 医疗包:
 
   | zh-hant = 補血包:
 
   | zh-hant = 補血包:
   }}''' {{!!}} {{{map-pickups-health|{{{map-health-pickups}}}}}}  
+
   }}''' {{!!}} {{{map-health-pickups}}}  
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{map-pickups-ammo|{{{map-ammo-pickups|}}}}}} |
+
{{#if: {{{map-ammo-pickups|}}} |
 
{{!}} [[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:
Line 521: Line 381:
 
   | sv = Ammunitionsupplock:
 
   | sv = Ammunitionsupplock:
 
   | tr = Cephane Tedarikleri:
 
   | tr = Cephane Tedarikleri:
   | zh-hans = 弹药盒:
+
   | zh-hans = 弹药箱:
 
   | zh-hant = 彈藥盒:
 
   | zh-hant = 彈藥盒:
   }}''' {{!!}} {{{map-pickups-ammo|{{{map-ammo-pickups}}}}}}
+
   }}''' {{!!}} {{{map-ammo-pickups}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{map-pickups-special|{{{map-special-pickups|}}}}}} |
+
{{#if: {{{map-special-pickups|}}} |
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Special Pickups:
 
   | en = Special Pickups:
Line 549: Line 409:
 
   | zh-hans = 特殊拾取物:
 
   | zh-hans = 特殊拾取物:
 
   | zh-hant = 特殊物品:
 
   | zh-hant = 特殊物品:
   }}''' {{!!}} {{{map-pickups-special|{{{map-special-pickups}}}}}}  
+
   }}''' {{!!}} {{{map-special-pickups}}}  
 
{{!}}-  
 
{{!}}-  
 
}}  
 
}}  
Line 578: Line 438:
 
}}
 
}}
 
{{!}}-
 
{{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}} ''{{lang
+
{{!}} colspan="2" style="text-align:center;" {{!}} ''None''
  | en = None
 
  | pt-br = Nenhum
 
}}''
 
 
{{!}}-
 
{{!}}-
| {{#if: {{{map-pickups-health-small|{{{map-health-pickups-small|}}}}}} {{{map-pickups-health-medium|{{{map-health-pickups-medium|}}}}}} {{{map-pickups-health-large|{{{map-health-pickups-large|}}}}}} {{{map-pickups-ammo-small|{{{map-ammo-pickups-small|}}}}}} {{{map-pickups-ammo-medium|{{{map-ammo-pickups-medium|}}}}}} {{{map-pickups-ammo-large|{{{map-ammo-pickups-large|}}}}}} {{{map-pickups-special-sgg|{{{map-special-pickups-sgg|}}}}}} {{{map-pickups-special-pumpkin|{{{map-special-pickups-pumpkin|}}}}}} |
+
| {{#if: {{{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-sgg|}}} {{{map-special-pickups-pumpkin|}}} |
 
   ! colspan="2" {{!}} {{lang
 
   ! colspan="2" {{!}} {{lang
 
   | en = Map Items
 
   | en = Map Items
Line 607: Line 464:
 
   {{!}}-
 
   {{!}}-
 
| }}
 
| }}
{{#if: {{{map-pickups-health-small|{{{map-health-pickups-small|}}}}}} {{{map-pickups-health-medium|{{{map-health-pickups-medium|}}}}}} {{{map-pickups-health-large|{{{map-health-pickups-large|}}}}}} |  
+
{{#if: {{{map-health-pickups-small|}}} {{{map-health-pickups-medium|}}} {{{map-health-pickups-large|}}} |  
 
   {{!}} [[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:
Line 631: Line 488:
 
     }}'''
 
     }}'''
 
   {{!}} style="text-align:center;" {{!}}<!--
 
   {{!}} style="text-align:center;" {{!}}<!--
-->{{#if: {{{map-pickups-health-small|{{{map-health-pickups-small|}}}}}}  | {{Map infobox/Health pickups|map-name={{{map-name|{{BASEPAGENAME}}}}}|small|{{{map-pickups-health-small|{{{map-health-pickups-small}}}}}}}}}}<!--
+
-->{{#if: {{{map-health-pickups-small|}}}  | {{Map infobox/Health pickups|map-name={{{base-map-name-en|}}}|small|{{{map-health-pickups-small}}}}}}}<!--
-->{{#if: {{{map-pickups-health-medium|{{{map-health-pickups-medium|}}}}}} | {{#if: {{{map-pickups-health-small|{{{map-health-pickups-small|}}}}}} | &nbsp;{{b}}&nbsp;}}}}<!-- Add {{b}} between small & medium pickups
+
-->{{#if: {{{map-health-pickups-medium|}}} | {{#if: {{{map-health-pickups-small|}}} | &nbsp;{{b}}&nbsp;}}}}<!-- Add {{b}} between small & medium pickups
-->{{#if: {{{map-pickups-health-medium|{{{map-health-pickups-medium|}}}}}} | {{Map infobox/Health pickups|map-name={{{map-name|{{BASEPAGENAME}}}}}|medium|{{{map-pickups-health-medium|{{{map-health-pickups-medium}}}}}}}}}}<!--
+
-->{{#if: {{{map-health-pickups-medium|}}} | {{Map infobox/Health pickups|map-name={{{base-map-name-en|}}}|medium|{{{map-health-pickups-medium}}}}}}}<!--
-->{{#if: {{{map-pickups-health-large|{{{map-health-pickups-large|}}}}}}  | {{#if: {{{map-pickups-health-medium|{{{map-health-pickups-medium|}}}}}}{{{map-pickups-health-small|{{{map-health-pickups-small|}}}}}} | &nbsp;{{b}}&nbsp;}}}}<!-- Add {{b}} between small & large / medium & large pickups
+
-->{{#if: {{{map-health-pickups-large|}}}  | {{#if: {{{map-health-pickups-medium|}}}{{{map-health-pickups-small|}}} | &nbsp;{{b}}&nbsp;}}}}<!-- Add {{b}} between small & large / medium & large pickups
-->{{#if: {{{map-pickups-health-large|{{{map-health-pickups-large|}}}}}}  | <br>{{Map infobox/Health pickups|map-name={{{map-name|{{BASEPAGENAME}}}}}|large|{{{map-pickups-health-large|{{{map-health-pickups-large}}}}}}}}}}
+
-->{{#if: {{{map-health-pickups-large|}}}  | {{Map infobox/Health pickups|map-name={{{base-map-name-en|}}}|large|{{{map-health-pickups-large}}}}}}}
 
   {{!}}-
 
   {{!}}-
 
   | }}
 
   | }}
{{#if: {{{map-pickups-ammo-small|{{{map-ammo-pickups-small|}}}}}} {{{map-pickups-ammo-medium|{{{map-ammo-pickups-medium|}}}}}} {{{map-pickups-ammo-large|{{{map-ammo-pickups-large|}}}}}} |  
+
{{#if: {{{map-ammo-pickups-small|}}} {{{map-ammo-pickups-medium|}}} {{{map-ammo-pickups-large|}}} |  
 
   {{!}} [[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:
Line 658: Line 515:
 
     | sv = Ammunitionslådor:
 
     | sv = Ammunitionslådor:
 
     | tr = Cephane Kutuları:
 
     | tr = Cephane Kutuları:
     | zh-hans = 弹药盒:
+
     | zh-hans = 弹药箱:
 
     | zh-hant = 彈藥盒:
 
     | zh-hant = 彈藥盒:
 
     }}'''
 
     }}'''
   {{!}} style="text-align:center;" {{!}} {{#if: {{{map-pickups-ammo-small|{{{map-ammo-pickups-small|}}}}}} | [[File:Smallammo.png|link=Ammo{{if lang}}|20px]]&nbsp;&times;{{{map-pickups-ammo-small|{{{map-ammo-pickups-small}}}}}} | }} {{#if: {{{map-pickups-ammo-medium|{{{map-ammo-pickups-medium|}}}}}} | {{#if: {{{map-pickups-ammo-small|{{{map-ammo-pickups-small|}}}}}} | &nbsp;{{b}}&nbsp; | }} | }} {{#if: {{{map-pickups-ammo-medium|{{{map-ammo-pickups-medium|}}}}}} | [[File:Mediumammo.png|link=Ammo{{if lang}}|20px]]&nbsp;&times;{{{map-pickups-ammo-medium|{{{map-ammo-pickups-medium}}}}}} | }} {{#if: {{{map-pickups-ammo-large|{{{map-ammo-pickups-large|}}}}}} | {{#if: {{{map-pickups-ammo-medium|{{{map-ammo-pickups-medium|}}}}}} | &nbsp;{{b}}&nbsp; | {{#if: {{{map-pickups-ammo-small|{{{map-ammo-pickups-small|}}}}}} | &nbsp;{{b}}&nbsp; | }} }} | }} {{#if: {{{map-pickups-ammo-large|{{{map-ammo-pickups-large|}}}}}} | <br>[[File:Largeammo.png|link=Ammo{{if lang}}|20px]]&nbsp;&times;{{{map-pickups-ammo-large|{{{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}}} | }}
 
   {{!}}-
 
   {{!}}-
 
   | }}
 
   | }}
{{#if: {{{map-pickups-special-sgg|{{{map-special-pickups-sgg|}}}}}} {{{map-pickups-special-pumpkin|{{{map-special-pickups-pumpkin|}}}}}} |
+
{{#if: {{{map-special-pickups-sgg|}}} {{{map-special-pickups-pumpkin|}}} |
 
{{!}} [[File:TF2 crosshair.png|20px]]&nbsp;'''{{lang
 
{{!}} [[File:TF2 crosshair.png|20px]]&nbsp;'''{{lang
 
     | en = Special:
 
     | en = Special:
Line 687: Line 544:
 
     | zh-hant = 特殊物品:
 
     | zh-hant = 特殊物品:
 
     }}'''
 
     }}'''
   {{!}} style="text-align:center;" {{!}} {{#if: {{{map-pickups-special-sgg|{{{map-special-pickups-sgg|}}}}}} | [[File:Gargoyle Ghost.png|link=Soul Gargoyle{{if lang}}|20px]]| }} {{#if: {{{map-pickups-special-pumpkin|{{{map-special-pickups-pumpkin|}}}}}} | {{#if: {{{map-pickups-special-sgg|{{{map-special-pickups-sgg|}}}}}} | &nbsp;{{b}}&nbsp; | }} | }} {{#if: {{{map-pickups-special-pumpkin|{{{map-special-pickups-pumpkin|}}}}}} | [[File:Pumpkin.png|link=Halloween pumpkins{{if lang}}|20px]] | }}
+
   {{!}} style="text-align:center;" {{!}} {{#if: {{{map-special-pickups-sgg|}}} | [[File:Gargoyle Ghost.png|link=Soul Gargoyle{{if lang}}|20px]]| }} {{#if: {{{map-special-pickups-pumpkin|}}} | {{#if: {{{map-special-pickups-sgg|}}} | &nbsp;{{b}}&nbsp; | }} | }} {{#if: {{{map-special-pickups-pumpkin|}}} | [[File:Pumpkin.png|link=Halloween pumpkins{{if lang}}|20px]] | }}
 
   {{!}}-
 
   {{!}}-
 
   | }}
 
   | }}
Line 693: Line 550:
 
<!-- MAP ITEMS SECTION END -->
 
<!-- MAP ITEMS SECTION END -->
 
<!-- MAP PHOTOS SECTION BEGIN -->
 
<!-- MAP PHOTOS SECTION BEGIN -->
{{#ifexist:File:Menu photos {{{map-file-name|{{{file-name|error}}}}}}.png|
+
{{#ifexist:File:Menu photos {{{file-name|error}}}.png|
 
   {{!}}-
 
   {{!}}-
 
   ! colspan="2" {{!}} {{lang
 
   ! colspan="2" {{!}} {{lang
Line 714: Line 571:
 
   }}
 
   }}
 
   {{!}}-
 
   {{!}}-
   {{!}} colspan="2" {{!}} [[File:Menu photos {{{map-file-name|{{{file-name|error}}}}}}.png|300px|center|{{lang
+
   {{!}} colspan="2" {{!}} [[File:Menu photos {{{file-name}}}.png|300px|center]]
    | en = Loading screen photos.
 
    | pt-br = Imagens da tela de carregamento.
 
}}]]
 
 
   {{!}}-
 
   {{!}}-
 
}}
 
}}
 
<!-- MAP PHOTOS SECTION END -->
 
<!-- MAP PHOTOS SECTION END -->
 
<!-- MAP OVERVIEW SECTION BEGIN -->
 
<!-- MAP OVERVIEW SECTION BEGIN -->
{{#ifexist:File:{{{map-name|{{BASEPAGENAME}}}}} overview {{if lang|non-en={{SUBPAGENAME}}}}.png
+
{{#ifexist:File:{{{base-map-name-en|{{{map-name-override|{{BASEPAGENAME}}}}}}}} overview {{if lang|non-en={{SUBPAGENAME}}}}.png
 
   |{{!}}-
 
   |{{!}}-
 
   ! colspan="2" {{!}} {{lang
 
   ! colspan="2" {{!}} {{lang
Line 738: Line 592:
 
     | ru = Вид на карту сверху
 
     | ru = Вид на карту сверху
 
     | tr = Harita Genel Bakışı
 
     | tr = Harita Genel Bakışı
     | zh-hans = 地图俯视图
+
     | zh-hans = 地图俯瞰图
 
     | zh-hant = 地圖的俯瞰圖
 
     | zh-hant = 地圖的俯瞰圖
 
   }}
 
   }}
 
   {{!}}-
 
   {{!}}-
   {{!}} colspan="2" {{!}} [[File:{{{map-name|{{BASEPAGENAME}}}}} overview {{if lang|non-en={{SUBPAGENAME}}}}.png|300px|center|Map overview.]]
+
   {{!}} colspan="2" {{!}} [[File:{{{base-map-name-en|{{{map-name-override|{{BASEPAGENAME}}}}}}}} overview {{if lang|non-en={{SUBPAGENAME}}}}.png|300px|center]]
 
   {{!}}-
 
   {{!}}-
|{{#ifexist:File:{{{map-name|{{BASEPAGENAME}}}}} overview.png
+
|{{#ifexist:File:{{{base-map-name-en|{{{map-name-override|{{BASEPAGENAME}}}}}}}} overview.png
 
   |{{!}}-
 
   |{{!}}-
 
   ! colspan="2" {{!}} {{lang
 
   ! colspan="2" {{!}} {{lang
Line 764: Line 618:
 
   }}
 
   }}
 
   {{!}}-
 
   {{!}}-
   {{!}} colspan="2" {{!}} [[File:{{{map-name|{{BASEPAGENAME}}}}} overview.png|300px|center]]
+
   {{!}} colspan="2" {{!}} [[File:{{{base-map-name-en|{{{map-name-override|{{BASEPAGENAME}}}}}}}} overview.png|300px|center]]
 
   {{!}}-
 
   {{!}}-
 
}}}}
 
}}}}
Line 772: Line 626:
 
! colspan="2" {{!}} {{Item name|map stamp}}
 
! colspan="2" {{!}} {{Item name|map stamp}}
 
{{!}}-  
 
{{!}}-  
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:Item icon Map Stamp - {{map name|{{{map-name|{{BASEPAGENAME}}}}}|lang=en}}.png|170px|link=Map Stamp{{if lang}}]]
+
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:Item icon Map Stamp - {{BASEPAGENAME}}.png|170px|link=Map Stamp{{if lang}}]]
 
{{!}}-
 
{{!}}-
 
{{!}} 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
Line 788: Line 642:
 
   | nl = Aanhangerranglijst nog niet beschikbaar.
 
   | nl = Aanhangerranglijst nog niet beschikbaar.
 
   | pl = Lista wspierających nie jest jeszcze dostępna.
 
   | pl = Lista wspierających nie jest jeszcze dostępna.
   | pt-br = Classificação dos apoiadores indisponível.
+
   | pt-br = Classificação dos apoiadores ainda não disponível.
 
   | ru = Таблица поддержавших в данный момент недоступна.
 
   | ru = Таблица поддержавших в данный момент недоступна.
 
   | sv = Ledartavla för supportrar är ännu inte tillgängliga.
 
   | sv = Ledartavla för supportrar är ännu inte tillgängliga.
Line 794: Line 648:
 
   | zh-hans = 支持者排行榜尚不可用。
 
   | zh-hans = 支持者排行榜尚不可用。
 
   | zh-hant = 目前沒有贊助者的頁面。
 
   | zh-hant = 目前沒有贊助者的頁面。
   }}'' | [{{{map-stamp-link}}} {{lang
+
   }}'' |
 +
[{{{map-stamp-link}}} {{lang
 
   | en = Supporters Leaderboard
 
   | en = Supporters Leaderboard
 
   | ar = نتائج الوحة المتبرعون
 
   | ar = نتائج الوحة المتبرعون
Line 818: Line 673:
 
}}}}
 
}}}}
 
<!-- MAP STAMPS SECTION END -->
 
<!-- MAP STAMPS SECTION END -->
|}<!-- !! TRACKING !!
+
|}<includeonly>{{#if: {{{map-strategy|}}} | {{lang cat|Map strategy}} |
-->{{#switch: {{{map-status|}}}
+
{{#switch:{{lc:{{{game|}}}}}
| community = {{#if: {{{map-stamp-link|}}} | [[Category:Community maps]] | [[Category:ERROR Map infobox missing map-stamp-link]] }}
+
| tfc = {{lang cat|Maps (Classic)}}
| custom = {{#if: {{{map-workshopid|}}} | [[Category:Custom maps]] | [[Category:ERROR Map infobox missing workshopid]] }}
+
| #default = {{lang cat|Maps}}
| official = [[Category:Valve maps]]
+
}}{{#if:{{{game-type|}}}|{{#switch:{{lc:{{{game|}}}}}
| #default = [[Category:ERROR Map infobox missing map-status]] <!-- Has sreenshot -->
+
  | tfc = {{lang cat|{{{game-type}}} (Classic) maps}}
}}<!--
+
  | #default = {{lang cat|{{{game-type}}} maps}}
-->{{#if: {{{map-strategy|}}} | <!--
+
  }}
// Category: Map strategy
+
}}<!--
--> {{lang cat|Map strategy}} | <!--
+
-->{{#if: {{{map-name-override|}}} | [[Category:Map infobox outdated parameters|1]]}}<!--
// Category:Maps (game)
+
-->{{#if: {{{NAME|}}} | [[Category:Map infobox outdated parameters|2]]}}<!--
--> {{#switch: {{lc:{{{game|}}}}}
+
-->{{#if: {{{map-bots|}}} | {{lang cat|Maps supporting bots}} }}<!--
    | tfc = {{lang cat|Maps (Classic)}}
+
-->{{#if: {{{map-image|}}} | | [[Category:Maps without a screenshot]] }}}}</includeonly><noinclude>{{clr}}
    | #default = {{lang cat|Maps}}
 
    }} <!--
 
// Category:(Gamemode) maps
 
--> {{#if: {{{map-game-type|{{{game-type|}}}}}} | {{#switch: {{lc:{{{game|}}}}}
 
    | tfc = {{lang cat|{{map type|{{{map-game-type|{{{game-type}}}}}}}} (Classic) maps}}
 
    | #default = {{lang cat|{{map type|{{{map-game-type|{{{game-type}}}}}}}} maps}}
 
                                                  }}
 
    }}
 
}}<!--
 
// Check if the map page has all the assets we need
 
-->{{#ifeq: {{{map-status|}}} | custom | <!-- Ignore custom maps --> | <!--
 
-->{{#ifexist: File:{{{map-image|{{{map-name|{{BASEPAGENAME}}}}}.png}}} | <!-- Has screenshot --> | [[Category:Maps without a screenshot]] }}<!--
 
-->{{#ifexist: File:Menu photos {{{map-file-name|{{{file-name|{{BASEPAGENAME}}}}}}}}.png | <!-- Has menu photos --> | [[Category:Maps without menu photos]] }}<!--
 
-->{{#ifexist: File:{{{map-name|{{BASEPAGENAME}}}}} overview.png | <!-- Has overview --> | [[Category:Maps without overviews]] }}<!--
 
// End 'official map' images
 
-->}}<!--
 
-->{{#if: {{{map-has-bots|}}} | [[Category:Maps with bot support]] | }}<!--
 
-->{{#if: {{{map-has-n-stages|}}} | [[Category:Maps with multiple stages]] | }}<!--
 
-->{{#if: {{{map-has-deep-water|}}} | [[Category:Maps with deep water]] | }}<!--
 
-->{{#if: {{{map-has-vscript|}}} | [[Category:Maps with VScript]] | }}<!--
 
-->{{#if: {{Map Variant/Substring|{{{map-name|{{BASEPAGENAME}}}}}}} | [[Category:Maps with multiple variants]] | }}</includeonly><noinclude>{{clr}}
 
 
{{Complex template}}
 
{{Complex template}}
 
{{ts|en, de, es, fr, hu, ja, ko, pl, pt-br, ru, tr, zh-hans, zh-hant}}
 
{{ts|en, de, es, fr, hu, ja, ko, pl, pt-br, ru, tr, zh-hans, zh-hant}}

Revision as of 11:29, 5 December 2023

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 overview image, the file name should be the map-name parameter input (i.e. "Upward" or "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 (i.e. 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-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. Defaults to File:Screenshot needed.png.
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-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.