Difference between revisions of "Template:Map infobox/Sandbox"
m (Sync) |
m |
||
Line 6: | Line 6: | ||
! 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 30: | ||
}} | }} | ||
|- | |- | ||
− | {{#if: {{{map-game-type| | + | {{#if: {{{map-game-type|}}} | |
{{!}} '''{{lang | {{!}} '''{{lang | ||
| en = Map type: | | en = Map type: | ||
Line 55: | Line 55: | ||
| zh-hans = 种类: | | zh-hans = 种类: | ||
| zh-hant = 種類: | | zh-hant = 種類: | ||
− | }}''' {{!!}} [[{{#switch: {{lc:{{{map-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 = {{ | + | | #default = {{common string|{{{map-game-type}}}|force=en}} |
− | }}{{if lang}}|{{common string|{{#switch: {{lc:{{{map-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 | + | | #default = {{{map-game-type}}} |
}}}}]] | }}}}]] | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if: {{{map-file-name| | + | {{#if: {{{map-file-name|}}} | |
{{!}} '''{{lang | {{!}} '''{{lang | ||
| en = File name: | | en = File name: | ||
Line 92: | Line 92: | ||
| zh-hans = 文件名: | | zh-hans = 文件名: | ||
| zh-hant = 檔案名稱: | | zh-hant = 檔案名稱: | ||
− | }}''' {{!!}} <code>{{{map-file-name| | + | }}''' {{!!}} <code>{{{map-file-name|}}}</code> |
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if: {{{map-version| | + | {{#if: {{{map-version|}}} | |
{{!}} '''{{lang | {{!}} '''{{lang | ||
| en = Version: | | en = Version: | ||
Line 120: | Line 120: | ||
| zh-hans = 版本: | | zh-hans = 版本: | ||
| zh-hant = 版本: | | zh-hant = 版本: | ||
− | }}''' {{!!}} {{{map-version | + | }}''' {{!!}} {{{map-version}}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 137: | Line 137: | ||
| ja = 実装日: | | ja = 実装日: | ||
| ko = 출시일: | | ko = 출시일: | ||
− | | nl = Uitgebracht: | + | | nl = Uitgebracht: |
| no = Utgitt: | | no = Utgitt: | ||
| pl = Dodano: | | pl = Dodano: | ||
Line 148: | Line 148: | ||
| 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 174: | Line 174: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if: {{{map-updated| | + | {{#if: {{{map-updated|}}} | |
{{!}} '''{{lang | {{!}} '''{{lang | ||
| en = Last updated: | | en = Last updated: | ||
Line 192: | Line 192: | ||
| zh-hans = 最后更新: | | zh-hans = 最后更新: | ||
| zh-hant = 最近更新: | | zh-hant = 最近更新: | ||
− | }}''' {{!!}} {{{map-updated | + | }}''' {{!!}} {{{map-updated}}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 218: | Line 218: | ||
| zh-hans = 开发者: | | zh-hans = 开发者: | ||
| zh-hant = 開發者: | | zh-hant = 開發者: | ||
− | }}''' {{!!}} {{{map-developer | + | }}''' {{!!}} {{{map-developer}}} |
{{!}}- | | {{!}}- | | ||
{{!}} '''{{lang | {{!}} '''{{lang | ||
Line 242: | Line 242: | ||
| zh-hans = 开发者: | | zh-hans = 开发者: | ||
| zh-hant = 開發者: | | zh-hant = 開發者: | ||
− | }}''' {{!!}} {{Map credits|{{{map-file-name | + | }}''' {{!!}} {{Map credits|{{{map-file-name}}}}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if: {{{map-links| | + | {{#if: {{{map-links|}}} | |
{{!}} '''{{lang | {{!}} '''{{lang | ||
| en = Link(s): | | en = Link(s): | ||
Line 263: | Line 263: | ||
| zh-hans = 链接: | | zh-hans = 链接: | ||
| zh-hant = 連接: | | zh-hant = 連接: | ||
− | }}''' {{!!}} {{{map-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 285: | Line 285: | ||
| pt-br = Informações do mapa | | pt-br = Informações do mapa | ||
| ro = Informaţii Hartă | | ro = Informaţii 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| | + | {{#if: {{{map-has-n-stages|}}} | |
{{!}} '''{{lang | {{!}} '''{{lang | ||
| en = No. of Stages: | | en = No. of Stages: | ||
Line 315: | Line 315: | ||
| zh-hans = 阶段数: | | zh-hans = 阶段数: | ||
| zh-hant = 區域: | | zh-hant = 區域: | ||
− | }}''' {{!!}} {{{map-has-n-stages|{{{map- | + | }}''' {{!!}} {{#switch: {{lc: {{{map-has-n-stages}}} }} |
+ | | yes = 2 | ||
+ | | #default = {{{map-has-n-stages}}} | ||
+ | }} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 340: | Line 343: | ||
| zh-hans = 环境: | | zh-hans = 环境: | ||
| zh-hant = 所處地區: | | zh-hant = 所處地區: | ||
− | }}''' {{!!}} {{{map-environment}}} | + | }}''' {{!!}} {{{map-environment}}} |
{{!}}- | {{!}}- | ||
{{#if: {{{map-setting|}}} | | {{#if: {{{map-setting|}}} | | ||
Line 365: | Line 368: | ||
| zh-hans = 设定: | | zh-hans = 设定: | ||
| zh-hant = 環境設定: | | zh-hant = 環境設定: | ||
− | }}''' {{!!}} {{{map-setting}}} | + | }}''' {{!!}} {{{map-setting}}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 420: | Line 423: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if: {{{map-hazards-underworld| | + | {{#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-hazards-underworld}}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if: {{{map-has-deep-water| | + | {{#if: {{{map-has-deep-water|}}} | |
{{!}} '''{{lang | {{!}} '''{{lang | ||
| en = Deep Water: | | en = Deep Water: | ||
Line 450: | Line 453: | ||
| zh-hans = 深水: | | zh-hans = 深水: | ||
| zh-hant = 深水坑: | | zh-hant = 深水坑: | ||
− | }}''' {{!!}} | + | }}''' {{!!}} {{#switch: {{lc: {{{map-has-deep-water}}} }} |
| yes | | yes | ||
− | | no = {{common string|{{{map-has-deep-water | + | | no = {{common string|{{{map-has-deep-water}}}}} |
− | | #default = {{{map-has-deep-water | + | | 1 = {{common string|yes}} |
+ | | 2 = {{common string|no}} | ||
+ | | #default = {{{map-has-deep-water}}} | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if: {{{map-has-pyrovision| | + | {{#if: {{{map-has-pyrovision|}}} | |
{{!}} '''{{lang | {{!}} '''{{lang | ||
| en = Pyrovision Support: | | en = Pyrovision Support: | ||
− | }}''' {{!!}} | + | | pt-br = Pyrovisão: |
+ | }}''' {{!!}} {{#switch: {{lc: {{{map-has-pyrovision}}} }} | ||
| yes | | yes | ||
− | | no = {{common string|{{{map-has | + | | no = {{common string|{{{map-has-pyrovision}}}}} |
+ | | 1 = {{common string|yes}} | ||
+ | | 2 = {{common string|no}} | ||
| #default = {{{map-pyrovision}}} | | #default = {{{map-pyrovision}}} | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if: {{{map-has-bots| | + | {{#if: {{{map-has-bots|}}} | |
{{!}} '''{{lang | {{!}} '''{{lang | ||
| en = Bot Support: | | en = Bot Support: | ||
− | }}''' {{!!}} | + | | pt-br = Bots off-line: |
+ | }}''' {{!!}} {{#switch: {{lc: {{{map-has-bots}}} }} | ||
| yes | | yes | ||
− | | no = {{common string|{{{map-has-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| | + | {{#if: {{{map-pickups-health|}}} | |
{{!}} [[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 501: | Line 511: | ||
| zh-hans = 医疗包: | | zh-hans = 医疗包: | ||
| zh-hant = 補血包: | | zh-hant = 補血包: | ||
− | }}''' {{!!}} {{{map-pickups-health | + | }}''' {{!!}} {{{map-pickups-health}}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if: {{{map-pickups-ammo| | + | {{#if: {{{map-pickups-ammo|}}} | |
{{!}} [[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 527: | Line 537: | ||
| zh-hans = 弹药盒: | | zh-hans = 弹药盒: | ||
| zh-hant = 彈藥盒: | | zh-hant = 彈藥盒: | ||
− | }}''' {{!!}} {{{map-pickups-ammo | + | }}''' {{!!}} {{{map-pickups-ammo}}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if: {{{map-pickups-special| | + | {{#if: {{{map-pickups-special|}}} | |
{{!}} '''{{lang | {{!}} '''{{lang | ||
| en = Special Pickups: | | en = Special Pickups: | ||
Line 553: | Line 563: | ||
| zh-hans = 特殊拾取物: | | zh-hans = 特殊拾取物: | ||
| zh-hant = 特殊物品: | | zh-hant = 特殊物品: | ||
− | }}''' {{!!}} {{{map-pickups-special | + | }}''' {{!!}} {{{map-pickups-special}}} |
− | {{!}}- | + | {{!}}- |
− | }} | + | }} |
− | }} | + | }} |
<!-- MAP INFO SECTION END --> | <!-- MAP INFO SECTION END --> | ||
<!-- MAP ITEMS SECTION BEGIN --> | <!-- MAP ITEMS SECTION BEGIN --> | ||
− | {{#ifeq: {{lc:{{{map-items | + | {{#ifeq: {{lc: {{{map-items}}} }} | none | |
! colspan="2" {{!}} {{lang | ! colspan="2" {{!}} {{lang | ||
| en = Map Items | | en = Map Items | ||
Line 587: | Line 597: | ||
}}'' | }}'' | ||
{{!}}- | {{!}}- | ||
− | | {{#if: {{{map-pickups-health-small| | + | | {{#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 611: | Line 621: | ||
{{!}}- | {{!}}- | ||
| }} | | }} | ||
− | {{#if: {{{map-pickups-health | + | {{#if: {{{map-pickups-health-small|}}} {{{map-pickups-health-medium|}}} {{{map-pickups-health-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 635: | Line 645: | ||
}}''' | }}''' | ||
{{!}} style="text-align:center;" {{!}}<!-- | {{!}} style="text-align:center;" {{!}}<!-- | ||
− | -->{{#if: {{{map-pickups-health | + | -->{{#if: {{{map-pickups-health-small|}}} | {{Map infobox/Health pickups|map-name={{{map-name|{{BASEPAGENAME}}}}}|small|{{{map-pickups-health-small|}}}}}}}<!-- |
− | -->{{#if: {{{map-pickups-health-medium| | + | -->{{#if: {{{map-pickups-health-medium|}}} | {{#if: {{{map-pickups-health-small|}}} | {{b}} }}}}<!-- Add {{b}} between small & medium pickups |
− | -->{{#if: {{{map-pickups-health | + | -->{{#if: {{{map-pickups-health-medium|}}} | {{Map infobox/Health pickups|map-name={{{map-name|{{BASEPAGENAME}}}}}|medium|{{{map-pickups-health-medium|}}}}}}}<!-- |
− | -->{{#if: {{{map-pickups-health-large| | + | -->{{#if: {{{map-pickups-health-large|}}} | {{#if: {{{map-pickups-health-medium|}}}{{{map-pickups-health-small|}}} | {{b}} }}}}<!-- Add {{b}} between small & large / medium & large pickups |
− | -->{{#if: {{{map-pickups-health | + | -->{{#if: {{{map-pickups-health-large|}}} | <br>{{Map infobox/Health pickups|map-name={{{map-name|{{BASEPAGENAME}}}}}|large|{{{map-pickups-health-large|}}}}}}} |
{{!}}- | {{!}}- | ||
| }} | | }} | ||
− | {{#if: {{{map-pickups-ammo | + | {{#if: {{{map-pickups-ammo-small|}}} {{{map-pickups-ammo-medium|}}} {{{map-pickups-ammo-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 665: | Line 675: | ||
| zh-hant = 彈藥盒: | | zh-hant = 彈藥盒: | ||
}}''' | }}''' | ||
− | {{!}} style="text-align:center;" {{!}} {{#if: {{{map-pickups-ammo | + | {{!}} style="text-align:center;" {{!}} {{#if: {{{map-pickups-ammo-small|}}} | [[File:Smallammo.png|link=Ammo{{if lang}}|20px]] ×{{{map-pickups-ammo-small|}}} | }} {{#if: {{{map-pickups-ammo-medium|}}} | {{#if: {{{map-pickups-ammo-small|}}} | {{b}} | }} | }} {{#if: {{{map-pickups-ammo-medium|}}} | [[File:Mediumammo.png|link=Ammo{{if lang}}|20px]] ×{{{map-pickups-ammo-medium|}}} | }} {{#if: {{{map-pickups-ammo-large|}}} | {{#if: {{{map-pickups-ammo-medium|}}} | {{b}} | {{#if: {{{map-pickups-ammo-small|}}} | {{b}} | }} }} | }} {{#if: {{{map-pickups-ammo-large|}}} | <br>[[File:Largeammo.png|link=Ammo{{if lang}}|20px]] ×{{{map-pickups-ammo-large|}}} | }} |
{{!}}- | {{!}}- | ||
| }} | | }} | ||
− | {{#if: {{{map-pickups-special | + | {{#if: {{{map-pickups-special-sgg|}}} {{{map-pickups-special-pumpkin|}}} | |
{{!}} [[File:TF2 crosshair.png|20px]] '''{{lang | {{!}} [[File:TF2 crosshair.png|20px]] '''{{lang | ||
| en = Special: | | en = Special: | ||
Line 691: | Line 701: | ||
| zh-hant = 特殊物品: | | zh-hant = 特殊物品: | ||
}}''' | }}''' | ||
− | {{!}} style="text-align:center;" {{!}} {{#if: {{{map-pickups-special-sgg| | + | {{!}} 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|}}} | {{b}} | }} | }} {{#if: {{{map-pickups-special-pumpkin|}}} | [[File:Pumpkin.png|link=Halloween pumpkins{{if lang}}|20px]] | }} |
{{!}}- | {{!}}- | ||
| }} | | }} | ||
Line 712: | Line 722: | ||
| pl = Zdjęcia mapy | | pl = Zdjęcia mapy | ||
| pt-br = Imagens do mapa | | pt-br = Imagens do mapa | ||
− | | ru = Снимки карты | + | | ru = Снимки карты |
| tr = Harita Fotoğrafları | | tr = Harita Fotoğrafları | ||
| zh-hans = 地图照片 | | zh-hans = 地图照片 | ||
Line 775: | Line 785: | ||
{{#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 837: | Line 847: | ||
-->{{#if: {{{map-strategy|}}} | <!-- | -->{{#if: {{{map-strategy|}}} | <!-- | ||
// Category: Map strategy | // Category: Map strategy | ||
− | --> {{lang cat|Map strategy}} | <!-- | + | --> {{lang cat|Map strategy}} | <!-- |
// Category:Maps (game) | // Category:Maps (game) | ||
--> {{#switch: {{lc:{{{game|}}}}} | --> {{#switch: {{lc:{{{game|}}}}} | ||
Line 843: | Line 853: | ||
| 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 | + | --> {{#if: {{{map-game-type}}} | {{#switch: {{lc:{{{game|}}}}} |
− | | tfc = {{lang cat|{{common string|{{{map- | + | | tfc = {{lang cat|{{common string|{{{map-game-type}}}|force=en}} (Classic) maps}} |
− | | tf = {{lang cat|{{common string|{{{map-game-type | + | | 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 | + | | #default = {{#ifeq: {{{map-status|custom}}} | custom | <!-- Custom [mode] maps --> | {{lang cat|{{common string|{{{map-game-type}}}|force=en}} maps}} }} |
}} | }} | ||
}} | }} |
Revision as of 19:35, 20 January 2024
This template is very complex. 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/Sandbox/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: en, pt-br (add) |
Template documentation [infobox/Sandbox/doc?action=edit&preload=Template:Documentation/preload create]