Difference between revisions of "Template:Map infobox"

From Team Fortress Wiki
Jump to: navigation, search
m
(And done!)
Line 3: Line 3:
 
|-
 
|-
 
| 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;" | {{#if: {{{map-image|}}} | [[File:{{{map-image|{{{map-name|{{BASEPAGENAME}}}}}.png}}}|300px]] | [[File:Screenshot needed.png|300px|link=File:{{{map-name|{{BASEPAGENAME}}}}}.png]] }}
 +
{{#if: {{{map-strategy|}}} | | {{#ifeq: {{{map-status|}}} | community |
 +
{{!}}-
 +
{{!}} colspan=2 class="infobox-data" style="text-align:center;padding-left: 2.9px;" {{!}} {{Buy now|Map Stamp - {{map name|{{{map-name|{{BASEPAGENAME}}}}}|lang=en}}|{{lang
 +
  | en = Buy Map Stamp
 +
  | pt-br = Comprar Selo de Mapa
 +
}}}}
 +
{{!}}-
 +
}}{{#ifeq: {{{map-status|}}} | custom | {{#if: {{{map-workshopid|}}} |
 +
{{!}}-
 +
{{!}} colspan=2 class="infobox-data" style="text-align:center;padding-left: 2.9px;" {{!}} {{Subscribe Workshop|{{{map-workshopid}}}}}
 +
{{!}}- }}}} }}
 
|-
 
|-
 
! colspan="2" | {{lang
 
! colspan="2" | {{lang
 
   | en = Basic Information
 
   | en = Basic Information
   | ar = معلومات أساسية  
+
   | ar = معلومات أساسية
 
   | cs = Základní informace
 
   | cs = Základní informace
 
   | da = Information
 
   | da = Information
Line 30: Line 41:
 
   }}
 
   }}
 
|-
 
|-
{{#if: {{{map-game-type|{{{game-type|}}}}}} |
+
{{#if: {{{map-game-type|}}} |
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Map type:
 
   | en = Map type:
Line 55: Line 66:
 
   | zh-hans = 种类:
 
   | zh-hans = 种类:
 
   | zh-hant = 種類:
 
   | zh-hant = 種類:
}}''' {{!!}} [[{{#switch: {{lc:{{{map-game-type|{{{game-type|}}}}}}}}
+
}}''' {{!!}} [[{{#switch: {{lc:{{{map-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)
 
       | boot camp = Boot Camp (Mann vs. Machine)
       | #default = {{{map-game-type|{{{game-type|}}}}}}
+
       | #default = {{common string|{{{map-game-type}}}|force=en}}
     }}{{if lang}}|{{common string|{{#switch: {{lc:{{{map-game-type|{{{game-type|}}}}}}}}
+
     }}{{if lang}}|{{common string|{{#switch: {{lc:{{{map-game-type}}}}}
 
       | versus saxton hale = versus saxton hale (community)
 
       | versus saxton hale = versus saxton hale (community)
 
       | zombie infection = zombie infection (community)
 
       | zombie infection = zombie infection (community)
       | #default = {{{map-game-type|{{{game-type}}}}}}
+
       | #default = {{{map-game-type}}}
 
     }}}}]]
 
     }}}}]]
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{map-file-name|{{{file-name|}}}}} |
+
{{#if: {{{map-file-name|}}} |
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = File name:
 
   | en = File name:
Line 92: Line 103:
 
   | zh-hans = 文件名:
 
   | zh-hans = 文件名:
 
   | zh-hant = 檔案名稱:
 
   | zh-hant = 檔案名稱:
}}''' {{!!}} <code>{{{map-file-name|{{{file-name}}}}}}</code>
+
}}''' {{!!}} <code>{{{map-file-name}}}</code>
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{map-version|{{{current-version|}}}}}} |
+
{{#if: {{{map-version|}}} |
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Version:
 
   | en = Version:
Line 120: Line 131:
 
   | zh-hans = 版本:
 
   | zh-hans = 版本:
 
   | zh-hant = 版本:
 
   | zh-hant = 版本:
}}''' {{!!}} {{{map-version|{{{current-version}}}}}}
+
}}''' {{!!}} {{{map-version}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{map-released|{{{release-date|}}}}}} |
+
{{#if: {{{map-released|}}} |
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Released:
 
   | en = Released:
Line 137: Line 148:
 
   | ja = 実装日:
 
   | ja = 実装日:
 
   | ko = 출시일:
 
   | ko = 출시일:
   | nl = Uitgebracht:  
+
   | nl = Uitgebracht:
 
   | no = Utgitt:
 
   | no = Utgitt:
 
   | pl = Dodano:
 
   | pl = Dodano:
 
   | pt = Lançado em:
 
   | pt = Lançado em:
 
   | pt-br = Adicionado em:
 
   | pt-br = Adicionado em:
   | ro = Lansat:
+
   | ro = Data de lansare:
 
   | ru = Выпущено:
 
   | ru = Выпущено:
 
   | sv = Släppt:
 
   | sv = Släppt:
Line 148: Line 159:
 
   | zh-hans = 发布时间:
 
   | zh-hans = 发布时间:
 
   | zh-hant = 釋出時間:
 
   | zh-hant = 釋出時間:
   }}''' {{!!}} {{#if: {{{map-released-major|}}}  
+
   }}''' {{!!}} {{#if: {{{map-released-major|}}}
 
   | {{lang incomplete
 
   | {{lang incomplete
 
     | en = {{{map-released}}}<br>(
 
     | en = {{{map-released}}}<br>(
Line 163: Line 174:
 
     | zh-hant = )
 
     | zh-hant = )
 
   }}
 
   }}
   | {{{map-released|{{{release-date}}}}}}
+
   | {{{map-released}}}
 
}}
 
}}
 
