Difference between revisions of "Template:Hazard infobox"
(Wow! I can't spell.i) |
m (Added multiple kill-icon support.) |
||
Line 36: | Line 36: | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
− | {{!}} colspan="2" {{!}} {{kill notice|weapon={{lc:{{{kill-icon-1|{{BASEPAGENAME}}}}}}}|kill-text={{{kill-text-1|}}}}} | + | {{!}} colspan="2" {{!}} {{kill notice|weapon={{lc:{{{kill-icon-1|{{BASEPAGENAME}}}}}}}|kill-text={{{kill-text-1|}}}}}<!-- |
+ | -->{{#if:{{{kill-icon-2|}}} | ||
+ | | <tr><td colspan="2">{{kill notice|weapon={{lc:{{{kill-icon-2|{{BASEPAGENAME}}}}}}}|kill-text={{{kill-text-2|}}}}}</td></tr> | ||
+ | }}{{#if:{{{kill-icon-3|}}} | ||
+ | | <tr><td colspan="2">{{kill notice|weapon={{lc:{{{kill-icon-3|{{BASEPAGENAME}}}}}}}|kill-text={{{kill-text-3|}}}}}</td></tr> | ||
+ | }}{{#if:{{{kill-icon-4|}}} | ||
+ | | <tr><td colspan="2">{{kill notice|weapon={{lc:{{{kill-icon-4|{{BASEPAGENAME}}}}}}}|kill-text={{{kill-text-4|}}}}}</td></tr> | ||
+ | }}{{#if:{{{kill-icon-5|}}} | ||
+ | | <tr><td colspan="2">{{kill notice|weapon={{lc:{{{kill-icon-5|{{BASEPAGENAME}}}}}}}|kill-text={{{kill-text-5|}}}}}</td></tr> | ||
+ | }}{{#if:{{{kill-icon-6|}}} | ||
+ | | <tr><td colspan="2">{{kill notice|weapon={{lc:{{{kill-icon-6|{{BASEPAGENAME}}}}}}}|kill-text={{{kill-text-6|}}}}}</td></tr> | ||
+ | }} | ||
{{!}}- | {{!}}- | ||
}} | }} |
Revision as of 20:52, 30 October 2012
Hazard infobox | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Kill Icons | ||||||||||
Basic Information | ||||||||||
Damage Done: | ||||||||||
Affected By: |
| |||||||||
Found On: |
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Hazard infobox/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: ar, cs, da, de, es, fi, fr, hu, it, ja, ko, nl, no, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant (add) |
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. |