Difference between revisions of "Template:Map infobox"
m (change zh-hans) |
(General improvements for syncing between en and translated pages. Fallback parameters and categories will be removed once the transition is complete.) |
||
Line 1: | Line 1: | ||
− | {| class="infobox" | + | <includeonly>{| class="infobox" style="max-width: 300px;" |
− | ! colspan="2" style="background-color:#F3A957;" | {{{map-name | + | ! colspan="2" style="background-color:#F3A957;" | {{#ifeq: {{{map-status|}}} | custom | {{{map-name|{{BASEPAGENAME}}}}} | {{map name|{{{map-name|{{BASEPAGENAME}}}}}}} }} |
|- | |- | ||
− | | colspan=2 style="text-align:center;" | [[File:{{{map-image|Screenshot needed.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]] }} |
|- | |- | ||
− | ! colspan="2" | {{ | + | ! colspan="2" | {{lang |
+ | | 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: {{{game-type|}}} | | + | {{#if: {{{map-game-type|{{{game-type|}}}}}} | |
− | {{!}} '''{{ | + | {{!}} '''{{lang |
+ | | 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 ( | + | | special delivery = Special Delivery (game mode) |
− | | #default = {{{game-type|}}} | + | | boot camp = Boot Camp (Mann vs. Machine) |
− | }}{{if lang}}|{{map type|{{{game-type}}}}}]] | + | | #default = {{{map-game-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: {{{file-name|}}} | | + | {{#if: {{{map-file-name|{{{file-name|}}}}} | |
− | {{!}} '''{{ | + | {{!}} '''{{lang |
+ | | 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: {{{current-version|}}} | | + | {{#if: {{{map-version|{{{current-version|}}}}}} | |
− | {{!}} '''{{ | + | {{!}} '''{{lang |
+ | | 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- | + | {{#if: {{{map-released|{{{release-date|}}}}}} | |
{{!}} '''{{lang | {{!}} '''{{lang | ||
| en = Released: | | en = Released: | ||
Line 47: | Line 148: | ||
| zh-hans = 发布时间: | | zh-hans = 发布时间: | ||
| zh-hant = 釋出時間: | | zh-hant = 釋出時間: | ||
− | }}''' {{!!}} {{{release-date}}} | + | }}''' {{!!}} {{#if: {{{map-released-major|}}} |
+ | | {{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: {{{last-updated|}}} | | + | {{#if: {{Map Variant/Substring|{{{map-name|{{BASEPAGENAME}}}}}}} | |
+ | {{!}} '''{{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 68: | Line 192: | ||
| zh-hans = 最后更新: | | zh-hans = 最后更新: | ||
| zh-hant = 最近更新: | | zh-hant = 最近更新: | ||
− | }}''' {{!!}} {{{last-updated}}} | + | }}''' {{!!}} {{{map-updated|{{{last-updated}}}}}} |
{{!}}- | {{!}}- | ||
− | }}}} | + | }} |
+ | {{#ifeq: {{{map-status|}}} | custom | | ||
+ | {{!}} '''{{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-developer|{{{developer|}}}}}} | ||
+ | {{!}}- | | ||
{{!}} '''{{lang | {{!}} '''{{lang | ||
| en = Developer(s): | | en = Developer(s): | ||
Line 93: | Line 242: | ||
| zh-hans = 开发者: | | zh-hans = 开发者: | ||
| zh-hant = 開發者: | | zh-hant = 開發者: | ||
− | }}''' {{!!}} {{{ | + | }}''' {{!!}} {{Map credits|{{{map-file-name|{{{file-name}}}}}}}} |
{{!}}- | {{!}}- | ||
− | {{#if: {{{ | + | }} |
+ | {{#if: {{{map-links|{{{links|}}}}}} | | ||
{{!}} '''{{lang | {{!}} '''{{lang | ||
| en = Link(s): | | en = Link(s): | ||
Line 113: | Line 263: | ||
| zh-hans = 链接: | | zh-hans = 链接: | ||
| zh-hant = 連接: | | zh-hant = 連接: | ||
− | }}''' {{!!}} {{{ | + | }}''' {{!!}} {{{map-links|{{{links}}}}}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 142: | Line 292: | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
− | {{#if: {{{map-multiple-stages|}}} | | + | {{#if: {{{map-has-n-stages|{{{map-multiple-stages|}}}}}} | |
{{!}} '''{{lang | {{!}} '''{{lang | ||
| en = No. of Stages: | | en = No. of Stages: | ||
Line 165: | Line 315: | ||
| zh-hans = 阶段数: | | zh-hans = 阶段数: | ||
| zh-hant = 區域: | | zh-hant = 區域: | ||
− | }}''' {{!!}} {{{map-multiple-stages}}} | + | }}''' {{!!}} {{{map-has-n-stages|{{{map-multiple-stages}}}}}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 213: | Line 363: | ||
| sv = Scensättning: | | sv = Scensättning: | ||
| tr = Ortam: | | tr = Ortam: | ||
− | | zh-hans = | + | | zh-hans = 设定: |
| zh-hant = 環境設定: | | zh-hant = 環境設定: | ||
}}''' {{!!}} {{{map-setting}}} | }}''' {{!!}} {{{map-setting}}} | ||
Line 242: | Line 392: | ||
| zh-hant = 天氣: | | zh-hant = 天氣: | ||
}}''' {{!!}} {{{map-weather}}} | }}''' {{!!}} {{{map-weather}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 296: | Line 420: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if: {{{map-underworld-hazards|}}} | | + | {{#if: {{{map-hazards-underworld|{{{map-underworld-hazards|}}}}}} | |
{{!}} '''{{lang | {{!}} '''{{lang | ||
− | | en = Underworld | + | | en = Hazards ([[Underworld]]): |
− | + | | pt-br = Perigos ([[Underworld/pt-br|Submundo]]): | |
− | + | }}''' {{!!}} {{{map-hazards-underworld|{{{map-underworld-hazards}}}}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | | pt-br = Perigos | ||
− | |||
− | |||
− | |||
− | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if: {{{map- | + | {{#if: {{{map-has-deep-water|{{{map-deep-water|}}}}}} | |
{{!}} '''{{lang | {{!}} '''{{lang | ||
− | | en = | + | | en = Deep Water: |
− | | de = | + | | ar = :المياه العميقة |
− | | es = | + | | cs = Hluboká voda: |
− | | fi = | + | | da = Dybt vand: |
− | | fr = | + | | de = Tiefes Gewässer: |
− | | hu = | + | | es = Aguas profundas: |
− | | it = | + | | fi = Syvää vettä: |
− | | ja = | + | | fr = Eau profonde : |
− | | ko = | + | | hu = Mélyvíz: |
− | | nl = | + | | it = Acqua profonda: |
− | | pl = | + | | ja = 水中 |
− | | pt-br = | + | | ko = 깊은 물: |
− | | ru = | + | | nl = Diep water: |
− | | tr = | + | | pl = Głębokie wody: |
− | | zh-hans = | + | | pt-br = Água funda: |
− | | zh-hant = | + | | ro = Apă adâncă: |
− | }}''' {{!!}} {{{map-pyrovision}}} | + | | ru = Глубокие водоёмы: |
+ | | 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-health-pickups|}}} | | + | {{#if: {{{map-has-bots|{{{map-bots|}}}}}} | |
+ | {{!}} '''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]] '''{{lang | {{!}} [[File:Healthico.png|link=Health{{if lang}}|20px]] '''{{lang | ||
| en = Health Pickups: | | en = Health Pickups: | ||
Line 357: | Line 497: | ||
| zh-hans = 医疗包: | | zh-hans = 医疗包: | ||
| zh-hant = 補血包: | | zh-hant = 補血包: | ||
− | }}''' {{!!}} {{{map-health-pickups}}} | + | }}''' {{!!}} {{{map-pickups-health|{{{map-health-pickups}}}}}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if: {{{map-ammo-pickups|}}} | | + | {{#if: {{{map-pickups-ammo|{{{map-ammo-pickups|}}}}}} | |
{{!}} [[File:Ammoico.png|link=Ammo{{if lang}}|20px]] '''{{lang | {{!}} [[File:Ammoico.png|link=Ammo{{if lang}}|20px]] '''{{lang | ||
| en = Ammo Pickups: | | en = Ammo Pickups: | ||
Line 381: | Line 521: | ||
| sv = Ammunitionsupplock: | | sv = Ammunitionsupplock: | ||
| tr = Cephane Tedarikleri: | | tr = Cephane Tedarikleri: | ||
− | | zh-hans = | + | | zh-hans = 弹药盒: |
| zh-hant = 彈藥盒: | | zh-hant = 彈藥盒: | ||
− | }}''' {{!!}} {{{map-ammo-pickups}}} | + | }}''' {{!!}} {{{map-pickups-ammo|{{{map-ammo-pickups}}}}}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if: {{{map-special-pickups|}}} | | + | {{#if: {{{map-pickups-special|{{{map-special-pickups|}}}}}} | |
{{!}} '''{{lang | {{!}} '''{{lang | ||
| en = Special Pickups: | | en = Special Pickups: | ||
Line 409: | Line 549: | ||
| zh-hans = 特殊拾取物: | | zh-hans = 特殊拾取物: | ||
| zh-hant = 特殊物品: | | zh-hant = 特殊物品: | ||
− | }}''' {{!!}} {{{map-special-pickups}}} | + | }}''' {{!!}} {{{map-pickups-special|{{{map-special-pickups}}}}}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 438: | Line 578: | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
− | {{!}} colspan="2" style="text-align:center;" {{!}} ''None'' | + | {{!}} colspan="2" style="text-align:center;" {{!}} ''{{lang |
+ | | en = None | ||
+ | | pt-br = Nenhum | ||
+ | }}'' | ||
{{!}}- | {{!}}- | ||
− | | {{#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|}}} | | + | | {{#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|}}}}}} | |
! colspan="2" {{!}} {{lang | ! colspan="2" {{!}} {{lang | ||
| en = Map Items | | en = Map Items | ||
Line 464: | Line 607: | ||
{{!}}- | {{!}}- | ||
| }} | | }} | ||
− | {{#if: {{{map-health-pickups-small|}}} {{{map-health-pickups-medium|}}} {{{map-health-pickups-large|}}} | | + | {{#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|}}}}}} | |
{{!}} [[File:Healthico.png|link=Health{{if lang}}|20px]] '''{{lang | {{!}} [[File:Healthico.png|link=Health{{if lang}}|20px]] '''{{lang | ||
| en = Health Kits: | | en = Health Kits: | ||
Line 488: | Line 631: | ||
}}''' | }}''' | ||
{{!}} style="text-align:center;" {{!}}<!-- | {{!}} style="text-align:center;" {{!}}<!-- | ||
− | -->{{#if: {{{map-health-pickups-small|}}} | {{Map infobox/Health pickups|map-name={{{ | + | -->{{#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-medium|}}} | {{#if: {{{map-health-pickups-small|}}} | {{b}} }}}}<!-- Add {{b}} between small & medium pickups | + | -->{{#if: {{{map-pickups-health-medium|{{{map-health-pickups-medium|}}}}}} | {{#if: {{{map-pickups-health-small|{{{map-health-pickups-small|}}}}}} | {{b}} }}}}<!-- Add {{b}} between small & medium pickups |
− | -->{{#if: {{{map-health-pickups-medium|}}} | {{Map infobox/Health pickups|map-name={{{ | + | -->{{#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-large|}}} | {{#if: {{{map-health-pickups-medium|}}}{{{map-health-pickups-small|}}} | {{b}} }}}}<!-- Add {{b}} between small & large / medium & large pickups | + | -->{{#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|}}}}}} | {{b}} }}}}<!-- Add {{b}} between small & large / medium & large pickups |
− | -->{{#if: {{{map-health-pickups-large|}}} | {{Map infobox/Health pickups|map-name={{{ | + | -->{{#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-ammo-pickups-small|}}} {{{map-ammo-pickups-medium|}}} {{{map-ammo-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|}}}}}} | |
{{!}} [[File:Ammoico.png|link=Ammo{{if lang}}|20px]] '''{{lang | {{!}} [[File:Ammoico.png|link=Ammo{{if lang}}|20px]] '''{{lang | ||
| en = Ammo Boxes: | | en = Ammo Boxes: | ||
Line 515: | Line 658: | ||
| 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-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-pickups-ammo-small|{{{map-ammo-pickups-small|}}}}}} | [[File:Smallammo.png|link=Ammo{{if lang}}|20px]] ×{{{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|}}}}}} | {{b}} | }} | }} {{#if: {{{map-pickups-ammo-medium|{{{map-ammo-pickups-medium|}}}}}} | [[File:Mediumammo.png|link=Ammo{{if lang}}|20px]] ×{{{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|}}}}}} | {{b}} | {{#if: {{{map-pickups-ammo-small|{{{map-ammo-pickups-small|}}}}}} | {{b}} | }} }} | }} {{#if: {{{map-pickups-ammo-large|{{{map-ammo-pickups-large|}}}}}} | <br>[[File:Largeammo.png|link=Ammo{{if lang}}|20px]] ×{{{map-pickups-ammo-large|{{{map-ammo-pickups-large}}}}}} | }} |
{{!}}- | {{!}}- | ||
| }} | | }} | ||
− | {{#if: {{{map-special-pickups-sgg|}}} {{{map-special-pickups-pumpkin|}}} | | + | {{#if: {{{map-pickups-special-sgg|{{{map-special-pickups-sgg|}}}}}} {{{map-pickups-special-pumpkin|{{{map-special-pickups-pumpkin|}}}}}} | |
{{!}} [[File:TF2 crosshair.png|20px]] '''{{lang | {{!}} [[File:TF2 crosshair.png|20px]] '''{{lang | ||
| en = Special: | | en = Special: | ||
Line 544: | Line 687: | ||
| zh-hant = 特殊物品: | | zh-hant = 特殊物品: | ||
}}''' | }}''' | ||
− | {{!}} 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|}}} | {{b}} | }} | }} {{#if: {{{map-special-pickups-pumpkin|}}} | [[File:Pumpkin.png|link=Halloween pumpkins{{if lang}}|20px]] | }} | + | {{!}} 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|}}}}}} | {{b}} | }} | }} {{#if: {{{map-pickups-special-pumpkin|{{{map-special-pickups-pumpkin|}}}}}} | [[File:Pumpkin.png|link=Halloween pumpkins{{if lang}}|20px]] | }} |
{{!}}- | {{!}}- | ||
| }} | | }} | ||
Line 550: | Line 693: | ||
<!-- MAP ITEMS SECTION END --> | <!-- MAP ITEMS SECTION END --> | ||
<!-- MAP PHOTOS SECTION BEGIN --> | <!-- MAP PHOTOS SECTION BEGIN --> | ||
− | {{#ifexist:File:Menu photos {{{file-name|error}}}.png| | + | {{#ifexist:File:Menu photos {{{map-file-name|{{{file-name|error}}}}}}.png| |
{{!}}- | {{!}}- | ||
! colspan="2" {{!}} {{lang | ! colspan="2" {{!}} {{lang | ||
Line 571: | Line 714: | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
− | {{!}} colspan="2" {{!}} [[File:Menu photos {{{file-name}}}.png|300px|center]] | + | {{!}} colspan="2" {{!}} [[File:Menu photos {{{map-file-name|{{{file-name|error}}}}}}.png|300px|center|{{lang |
+ | | 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: | + | {{#ifexist:File:{{{map-name|{{BASEPAGENAME}}}}} overview {{if lang|non-en={{SUBPAGENAME}}}}.png |
|{{!}}- | |{{!}}- | ||
! colspan="2" {{!}} {{lang | ! colspan="2" {{!}} {{lang | ||
Line 592: | Line 738: | ||
| ru = Вид на карту сверху | | ru = Вид на карту сверху | ||
| tr = Harita Genel Bakışı | | tr = Harita Genel Bakışı | ||
− | | zh-hans = | + | | zh-hans = 地图俯视图 |
| zh-hant = 地圖的俯瞰圖 | | zh-hant = 地圖的俯瞰圖 | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
− | {{!}} colspan="2" {{!}} [[File:{{{ | + | {{!}} colspan="2" {{!}} [[File:{{{map-name|{{BASEPAGENAME}}}}} overview {{if lang|non-en={{SUBPAGENAME}}}}.png|300px|center|Map overview.]] |
{{!}}- | {{!}}- | ||
− | |{{#ifexist:File: | + | |{{#ifexist:File:{{{map-name|{{BASEPAGENAME}}}}} overview.png |
|{{!}}- | |{{!}}- | ||
! colspan="2" {{!}} {{lang | ! colspan="2" {{!}} {{lang | ||
Line 618: | Line 764: | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
− | {{!}} colspan="2" {{!}} [[File: | + | {{!}} colspan="2" {{!}} [[File:{{{map-name|{{BASEPAGENAME}}}}} overview.png|300px|center]] |
{{!}}- | {{!}}- | ||
}}}} | }}}} | ||
Line 626: | Line 772: | ||
! colspan="2" {{!}} {{Item name|map stamp}} | ! colspan="2" {{!}} {{Item name|map stamp}} | ||
{{!}}- | {{!}}- | ||
− | {{!}} 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;" {{!}} [[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;" {{!}} {{#ifeq: {{lc:{{{map-stamp-link|}}}}} | unavailable | ''{{lang | {{!}} colspan=2 style="text-align:center;" {{!}} {{#ifeq: {{lc:{{{map-stamp-link|}}}}} | unavailable | ''{{lang | ||
Line 642: | Line 788: | ||
| 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 | + | | pt-br = Classificação dos apoiadores indisponível. |
| ru = Таблица поддержавших в данный момент недоступна. | | ru = Таблица поддержавших в данный момент недоступна. | ||
| sv = Ledartavla för supportrar är ännu inte tillgängliga. | | sv = Ledartavla för supportrar är ännu inte tillgängliga. | ||
Line 648: | Line 794: | ||
| 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 673: | Line 818: | ||
}}}} | }}}} | ||
<!-- MAP STAMPS SECTION END --> | <!-- MAP STAMPS SECTION END --> | ||
− | |}< | + | |}<!-- !! TRACKING !! |
− | {{#switch:{{lc:{{{game|}}}}} | + | -->{{#switch: {{{map-status|}}} |
− | + | | community = {{#if: {{{map-stamp-link|}}} | [[Category:Community maps]] | [[Category:ERROR Map infobox missing map-stamp-link]] }} | |
− | + | | custom = {{#if: {{{map-workshopid|}}} | [[Category:Custom maps]] | [[Category:ERROR Map infobox missing workshopid]] }} | |
− | + | | official = [[Category:Valve maps]] | |
− | + | | #default = [[Category:ERROR Map infobox missing map-status]] <!-- Has sreenshot --> | |
− | + | }}<!-- | |
− | + | -->{{#if: {{{map-strategy|}}} | <!-- | |
− | + | // Category: Map strategy | |
− | -->{{# | + | --> {{lang cat|Map strategy}} | <!-- |
− | -->{{#if: {{{ | + | // Category:Maps (game) |
− | -->{{#if: {{{map- | + | --> {{#switch: {{lc:{{{game|}}}}} |
− | -->{{#if: {{{map- | + | | tfc = {{lang cat|Maps (Classic)}} |
+ | | #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 10:41, 5 December 2023
This template is very complex. Please, sandbox any changes before making them. If you have questions about this template, feel free to ask on the IRC. |
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Map infobox/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: en, de, es, fr, hu, ja, ko, pl, pt-br, ru, tr, zh-hans, zh-hant (add) |
This template adds in information box to articles on maps. It adds pages to Category:Maps.
Usage
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).
|
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.
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. |