Difference between revisions of "Template:Hazard infobox"

From Team Fortress Wiki
Jump to: navigation, search
m (No other languages are gonna be RTL any time soon)
(Add 3D viewer)
 
(6 intermediate revisions by 4 users not shown)
Line 3: Line 3:
 
! colspan="2" style="background-color:#F3A957;" | {{{hazard-name-override|{{{NAME|{{{name|{{{title|{{BASEPAGENAME}}}}}}}}}}}}}}
 
! colspan="2" style="background-color:#F3A957;" | {{{hazard-name-override|{{{NAME|{{{name|{{{title|{{BASEPAGENAME}}}}}}}}}}}}}}
 
|-
 
|-
| align="center" class="image" colspan="2" | [[File:{{{image|Screenshot needed.png}}}|{{{imagewidth|300px}}}|alt={{BASEPAGENAME}}]]
+
| align="center" class="image" colspan="2" | {{#if: {{{3d-image-1|}}}
 +
  | {{#invoke:3D viewer advanced|viewer_new}}
 +
  | [[File:{{{image|Screenshot needed.png}}}|{{{imagewidth|300px}}}|alt={{BASEPAGENAME}}]]
 +
  }}
 
|-
 
|-
 
{{#if:{{{hide-kill-icon|}}}
 
{{#if:{{{hide-kill-icon|}}}
Line 11: Line 14:
 
   | #default =  
 
   | #default =  
 
! colspan="2" {{!}} {{lang
 
! colspan="2" {{!}} {{lang
 +
  | en = {{#if:{{{kill-icon-2|}}}|Kill Icons|Kill Icon}}
 
   | ar = كيل أيكون
 
   | ar = كيل أيكون
 
   | cs = {{#if:{{{kill-icon-2|}}}|Ikony při zabití|Ikona při zabití}}  
 
   | cs = {{#if:{{{kill-icon-2|}}}|Ikony při zabití|Ikona při zabití}}  
 
   | da = {{#if:{{{kill-icon-2|}}}|Drabsikoner|Drabsikon}}
 
   | da = {{#if:{{{kill-icon-2|}}}|Drabsikoner|Drabsikon}}
 
   | de = {{#if:{{{kill-icon-2|}}}|Bilder|Bild}}
 
   | de = {{#if:{{{kill-icon-2|}}}|Bilder|Bild}}
   | es = {{#if:{{{kill-icon-2|}}}|Iconos de Muerte|Icono de Muerte}}
+
   | es = {{#if:{{{kill-icon-2|}}}|Iconos de muerte|Icono de muerte}}
  | en = {{#if:{{{kill-icon-2|}}}|Kill Icons|Kill Icon}}
 
 
   | fi = {{#if:{{{kill-icon-2|}}}|Tappokuvakkeet|Tappokuvake}}
 
   | fi = {{#if:{{{kill-icon-2|}}}|Tappokuvakkeet|Tappokuvake}}
 
   | fr = {{#if:{{{kill-icon-2|}}}|Icônes de Frag|Icône de Frag}}
 
   | fr = {{#if:{{{kill-icon-2|}}}|Icônes de Frag|Icône de Frag}}
Line 52: Line 55:
 
}}
 
}}
 
! colspan="2" | {{lang
 
! colspan="2" | {{lang
 +
  | en = Basic Information
 
   | ar = معلومات مختصرة
 
   | ar = معلومات مختصرة
 
   | cs = Základní informace
 
   | cs = Základní informace
 
   | de = Grundinformationen
 
   | de = Grundinformationen
  | en = Basic Information
 
 
   | es = Información básica
 
   | es = Información básica
 
   | fi = Perustiedot  
 
   | fi = Perustiedot  
Line 63: Line 66:
 
   | ja = 基本情報
 
   | ja = 基本情報
 
   | ko = 기본 정보
 
   | ko = 기본 정보
   | lt = Svarbiausia Info
+
   | nl = Algemene Informatie
 
   | no = Generell informasjon
 
   | no = Generell informasjon
  | nl = Algemene Informatie
 
 
   | pl = Podstawowe informacje
 
   | pl = Podstawowe informacje
 
   | pt = Informação Básica
 
   | pt = Informação Básica
 
   | pt-br = Informações básicas
 
   | pt-br = Informações básicas
 +
  | ro = Informaţii de bază
 +
  | ru = Основная информация
 
   | sv = Basfakta
 
   | sv = Basfakta
  | ru = Основная информация
 
  | ro = Informaţii generale
 
 
   | zh-hans = 基础信息
 
   | zh-hans = 基础信息
 
   | zh-hant = 基本資訊
 
   | zh-hant = 基本資訊
Line 79: Line 81:
 
{{!}} valign="top" {{!}} {{lang
 
{{!}} valign="top" {{!}} {{lang
 
   | en = '''Health:'''
 
   | en = '''Health:'''
 +
  | cs = '''Zdraví:'''
 
   | de = '''Gesundheit:'''
 
   | de = '''Gesundheit:'''
 
   | es = '''Salud:'''
 
   | es = '''Salud:'''
Line 84: Line 87:
 
   | fr = '''Santé :'''
 
   | fr = '''Santé :'''
 
   | hu = '''Életerő:'''
 
   | hu = '''Életerő:'''
  | pl = '''Zdrowie:'''
 
 
   | ja = '''ヘルス値'''
 
   | ja = '''ヘルス値'''
 
   | ko = '''체력'''
 
   | ko = '''체력'''
 
   | no = '''Helse:'''
 
   | no = '''Helse:'''
 +
  | pl = '''Zdrowie:'''
 
   | pt-br = '''Vida:'''
 
   | pt-br = '''Vida:'''
 +
  | ro = '''Viață:'''
 
   | ru = '''Здоровье:'''
 
   | ru = '''Здоровье:'''
 
   | zh-hans = '''生命值:'''
 
   | zh-hans = '''生命值:'''
Line 98: Line 102:
 
| valign="top" | {{lang
 
| valign="top" | {{lang
 
   | en = '''Damage Done:'''
 
   | en = '''Damage Done:'''
 +
  | cs = '''Udělené poškození:'''
 
   | de = '''Verursachter Schaden:'''
 
   | de = '''Verursachter Schaden:'''
 
   | es = '''Daño infligido:'''
 
   | es = '''Daño infligido:'''
 +
  | fi = '''Aiheutettu vahinko'''
 
   | fr = '''Dégâts infligés :'''
 
   | fr = '''Dégâts infligés :'''
 
   | hu = '''Sebzés:'''
 
   | hu = '''Sebzés:'''
  | pl = '''Zadawane obrażenia:'''
 
 
   | ja = '''攻撃力'''
 
   | ja = '''攻撃力'''
 
   | ko = '''피해'''
 
   | ko = '''피해'''
 
   | no = '''Skade gitt:'''
 
   | no = '''Skade gitt:'''
   | fi = '''Aiheutettu vahinko'''
+
   | pl = '''Zadawane obrażenia:'''
 
   | pt-br = '''Dano feito:'''
 
   | pt-br = '''Dano feito:'''
 +
  | ro = '''Pagube făcute:'''
 
   | ru = '''Наносимый урон:'''
 
   | ru = '''Наносимый урон:'''
 
   | zh-hans = '''造成伤害:'''
 
   | zh-hans = '''造成伤害:'''
Line 116: Line 122:
 
| valign="top" | {{lang
 
| valign="top" | {{lang
 
   | en = '''Affected By:'''
 
   | en = '''Affected By:'''
 +
  | cs = '''Ovlivnění:'''
 
   | de = '''Beeinträchtigt durch:'''
 
   | de = '''Beeinträchtigt durch:'''
 
   | es = '''Afectado por:'''
 
   | es = '''Afectado por:'''
Line 121: Line 128:
 
   | fr = '''Affecté par :'''
 
   | fr = '''Affecté par :'''
 
   | hu = '''Befolyásolva:'''
 
   | hu = '''Befolyásolva:'''
  | pl = '''Podatny na:'''
 
 
   | ja = '''次の影響を受けるか否か'''
 
   | ja = '''次の影響を受けるか否か'''
 
   | ko = '''영향 여부'''
 
   | ko = '''영향 여부'''
 
   | no = '''Påvirket av:'''
 
   | no = '''Påvirket av:'''
 +
  | pl = '''Podatny na:'''
 
   | pt-br = '''Afetado por:'''
 
   | pt-br = '''Afetado por:'''
 +
  | ro = '''Afectat de:'''
 
   | ru = '''Влияние:'''
 
   | ru = '''Влияние:'''
 
   | zh-hans = '''受影响因素:'''
 
   | zh-hans = '''受影响因素:'''
Line 151: Line 159:
 
| valign="top" | {{lang
 
| valign="top" | {{lang
 
   | en = '''Found On:'''
 
   | en = '''Found On:'''
 +
  | cs = '''Nachází se na:'''
 
   | de = '''Angetroffen auf:'''
 
   | de = '''Angetroffen auf:'''
 
   | es = '''Encontrado en:'''
 
   | es = '''Encontrado en:'''
 +
  | fi = '''Löytyy:'''
 
   | fr = '''Peut être trouvé sur :'''
 
   | fr = '''Peut être trouvé sur :'''
 
   | hu = '''Hol talált:'''
 
   | hu = '''Hol talált:'''
  | pl = '''Występowanie:'''
 
  | fi = '''Löytyy:'''
 
 
   | ja = '''出現マップ:'''
 
   | ja = '''出現マップ:'''
 
   | ko = '''등장 장소'''
 
   | ko = '''등장 장소'''
 
   | no = '''Funnet på:'''
 
   | no = '''Funnet på:'''
 +
  | pl = '''Występowanie:'''
 
   | pt-br = '''Encontrado em:'''
 
   | pt-br = '''Encontrado em:'''
 +
  | ro = '''Găsit pe:''
 
   | ru = '''Расположение:'''
 
   | ru = '''Расположение:'''
 
   | zh-hans = '''分布:'''
 
   | zh-hans = '''分布:'''
Line 167: Line 177:
 
| {{{maps|}}}
 
| {{{maps|}}}
 
|}<includeonly>{{lang cat|Environmental hazards}}{{lang cat|Gameplay}}</includeonly><noinclude>
 
|}<includeonly>{{lang cat|Environmental hazards}}{{lang cat|Gameplay}}</includeonly><noinclude>
{{translation switching|en, de, es, fi, fr, hu, ja, ko, no, pl, pt-br, ru, zh-hans, zh-hant}}
+
{{translation switching|en, cs, de, es, fi, fr, hu, ja, ko, no, pl, pt-br, ro, ru, zh-hans, zh-hant}}
 
{{Template doc}}
 
{{Template doc}}
 
[[Category:Infobox templates|Hazard infobox]]
 
[[Category:Infobox templates|Hazard infobox]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:51, 15 March 2024

Hazard infobox
Hazard infobox
Kill Icon
Basic Information
Damage Done:
Affected By:
• Battalion's Backup:
• Bonk! Atomic Punch:
• Candy Cane:
• Chargin' Targe:
• Dead Ringer:
• Gunboats:
• Mini-crits:
• ÜberCharge:
Found On:

Template documentation [view] [edit] [history] [purge]

This template adds in information box to articles on Environmental deaths. It adds pages to Category:Environmental hazards and Category:Gameplay.

Usage

{{Hazard infobox
| name = 
| image = 
| 3d-image-n = 
| 3d-button-n = 
| 3d-viewname-n = 
| hide-kill-icon = 
| health = 
| damage = 
| backup = 
| bonk = 
| candy-cane = 
| targe = 
| dead-ringer = 
| gunboats = 
| jumpers = 
| mini-crits = 
| uber = 
| maps = 
}}

Parameters

Parameter Required? Function
name No The name of the hazard if it is anything other than the page name.
image Yes Image of the hazard, resized to 300px wide. Defaults to File:Screenshot needed.png.
3d-[...] No See documentation at Module:3D viewer advanced.
hide-kill-icon No If there is no appropriate kill icon, set this to yes and it will not show one.
health No The amount of heath the hazard has.
backup Yes Whether or not the hazard's damage is affected by usage of the Battalion's Backup.
bonk Yes Whether or not the hazard's damage is affected by usage of the Bonk! Atomic Punch.
candy-cane Yes Whether or not the hazard's damage is affected by usage of the Candy Cane.
targe Yes Whether or not the hazard's damage is affected by usage of the Chargin' Targe.
dead-ringer Yes Whether or not the hazard's damage is affected by usage of the Dead Ringer.
gunboats Yes Whether or not the hazard's damage is affected by usage of the Gunboats.
jumpers Yes Whether or not the hazard's damage is affected by usage of the Jumpers.
mini-crits Yes Whether or not the hazard's damage is affected by Mini-Crits.
uber Yes Whether or not the hazard's damage is affected by ÜberCharges.
maps Yes Which official maps the hazard can be found on.