{{!}}-
 
{{!}}-
Line 174: Line 185:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{map-updated|{{{last-updated|}}}}}} |
+
{{#if: {{{map-updated|}}} |
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Last updated:
 
   | en = Last updated:
Line 188: Line 199:
 
   | pl = Ostatnio zaktualizowana:
 
   | pl = Ostatnio zaktualizowana:
 
   | pt-br = Última atualização:
 
   | pt-br = Última atualização:
 +
  | ro = Ultima actualizare:
 
   | ru = Последнее обновление:
 
   | ru = Последнее обновление:
 
   | tr = Son güncelleme:
 
   | tr = Son güncelleme:
 
   | zh-hans = 最后更新:
 
   | zh-hans = 最后更新:
 
   | zh-hant = 最近更新:
 
   | zh-hant = 最近更新:
   }}''' {{!!}} {{{map-updated|{{{last-updated}}}}}}
+
   }}''' {{!!}} {{{map-updated}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 212: Line 224:
 
   | pl = Autor(zy):
 
   | pl = Autor(zy):
 
   | pt-br = Desenvolvedor(es):
 
   | pt-br = Desenvolvedor(es):
   | ro = Dezvoltator(i):
+
   | ro = Autor(i):
 
   | ru = Автор(-ы):
 
   | ru = Автор(-ы):
 
   | sv = Utvecklare:
 
   | sv = Utvecklare:
Line 218: Line 230:
 
   | zh-hans = 开发者:
 
   | zh-hans = 开发者:
 
   | zh-hant = 開發者:
 
   | zh-hant = 開發者:
   }}''' {{!!}} {{{map-developer|{{{developer|}}}}}}
+
   }}''' {{!!}} {{{map-developer}}}
 
{{!}}- |
 
{{!}}- |
 
{{!}} '''{{lang
 
{{!}} '''{{lang
Line 242: Line 254:
 
   | zh-hans = 开发者:
 
   | zh-hans = 开发者:
 
   | zh-hant = 開發者:
 
   | zh-hant = 開發者:
   }}''' {{!!}} {{Map credits|{{{map-file-name|{{{file-name}}}}}}}}
+
   }}''' {{!!}} {{Map credits|{{{map-file-name}}}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{map-links|{{{links|}}}}}} |
