Difference between revisions of "Template:Hazard infobox"

From Team Fortress Wiki
Jump to: navigation, search
m (Arabic is rtl not ltr, so float left not float right.)
m
Line 72: Line 72:
 
   | ru = Основная информация
 
   | ru = Основная информация
 
   | ro = Informaţii generale
 
   | ro = Informaţii generale
   | zh-hans = 基本资讯
+
   | zh-hans = 基本信息
 
   | zh-hant = 基本資訊
 
   | zh-hant = 基本資訊
 
   }}
 
   }}
Line 91: Line 91:
 
   | pt-br = '''Vida:'''
 
   | pt-br = '''Vida:'''
 
   | ru = '''Здоровье:'''
 
   | ru = '''Здоровье:'''
 +
  | zh-hans = '''生命值:'''
 
   | zh-hant = '''生命值:'''
 
   | zh-hant = '''生命值:'''
 
   }}
 
   }}
Line 110: Line 111:
 
   | pt-br = '''Dano feito:'''
 
   | pt-br = '''Dano feito:'''
 
   | ru = '''Наносимый урон:'''
 
   | ru = '''Наносимый урон:'''
 +
  | zh-hans = '''造成伤害:'''
 
   | zh-hant = '''造成傷害:'''
 
   | zh-hant = '''造成傷害:'''
 
   }}
 
   }}
Line 127: Line 129:
 
   | pt-br = '''Afetado por:'''
 
   | pt-br = '''Afetado por:'''
 
   | ru = '''Влияние:'''
 
   | ru = '''Влияние:'''
 +
  | zh-hans = '''是否有作用:'''
 
   | zh-hant = '''是否有作用:'''
 
   | zh-hant = '''是否有作用:'''
 
   }}
 
   }}
Line 161: Line 164:
 
   | pt-br = '''Encontrado em:'''
 
   | pt-br = '''Encontrado em:'''
 
   | ru = '''Расположение:'''
 
   | ru = '''Расположение:'''
 +
  | zh-hans = '''分布地点:'''
 
   | zh-hant = '''出沒地點:'''
 
   | zh-hant = '''出沒地點:'''
 
   }}
 
   }}
 
| {{{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-hant}}
+
{{translation switching|en, de, es, fi, fr, hu, ja, ko, no, pl, pt-br, ru, zh-hans, zh-hant}}
 
{{Template doc}}
 
{{Template doc}}
 
[[Category:Infobox templates|Hazard infobox]]
 
[[Category:Infobox templates|Hazard infobox]]
 
</noinclude>
 
</noinclude>

Revision as of 12:45, 19 September 2019

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.