Difference between revisions of "Template:Map infobox"
(tr, fixes and updated available languages) |
BrazilianNut (talk | contribs) m (Changed the PT-BR translation for "Setting" (was "Clima", which was also being used for "Weather").) |
||
(10 intermediate revisions by 9 users not shown) | |||
Line 29: | Line 29: | ||
| fi = Julkaisupäivämäärä: | | fi = Julkaisupäivämäärä: | ||
| fr = Date de sortie : | | fr = Date de sortie : | ||
+ | | hu = Kiadás dátuma: | ||
| ja = 公開日 | | ja = 公開日 | ||
| ko = 공개일: | | ko = 공개일: | ||
Line 47: | Line 48: | ||
| fi = Viimeksi päivitetty: | | fi = Viimeksi päivitetty: | ||
| fr = Dernière mise à jour : | | fr = Dernière mise à jour : | ||
+ | | hu = Legutóbb frissítve: | ||
| ja = 最終更新日 | | ja = 最終更新日 | ||
| ko = 마지막 업데이트: | | ko = 마지막 업데이트: | ||
Line 64: | Line 66: | ||
| da = Udvikler(e): | | da = Udvikler(e): | ||
| de = Entwickler: | | de = Entwickler: | ||
− | | es = | + | | es = Desarrollado por: |
| fi = Tekijä(t): | | fi = Tekijä(t): | ||
| fr = Développeur(s) : | | fr = Développeur(s) : | ||
Line 72: | Line 74: | ||
| ko = 제작자(들): | | ko = 제작자(들): | ||
| nl = Ontwikkelaar(s): | | nl = Ontwikkelaar(s): | ||
− | | pl = | + | | pl = Autor(zy): |
| pt-br = Desenvolvedor(es): | | pt-br = Desenvolvedor(es): | ||
| ro = Dezvoltator(i): | | ro = Dezvoltator(i): | ||
Line 86: | Line 88: | ||
| en = Link(s): | | en = Link(s): | ||
| de = Links: | | de = Links: | ||
+ | | es = Enlace(s): | ||
| fi = Linkki: | | fi = Linkki: | ||
| fr = Lien(s) : | | fr = Lien(s) : | ||
+ | | hu = Link(ek): | ||
| ja = リンク | | ja = リンク | ||
| ko = 링크(들): | | ko = 링크(들): | ||
Line 158: | Line 162: | ||
| de = Umgebung: | | de = Umgebung: | ||
| ko = 맵 환경: | | ko = 맵 환경: | ||
− | | es = | + | | es = Entorno: |
| fi = Ympäristö: | | fi = Ympäristö: | ||
| fr = Environnement : | | fr = Environnement : | ||
Line 190: | Line 194: | ||
| ko = 설정: | | ko = 설정: | ||
| nl = Decor: | | nl = Decor: | ||
− | | pl = | + | | pl = Sceneria: |
− | | pt-br = | + | | pt-br = Cenário: |
| ro = Decor: | | ro = Decor: | ||
| ru = Условия: | | ru = Условия: | ||
Line 277: | Line 281: | ||
| zh-hant = 危險區: | | zh-hant = 危險區: | ||
}}''' {{!!}} {{{map-hazards}}} | }}''' {{!!}} {{{map-hazards}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if: {{{map-underworld-hazards|}}} | | ||
+ | {{!}} '''{{lang | ||
+ | | en = Underworld<br>hazards: | ||
+ | | es = Peligros del<br>Inframundo: | ||
+ | | pl = Zagrożenia w<br>czyśćcu | ||
+ | | pt-br = Perigos do<br>Submundo: | ||
+ | | ru = Угрозы<br>Загробного мира: | ||
+ | }}''' {{!!}} {{{map-underworld-hazards}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 286: | Line 300: | ||
| fi = Pyronäkö: | | fi = Pyronäkö: | ||
| fr = Pyrovision : | | fr = Pyrovision : | ||
− | | hu = | + | | hu = Pirólátás: |
| it = Pirovisione: | | it = Pirovisione: | ||
| ja = パイロビジョン | | ja = パイロビジョン | ||
− | | ko = 파이로 | + | | ko = 파이로 시야: |
| pl = Pyrowizja: | | pl = Pyrowizja: | ||
| pt-br = Pyrovisão: | | pt-br = Pyrovisão: | ||
Line 361: | Line 375: | ||
| fi = Erikoispaketteja: | | fi = Erikoispaketteja: | ||
| fr = Recharges Spéciales : | | fr = Recharges Spéciales : | ||
− | | hu = Különleges | + | | hu = Különleges Csomagok: |
| it = Oggetti speciali: | | it = Oggetti speciali: | ||
| ja = その他 | | ja = その他 | ||
Line 405: | Line 419: | ||
{{!}} colspan="2" style="text-align:center;" {{!}} ''None'' | {{!}} colspan="2" style="text-align:center;" {{!}} ''None'' | ||
{{!}}- | {{!}}- | ||
− | | {{#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- | + | | {{#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 481: | Line 495: | ||
{{!}}- | {{!}}- | ||
| }} | | }} | ||
− | {{#if: {{{map-special-pickups- | + | {{#if: {{{map-special-pickups-sgg|}}} {{{map-special-pickups-pumpkin|}}} | |
{{!}} [[File:TF2 crosshair.png|20px]] '''{{lang | {{!}} [[File:TF2 crosshair.png|20px]] '''{{lang | ||
| en = Special: | | en = Special: | ||
Line 504: | Line 518: | ||
| zh-hant = 特殊物品: | | zh-hant = 特殊物品: | ||
}}''' | }}''' | ||
− | {{!}} style="text-align:center;" {{!}} {{#if: {{{map-special-pickups- | + | {{!}} 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]] | }} |
{{!}}- | {{!}}- | ||
| }} | | }} | ||
Line 518: | Line 532: | ||
| fi = Kuvat | | fi = Kuvat | ||
| fr = Photos de la carte | | fr = Photos de la carte | ||
+ | | hu = Pálya képek | ||
| ja = マップ画像 | | ja = マップ画像 | ||
| ko = 맵 사진 | | ko = 맵 사진 | ||
Line 538: | Line 553: | ||
| en = Map Overview | | en = Map Overview | ||
| de = Kartenübersicht | | de = Kartenübersicht | ||
+ | | es = Vista general | ||
| fr = Vue aérienne | | fr = Vue aérienne | ||
+ | | hu = Pálya áttekintés | ||
| ja = マップ俯瞰図 | | ja = マップ俯瞰図 | ||
| ko = 맵 전경 | | ko = 맵 전경 | ||
Line 555: | Line 572: | ||
| en = Map Overview | | en = Map Overview | ||
| de = Kartenübersicht | | de = Kartenübersicht | ||
+ | | es = Vista general | ||
| fr = Vue aérienne | | fr = Vue aérienne | ||
+ | | hu = Pálya áttekintés | ||
| ja = マップ俯瞰図 | | ja = マップ俯瞰図 | ||
| ko = 맵 전경 | | ko = 맵 전경 | ||
Line 588: | Line 607: | ||
| ko = 지원자 목록이 적용되지 않음 | | ko = 지원자 목록이 적용되지 않음 | ||
| nl = Aanhangerranglijst nog niet beschikbaar. | | nl = Aanhangerranglijst nog niet beschikbaar. | ||
− | | pl = Lista | + | | pl = Lista wspierających nie jest jeszcze dostępna. |
| pt-br = Classificação dos apoiadores ainda não disponível. | | pt-br = Classificação dos apoiadores ainda não disponível. | ||
| ru = Таблица поддержавших в данный момент недоступна. | | ru = Таблица поддержавших в данный момент недоступна. | ||
Line 610: | Line 629: | ||
| ko = 지원자 목록이 적용됨 | | ko = 지원자 목록이 적용됨 | ||
| nl = Aanhangerranglijst | | nl = Aanhangerranglijst | ||
− | | pl = Lista | + | | pl = Lista wspierających |
| pt-br = Classificação dos apoiadores | | pt-br = Classificação dos apoiadores | ||
| ru = Самая большая поддержка | | ru = Самая большая поддержка | ||
Line 631: | Line 650: | ||
-->{{#if: {{{map-image|}}} | | [[Category:Maps without a screenshot]] }}</includeonly><noinclude>{{clr}} | -->{{#if: {{{map-image|}}} | | [[Category:Maps without a screenshot]] }}</includeonly><noinclude>{{clr}} | ||
{{Complex template}} | {{Complex template}} | ||
− | {{ts|en, de, fr, ja, pl, pt-br, ru, tr, zh-hans}} | + | {{ts|en, de, es, fr, hu, ja, pl, pt-br, ru, tr, zh-hans}} |
{{Template doc}} | {{Template doc}} | ||
[[Category:Templates|Map infobox]] | [[Category:Templates|Map infobox]] | ||
[[Category:Infobox templates|Map infobox]] | [[Category:Infobox templates|Map infobox]] | ||
</noinclude> | </noinclude> |
Revision as of 14:27, 10 May 2020
Map infobox | |
---|---|
Basic information | |
Developer(s): | Valve |
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, pl, pt-br, ru, tr, zh-hans (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 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).
|
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. |