+
{{#if: {{{map-links|}}} |
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Link(s):
 
   | en = Link(s):
Line 259: Line 271:
 
   | pl = Link(i):
 
   | pl = Link(i):
 
   | pt-br = Link(s):
 
   | pt-br = Link(s):
 +
  | ro = Link(uri):
 
   | ru = Ссылка(-и):
 
   | ru = Ссылка(-и):
 
   | tr = Bağlantı(lar):
 
   | tr = Bağlantı(lar):
 
   | zh-hans = 链接:
 
   | zh-hans = 链接:
 
   | zh-hant = 連接:
 
   | zh-hant = 連接:
}}''' {{!!}} {{{map-links|{{{links}}}}}}
+
}}''' {{!!}} {{{map-links}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
<!-- MAP INFO SECTION BEGIN -->
 
<!-- MAP INFO SECTION BEGIN -->
{{#if: {{{map-environment|}}} |  
+
{{#if: {{{map-environment|}}} |
 
! colspan="2" {{!}} {{lang
 
! colspan="2" {{!}} {{lang
 
   | en = Map Info
 
   | en = Map Info
Line 281: Line 294:
 
   | ja = マップ情報
 
   | ja = マップ情報
 
   | ko = 맵 정보
 
   | ko = 맵 정보
   | nl = Kaartinformatie
+
   | nl = Mapinformatie
 
   | pl = Informacje o mapie
 
   | pl = Informacje o mapie
 
   | pt-br = Informações do mapa
 
   | pt-br = Informações do mapa
   | ro = Informaţii Hartă
+
   | ro = Informaţii despre hartă
   | ru = Информация о карте  
+
   | ru = Информация о карте
 
   | sv = Kartinformation
 
   | sv = Kartinformation
 
   | tr = Harita Bilgisi
 
   | tr = Harita Bilgisi
 
   | zh-hans = 地图资料
 
   | zh-hans = 地图资料
 
   | zh-hant = 地圖資料
 
   | zh-hant = 地圖資料
   }}
+
   }}
 
{{!}}-
 
{{!}}-
{{#if: {{{map-has-n-stages|{{{map-multiple-stages|}}}}}} |  
+
{{#if: {{{map-has-n-stages|}}} |
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = No. of Stages:
 
   | en = No. of Stages:
Line 309: Line 322:
 
   | pl = Liczba etapów:
 
   | pl = Liczba etapów:
 
   | pt-br = Nº de estágios:
 
   | pt-br = Nº de estágios:
   | ro = Nr. de stagii:
+
   | ro = Nr. de secțiuni:
 
   | ru = Количество этапов:
 
   | ru = Количество этапов:
 
   | sv = Antal nivåer:
 
   | sv = Antal nivåer:
Line 315: Line 328:
 
   | zh-hans = 阶段数:
 
   | zh-hans = 阶段数:
 
   | zh-hant = 區域:
 
   | zh-hant = 區域:
   }}''' {{!!}} {{{map-has-n-stages|{{{map-multiple-stages}}}}}}  
+
   }}''' {{!!}} {{#switch: {{lc: {{{map-has-n-stages}}} }}
 +
| yes = 2
 +
| #default = {{{map-has-n-stages}}}
 +
}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 340: Line 356:
 
   | zh-hans = 环境:
 
   | zh-hans = 环境:
 
   | zh-hant = 所處地區:
 
   | zh-hant = 所處地區:
   }}''' {{!!}} {{{map-environment}}}  
+
   }}''' {{!!}} {{{map-environment}}}
 
{{!}}-
 
{{!}}-
 
{{#if: {{{map-setting|}}} |
 
{{#if: {{{map-setting|}}} |
Line 359: Line 375:
 
   | pl = Sceneria:
 
   | pl = Sceneria:
 
   | pt-br = Cenário:
 
   | pt-br = Cenário:
   | ro = Decor:
+
   | ro = Scenariu:
 
   | ru = Условия:
 
   | ru = Условия:
 
   | sv = Scensättning:
 
   | sv = Scensättning:
Line 365: Line 381:
 
   | zh-hans = 设定:
 
   | zh-hans = 设定:
 
   | zh-hant = 環境設定:
 
   | zh-hant = 環境設定:
   }}''' {{!!}} {{{map-setting}}}  
+
   }}''' {{!!}} {{{map-setting}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 420: Line 436:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{map-hazards-underworld|{{{map-underworld-hazards|}}}}}} |
+
{{#if: {{{map-hazards-underworld|}}} |
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Hazards ([[Underworld]]):
 
   | en = Hazards ([[Underworld]]):
 
   | pt-br = Perigos ([[Underworld/pt-br|Submundo]]):
 
   | pt-br = Perigos ([[Underworld/pt-br|Submundo]]):
}}''' {{!!}} {{{map-hazards-underworld|{{{map-underworld-hazards}}}}}}
+
}}''' {{!!}} {{{map-hazards-underworld}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{map-has-deep-water|{{{map-deep-water|}}}}}} |
+
{{#if: {{{map-has-deep-water|}}} |
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Deep Water:
 
   | en = Deep Water:
Line 450: Line 466:
 
   | zh-hans = 深水:
 
   | zh-hans = 深水:
 
   | zh-hant = 深水坑:
 
   | zh-hant = 深水坑:
   }}''' {{!!}}<!-- !! REMOVE AFTER MIGRATION !! -->{{#switch: {{lc: {{{map-has-deep-water|{{{map-deep-water}}}}}}}}
+
   }}''' {{!!}} {{#switch: {{lc: {{{map-has-deep-water}}} }}
 
  | yes
 
  | yes
  | no = {{common string|{{{map-has-deep-water|{{{map-deep-water}}}}}}}}
+
  | no = {{common string|{{{map-has-deep-water}}}}}
  | #default = {{{map-has-deep-water|{{{map-deep-water}}}}}}
+
| 1 = {{common string|yes}}
 +
| 2 = {{common string|no}}
 +
  | #default = {{{map-has-deep-water}}}
 
}}
 
}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{map-has-pyrovision|{{{map-pyrovision|}}}}}} |
+
{{#if: {{{map-has-pyrovision|}}} |
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Pyrovision Support:
 
   | en = Pyrovision Support:
}}''' {{!!}}<!-- !! REMOVE AFTER MIGRATION !! -->{{#switch: {{lc: {{{map-has-pyrovision|{{{map-pyrovision}}}}}}}}
+
  | pt-br = Pyrovisão:
 +
}}''' {{!!}} {{#switch: {{lc: {{{map-has-pyrovision}}} }}
 
  | yes
 
  | yes
  | no = {{common string|{{{map-has-pyrovision|{{{map-pyrovision}}}}}}}}
+
  | no = {{common string|{{{map-has-pyrovision}}}}}
 +
| 1 = {{common string|yes}}
 +
| 2 = {{common string|no}}
 
  | #default = {{{map-pyrovision}}}
 
  | #default = {{{map-pyrovision}}}
 
}}
 
}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{map-has-bots|{{{map-bots|}}}}}} |
+
{{#if: {{{map-has-bots|}}} |
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Bot Support:
 
   | en = Bot Support:
}}''' {{!!}}<!-- !! REMOVE AFTER MIGRATION !! -->{{#switch: {{lc: {{{map-has-bots|{{{map-bots}}}}}}}}
+
  | pt-br = Bots off-line:
 +
}}''' {{!!}} {{#switch: {{lc: {{{map-has-bots}}} }}
 
  | yes
 
  | yes
  | no = {{common string|{{{map-has-bots|{{{map-bots}}}}}}}}
+
  | no = {{common string|{{{map-has-bots}}}}}
 
  | 1 = {{common string|yes}}
 
  | 1 = {{common string|yes}}
 +
| 2 = {{common string|no}}
 
  | #default = {{{map-bots}}}
 
  | #default = {{{map-bots}}}
 
}}
 
}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{map-pickups-health|{{{map-health-pickups|}}}}}} |
+
{{#if: {{{map-pickups-health|}}} |
 
{{!}} [[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 495: Line 518:
 
   | pl = Apteczki:
 
   | pl = Apteczki:
 
   | pt-br = Coletáveis de vida:
 
   | pt-br = Coletáveis de vida:
   | ro = Truse cu Viaţă:
+
   | ro = Truse de viaţă:
 
   | ru = Аптечки:
 
   | ru = Аптечки:
 
   | sv = Hälsoupplock:
 
   | sv = Hälsoupplock:
Line 501: Line 524:
 
   | zh-hans = 医疗包:
 
   | zh-hans = 医疗包:
 
   | zh-hant = 補血包:
 
   | zh-hant = 補血包:
   }}''' {{!!}} {{{map-pickups-health|{{{map-health-pickups}}}}}}  
+
   }}''' {{!!}} {{#switch: {{lc: {{{map-pickups-health}}} }}
 +
| yes
 +
| no = {{common string|{{{map-pickups-health}}}}}
 +
| #default = {{{map-pickups-health}}}
 +
}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{map-pickups-ammo|{{{map-ammo-pickups|}}}}}} |
+
{{#if: {{{map-pickups-ammo|}}} |
 
{{!}} [[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 548:
 
   | pl = Skrzynki z amunicją:
 
   | pl = Skrzynki z amunicją:
 
   | pt-br = Coletáveis de munição:
 
   | pt-br = Coletáveis de munição:
   | ro = Pachete de muniţie:
+
   | ro = Cutii de muniţie:
 
   | ru = Боеприпасы:
 
   | ru = Боеприпасы:
 
   | sv = Ammunitionsupplock:
 
   | sv = Ammunitionsupplock:
Line 527: Line 554:
 
   | zh-hans = 弹药盒:
 
   | zh-hans = 弹药盒:
 
   | zh-hant = 彈藥盒:
 
   | zh-hant = 彈藥盒:
   }}''' {{!!}} {{{map-pickups-ammo|{{{map-ammo-pickups}}}}}}
+
   }}''' {{!!}} {{#switch: {{lc: {{{map-pickups-ammo}}} }}
 +
| yes
 +
| no = {{common string|{{{map-pickups-ammo}}}}}
 +
| #default = {{{map-pickups-ammo}}}
 +
}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{map-pickups-special|{{{map-special-pickups|}}}}}} |
+
{{#if: {{{map-pickups-special|}}} |
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Special Pickups:
 
   | en = Special Pickups:
Line 547: Line 578:
 
   | pl = Specjalne znajdźki:
 
   | pl = Specjalne znajdźki:
 
   | pt-br = Coletáveis especiais:
 
   | pt-br = Coletáveis especiais:
   | ro = Pachete Speciale:
+
   | ro = Pachete speciale:
 
   | ru = Особое:
 
   | ru = Особое:
 
   | sv = Specialupplock:
 
   | sv = Specialupplock:
Line 553: Line 584:
 
   | zh-hans = 特殊拾取物:
 
   | zh-hans = 特殊拾取物:
 
   | zh-hant = 特殊物品:
 
   | zh-hant = 特殊物品:
   }}''' {{!!}} {{{map-pickups-special|{{{map-special-pickups}}}}}}  
+
   }}''' {{!!}} {{#switch: {{lc: {{{map-pickups-special}}} }}
{{!}}-  
+
| yes
}}  
+
| no = {{common string|{{{map-pickups-special}}}}}
}}  
+
| #default = {{{map-pickups-special}}}
 +
}}
 +
{{!}}-
 +
}}
 +
}}
 
<!-- MAP INFO SECTION END -->
 
<!-- MAP INFO SECTION END -->
 
<!-- MAP ITEMS SECTION BEGIN -->
 
<!-- MAP ITEMS SECTION BEGIN -->
{{#ifeq: {{lc:{{{map-items|}}}}} | none |  
+
{{#ifeq: {{lc: {{{map-items}}} }} | none |
 
! colspan="2" {{!}} {{lang
 
! colspan="2" {{!}} {{lang
 
   | en = Map Items
 
   | en = Map Items
Line 572: Line 607:
 
   | ja = 配置アイテム
 
   | ja = 配置アイテム
 
   | ko = 맵 아이템
 
   | ko = 맵 아이템
   | nl = Map Items
+
   | nl = Pickups op de map
 
   | pl = Znajdźki na mapie
 
   | pl = Znajdźki na mapie
 
   | pt-br = Itens do mapa
 
   | pt-br = Itens do mapa
 +
  | ro = Obiecte din hartă
 
   | ru = Предметы на карте
 
   | ru = Предметы на карте
 
   | sv = Kartföremål
 
   | sv = Kartföremål
Line 587: Line 623:
 
}}''
 
}}''
 
{{!}}-
 
{{!}}-
| {{#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-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|}}} |
 
   ! colspan="2" {{!}} {{lang
 
   ! colspan="2" {{!}} {{lang
 
   | en = Map Items
 
   | en = Map Items
Line 600: Line 636:
 
   | ja = 配置アイテム
 
   | ja = 配置アイテム
 
   | ko = 맵 아이템
 
   | ko = 맵 아이템
   | nl = Map Items
+
   | nl = Pickups op de map
 
   | pl = Znajdźki na mapie
 
   | pl = Znajdźki na mapie
 
   | pt-br = Itens do mapa
 
   | pt-br = Itens do mapa
 +
  | ro = Obiecte din hartă
 
   | ru = Предметы на карте
 
   | ru = Предметы на карте
 
   | sv = Kartföremål
 
   | sv = Kartföremål
Line 611: Line 648:
 
   {{!}}-
 
   {{!}}-
 
| }}
 
| }}
{{#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-pickups-health-small|}}} {{{map-pickups-health-medium|}}} {{{map-pickups-health-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 628: Line 665:
 
     | pl = Apteczki:
 
     | pl = Apteczki:
 
     | pt-br = Kits médicos:
 
     | pt-br = Kits médicos:
 +
    | ro = Kituri de viață:
 
     | ru = Аптечки:
 
     | ru = Аптечки:
 
     | sv = Hälsopaket:
 
     | sv = Hälsopaket:
Line 635: Line 673:
 
     }}'''
 
     }}'''
 
   {{!}} 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-pickups-health-small|}}}  | {{Map infobox/Health pickups|map-name={{{map-name|{{BASEPAGENAME}}}}}|small|{{{map-pickups-health-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-pickups-health-medium|}}} | {{#if: {{{map-pickups-health-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-pickups-health-medium|}}} | {{Map infobox/Health pickups|map-name={{{map-name|{{BASEPAGENAME}}}}}|medium|{{{map-pickups-health-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-pickups-health-large|}}}  | {{#if: {{{map-pickups-health-medium|}}}{{{map-pickups-health-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-pickups-health-large|}}}  | <br>{{Map infobox/Health pickups|map-name={{{map-name|{{BASEPAGENAME}}}}}|large|{{{map-pickups-health-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-pickups-ammo-small|}}} {{{map-pickups-ammo-medium|}}} {{{map-pickups-ammo-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 659: Line 697:
 
     | pl = Skrzynki z amunicją:
 
     | pl = Skrzynki z amunicją:
 
     | pt-br = Caixas de munição:
 
     | pt-br = Caixas de munição:
 +
    | ro = Cutii de muniție:
 
     | ru = Боеприпасы:
 
     | ru = Боеприпасы:
 
     | sv = Ammunitionslådor:
 
     | sv = Ammunitionslådor:
Line 665: Line 704:
 
     | 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-pickups-ammo-small|}}} | [[File:Smallammo.png|link=Ammo{{if lang}}|20px]]&nbsp;&times;{{{map-pickups-ammo-small|}}} | }} {{#if: {{{map-pickups-ammo-medium|}}} | {{#if: {{{map-pickups-ammo-small|}}} | &nbsp;{{b}}&nbsp; | }} | }} {{#if: {{{map-pickups-ammo-medium|}}} | [[File:Mediumammo.png|link=Ammo{{if lang}}|20px]]&nbsp;&times;{{{map-pickups-ammo-medium|}}} | }} {{#if: {{{map-pickups-ammo-large|}}} | {{#if: {{{map-pickups-ammo-medium|}}} | &nbsp;{{b}}&nbsp; | {{#if: {{{map-pickups-ammo-small|}}} | &nbsp;{{b}}&nbsp; | }} }} | }} {{#if: {{{map-pickups-ammo-large|}}} | <br>[[File:Largeammo.png|link=Ammo{{if lang}}|20px]]&nbsp;&times;{{{map-pickups-ammo-large|}}} | }}
 
   {{!}}-
 
   {{!}}-
 
   | }}
 
   | }}
{{#if: {{{map-pickups-special-sgg|{{{map-special-pickups-sgg|}}}}}} {{{map-pickups-special-pumpkin|{{{map-special-pickups-pumpkin|}}}}}} |
+
{{#if: {{{map-pickups-special-sgg|}}} {{{map-pickups-special-pumpkin|}}} |
 
{{!}} [[File:TF2 crosshair.png|20px]]&nbsp;'''{{lang
 
{{!}} [[File:TF2 crosshair.png|20px]]&nbsp;'''{{lang
 
     | en = Special:
 
     | en = Special:
Line 685: Line 724:
 
     | pl = Specjalne:
 
     | pl = Specjalne:
 
     | pt-br = Especial:
 
     | pt-br = Especial:
 +
    | ro = Special:
 
     | ru = Особые:
 
     | ru = Особые:
 
     | sv = Special:
 
     | sv = Special:
Line 691: Line 731:
 
     | 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-pickups-special-sgg|}}} | [[File:Gargoyle Ghost.png|link=Soul Gargoyle{{if lang}}|20px]]| }} {{#if: {{{map-pickups-special-pumpkin|}}} | {{#if: {{{map-pickups-special-sgg|}}} | &nbsp;{{b}}&nbsp; | }} | }} {{#if: {{{map-pickups-special-pumpkin|}}} | [[File:Pumpkin.png|link=Halloween pumpkins{{if lang}}|20px]] | }}
 
   {{!}}-
 
   {{!}}-
 
   | }}
 
   | }}
Line 712: Line 752:
 
     | pl = Zdjęcia mapy
 
     | pl = Zdjęcia mapy
 
     | pt-br = Imagens do mapa
 
     | pt-br = Imagens do mapa
     | ru = Снимки карты  
+
    | ro = Poze cu harta
 +
     | ru = Снимки карты
 
     | tr = Harita Fotoğrafları
 
     | tr = Harita Fotoğrafları
 
     | zh-hans = 地图照片
 
     | zh-hans = 地图照片
Line 737: Line 778:
 
     | ja = マップ俯瞰図
 
     | ja = マップ俯瞰図
 
     | ko = 맵 전경
 
     | ko = 맵 전경
     | nl = Kaartoverzicht
+
     | nl = Mapoverzicht
 
     | pl = Widok mapy
 
     | pl = Widok mapy
 
     | pt-br = Vista aérea
 
     | pt-br = Vista aérea
 +
    | ro = Vedere de deasupra
 
     | ru = Вид на карту сверху
 
     | ru = Вид на карту сверху
 
     | tr = Harita Genel Bakışı
 
     | tr = Harita Genel Bakışı
Line 759: Line 801:
 
     | ja = マップ俯瞰図
 
     | ja = マップ俯瞰図
 
     | ko = 맵 전경
 
     | ko = 맵 전경
     | nl = Kaartoverzicht
+
     | nl = Mapoverzicht
 
     | pl = Widok mapy
 
     | pl = Widok mapy
     | pt-br = Vista aérea
+
     | pt-br = Vista aérea
 +
    | ro = Vedere de deasupra
 
     | ru = Вид на карту сверху
 
     | ru = Вид на карту сверху
 
     | tr = Harita Genel Bakışı
 
     | tr = Harita Genel Bakışı
Line 775: Line 818:
 
{{#if: {{{map-strategy|}}} | | {{#if: {{{map-stamp-link|}}} |
 
{{#if: {{{map-strategy|}}} | | {{#if: {{{map-stamp-link|}}} |
 
! 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 - {{map name|{{{map-name|{{BASEPAGENAME}}}}}|lang=en}}.png|170px|link=Map Stamp{{if lang}}]]
 
{{!}}-
 
{{!}}-
Line 793: Line 836:
 
   | 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 indisponível.
 +
  | ro = Tabelul de clasament al donatorilor nu este disponibil.
 
   | ru = Таблица поддержавших в данный момент недоступна.
 
   | ru = Таблица поддержавших в данный момент недоступна.
 
   | sv = Ledartavla för supportrar är ännu inte tillgängliga.
 
   | sv = Ledartavla för supportrar är ännu inte tillgängliga.
Line 814: Line 858:
 
   | pl = Lista wspierających
 
   | pl = Lista wspierających
 
   | pt-br = Classificação dos apoiadores
 
   | pt-br = Classificação dos apoiadores
 +
  | ro = Tabelul de donatori
 
   | ru = Самая большая поддержка
 
   | ru = Самая большая поддержка
 
   | sv = Ledartavla för Supportrar
 
   | sv = Ledartavla för Supportrar
Line 822: Line 867:
 
}}}}
 
}}}}
 
<!-- MAP STAMPS SECTION END -->
 
<!-- MAP STAMPS SECTION END -->
|}<!-- !! TRACKING !!
+
|}<!--
 +
-->{{#ifeq: {{NAMESPACE}} | User | | {{#if: {{{map-strategy|}}} | <!--
 +
// Category: Map strategy
 +
--> {{lang cat|Map strategy}} | <!--
 +
// Category:[Status] map
 
-->{{#switch: {{{map-status|}}}
 
-->{{#switch: {{{map-status|}}}
 
  | community = {{lang cat|Community maps}}
 
  | community = {{lang cat|Community maps}}
Line 835: Line 884:
 
  | #default = [[Category:ERROR Map infobox missing map-status]]
 
  | #default = [[Category:ERROR Map infobox missing map-status]]
 
}}<!--
 
}}<!--
-->{{#if: {{{map-strategy|}}} | <!--
 
// Category: Map strategy
 
--> {{lang cat|Map strategy}} | <!--
 
 
// Category:Maps (game)
 
// Category:Maps (game)
--> {{#switch: {{lc:{{{game|}}}}}
+
--> {{#switch: {{lc:{{{game}}}}}
 
     | tfc = {{lang cat|Maps (Classic)}}
 
     | tfc = {{lang cat|Maps (Classic)}}
 
     | tf = {{lang cat|Maps (Quake)}}
 
     | tf = {{lang cat|Maps (Quake)}}
 
     | #default = {{lang cat|Maps}}
 
     | #default = {{lang cat|Maps}}
     }} <!--  
+
     }} <!--
 
// Category:(Gamemode) maps
 
// Category:(Gamemode) maps
--> {{#if: {{{map-game-type|{{{game-type|}}}}}} | {{#switch: {{lc:{{{game|}}}}}
+
--> {{#if: {{{map-game-type|}}} | {{#switch: {{lc:{{{game|}}}}}
     | tfc = {{lang cat|{{common string|{{{map-game-type|{{{game-type}}}}}}|force=en}} (Classic) maps}}
+
     | tfc = {{lang cat|{{common string|{{{map-game-type}}}|force=en}} (Classic) maps}}
     | tf = {{lang cat|{{common string|{{{map-game-type|{{{game-type}}}}}}|force=en}} (Quake) maps}}
+
     | tf = {{lang cat|{{common string|{{{map-game-type}}}|force=en}} (Quake) maps}}
     | #default = {{#ifeq: {{{map-status|custom}}} | custom | <!-- Custom [mode] maps --> | {{lang cat|{{common string|{{{map-game-type|{{{game-type}}}}}}|force=en}} maps}} }}
+
     | #default = {{#ifeq: {{{map-status|custom}}} | custom | <!-- Custom [mode] maps --> | {{lang cat|{{common string|{{{map-game-type}}}|force=en}} maps}} }}
 
     }}
 
     }}
 
   }}
 
   }}
}}<!--
+
<!--
-->{{#if: {{{map-has-bots|}}} | {{lang cat|Maps supporting bots‎}} | }}<!--
+
// Misc tracking
 +
-->{{#if: {{{map-has-bots|}}} | {{lang cat|Maps supporting bots}} | }}<!--
 
-->{{#if: {{{map-has-n-stages|}}} | {{lang cat|Maps with multiple stages}} | }}<!--
 
-->{{#if: {{{map-has-n-stages|}}} | {{lang cat|Maps with multiple stages}} | }}<!--
 
-->{{#if: {{{map-has-deep-water|}}} | {{lang cat|Maps with deep water}} | }}<!--
 
-->{{#if: {{{map-has-deep-water|}}} | {{lang cat|Maps with deep water}} | }}<!--
 
-->{{#if: {{{map-has-vscript|}}} | {{lang cat|Maps with VScript}} | }}<!--
 
-->{{#if: {{{map-has-vscript|}}} | {{lang cat|Maps with VScript}} | }}<!--
-->{{#if: {{Map Variant/Substring|{{{map-name|{{BASEPAGENAME}}}}}}} | {{lang cat|Maps with multiple variants}} | }}</includeonly><noinclude>{{clr}}
+
-->{{#if: {{Map Variant/Substring|{{{map-name|{{BASEPAGENAME}}}}}}} | {{lang cat|Maps with multiple variants}} | }}
 +
}}
 +
}}</includeonly><noinclude>{{clr}}
 
{{Complex template}}
 
{{Complex template}}
 
{{ts|en, pt-br}}
 
{{ts|en, pt-br}}

Revision as of 18:04, 21 January 2024

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.