Difference between revisions of "Template:Hazard infobox"
m (✶ | ru = Стандартный убер-заряд) |
|||
| (28 intermediate revisions by 15 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {| class="infobox" cellspacing="2" cellpadding="2" width="300px" style="float: right; clear: right; {{{style|}}}" | + | {| class="infobox" cellspacing="2" cellpadding="2" width="300px" style="{{lang incomplete|en=float: right; clear:right;|ar=float:left; clear:left;}} {{{style|}}}" |
|- | |- | ||
! 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 | + | | es = {{#if:{{{kill-icon-2|}}}|Iconos de muerte|Icono de muerte}} |
| − | |||
| 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 32: | Line 35: | ||
| sv = {{#if:{{{kill-icon-2|}}}|Dödsikoner|Dödsikon}} | | sv = {{#if:{{{kill-icon-2|}}}|Dödsikoner|Dödsikon}} | ||
| tr = {{#if:{{{kill-icon-2|}}}|Öldürme Simgesis|Öldürme Simgesi}} | | tr = {{#if:{{{kill-icon-2|}}}|Öldürme Simgesis|Öldürme Simgesi}} | ||
| − | | zh-hans = 击杀图标 | + | | zh-hans = {{#if:{{{kill-icon-2|}}}|击杀图标|击杀图标}} |
| zh-hant = 殺人圖示 | | zh-hant = 殺人圖示 | ||
}} | }} | ||
| 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 | ||
| − | + | | es = Información básica | |
| − | | es = Información | ||
| fi = Perustiedot | | fi = Perustiedot | ||
| fr = Informations de base | | fr = Informations de base | ||
| Line 63: | Line 66: | ||
| ja = 基本情報 | | ja = 基本情報 | ||
| ko = 기본 정보 | | ko = 기본 정보 | ||
| − | | | + | | nl = Algemene Informatie |
| no = Generell informasjon | | no = Generell informasjon | ||
| − | |||
| 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 | ||
| − | + | | zh-hans = 基础信息 | |
| − | |||
| − | | zh-hans = | ||
| zh-hant = 基本資訊 | | zh-hant = 基本資訊 | ||
}} | }} | ||
|- | |- | ||
| − | {{# | + | {{#if: {{{health|}}} | |
| − | | | + | {{!}} valign="top" {{!}} '''{{lang |
| − | {{!}} valign="top" {{!}} {{lang | + | | en = Health |
| − | | en = | + | | cs = Zdraví |
| − | | de = | + | | de = Gesundheit |
| − | | es = | + | | es = Salud |
| − | | fi = | + | | fi = Terveys |
| − | | fr = | + | | fr = Santé |
| − | | hu = | + | | hu = Életerő |
| − | + | | ja = ヘルス値 | |
| − | | ja = | + | | ko = 체력 |
| − | | ko = | + | | no = Helse |
| − | | no = | + | | pl = Zdrowie |
| − | | pt-br = | + | | pt-br = Vida |
| − | | ru = | + | | ro = Viață |
| − | | zh-hant = | + | | ru = Здоровье |
| − | }} | + | | zh-hans = 生命值 |
| + | | zh-hant = 生命值 | ||
| + | }}{{colon|br}}''' | ||
{{!}} {{{health|}}} | {{!}} {{{health|}}} | ||
{{!}}- | {{!}}- | ||
| − | | | + | | }} |
| − | }} | + | | valign="top" | '''{{lang |
| − | | valign="top" | {{lang | + | | en = Damage Done |
| − | | en = | + | | cs = Udělené poškození |
| − | | de = | + | | de = Verursachter Schaden |
| − | | es = | + | | es = Daño infligido |
| − | | fr = | + | | fi = Aiheutettu vahinko |
| − | | hu = | + | | fr = Dégâts infligés |
| − | + | | hu = Sebzés | |
| − | | ja = | + | | ja = 攻撃力 |
| − | | ko = | + | | ko = 피해 |
| − | | no = | + | | no = Skade gitt |
| − | | | + | | pl = Zadawane obrażenia |
| − | | pt-br = | + | | pt-br = Dano causado |
| − | | ru = | + | | ro = Pagube făcute |
| − | | zh-hant = | + | | ru = Наносимый урон |
| − | }} | + | | zh-hans = 造成伤害 |
| + | | zh-hant = 造成傷害 | ||
| + | }}{{colon}}''' | ||
| {{{damage|}}} | | {{{damage|}}} | ||
|- | |- | ||
| − | | valign="top" | {{lang | + | | valign="top" | '''{{lang |
| − | | en = | + | | en = Affected By |
| − | | de = | + | | cs = Ovlivnění |
| − | | es = | + | | de = Beeinträchtigt durch |
| − | | fi = | + | | es = Afectado por |
| − | | fr = | + | | fi = Vaikuttaa |
| − | | hu = | + | | fr = Affecté par |
| − | + | | hu = Befolyásolva | |
| − | | ja = | + | | ja = 次の影響を受けるか否か |
| − | | ko = | + | | ko = 영향 여부 |
| − | | no = | + | | no = Påvirket av |
| − | | pt-br = | + | | pl = Podatność na |
| − | | ru = | + | | pt-br = Afetado por |
| − | | zh-hant = | + | | ro = Afectat de |
| − | }} | + | | ru = Влияние |
| + | | zh-hans = 受影响因素 | ||
| + | | zh-hant = 是否有作用 | ||
| + | }}{{colon|br}}''' | ||
| | | | ||
{| cellpadding="0" cellspacing="0" | {| cellpadding="0" cellspacing="0" | ||
| − | | <small>• {{Item link|Battalion's Backup}} | + | | <small>• {{Item link|Battalion's Backup}}{{colon}}{{{backup|}}}</small> |
|- | |- | ||
| − | | <small>• {{Item link|Bonk! Atomic Punch}} | + | | <small>• {{Item link|Bonk! Atomic Punch}}{{colon}}{{{bonk|}}}</small> |
|- | |- | ||
| − | | <small>• {{Item link|Candy Cane}} | + | | <small>• {{Item link|Candy Cane}}{{colon}}{{{candy-cane|}}}</small> |
|- | |- | ||
| − | | <small>• {{Item link|Chargin' Targe}} | + | | <small>• {{Item link|Chargin' Targe}}{{colon}}{{{targe|}}}</small> |
|- | |- | ||
| − | | <small>• {{Item link|Dead Ringer}} | + | | <small>• {{Item link|Dead Ringer}}{{colon}}{{{dead-ringer|}}}</small> |
|- | |- | ||
| − | | <small>• {{Item link|Gunboats}} | + | | <small>• {{Item link|Gunboats}}{{colon}}{{{gunboats|}}}</small> |
|- | |- | ||
| − | | <small>• [[Mini-Crits{{if lang}}|{{common string|hazard-mini-crits}}]] | + | | <small>• [[Mini-Crits{{if lang}}|{{common string|hazard-mini-crits}}]]{{colon}}{{{mini-crits|}}}</small> |
|- | |- | ||
| − | | <small>• [[ÜberCharge | + | | <small>• {{lang |
| + | | en = Stock [[ÜberCharge]] | ||
| + | | pt-br = [[ÜberCharge/pt-br|ÜberCarga]] padrão | ||
| + | | ru = Стандартный [[ÜberCharge/ru|убер-заряд]] | ||
| + | }}{{colon}}{{{uber|}}}</small> | ||
|} | |} | ||
|- | |- | ||
| − | | valign="top" | {{lang | + | | valign="top" | '''{{lang |
| − | | en = | + | | en = Found On |
| − | | de = | + | | cs = Nachází se na |
| − | | es = | + | | de = Angetroffen auf |
| − | | fr = | + | | es = Encontrado en |
| − | | hu = | + | | fi = Löytyy |
| − | + | | fr = Peut être trouvé sur | |
| − | + | | hu = Hol talált | |
| − | | ja = | + | | ja = 出現マップ |
| − | | ko = | + | | ko = 등장 장소 |
| − | | no = | + | | no = Funnet på |
| − | | pt-br = | + | | pl = Występowanie |
| − | | ru = | + | | pt-br = Encontrado em |
| − | | zh-hant = | + | | ro = Găsit pe |
| − | }} | + | | ru = Расположение |
| + | | zh-hans = 分布 | ||
| + | | zh-hant = 出沒地點 | ||
| + | }}{{colon|br}}''' | ||
| {{{maps|}}} | | {{{maps|}}} | ||
|}<includeonly>{{lang cat|Environmental hazards}}{{lang cat|Gameplay}}</includeonly><noinclude> | |}<includeonly>{{lang cat|Environmental hazards}}{{lang cat|Gameplay}}</includeonly><noinclude> | ||
| − | {{translation switching| | + | {{translation switching|en, pt-br, ru}} |
{{Template doc}} | {{Template doc}} | ||
[[Category:Infobox templates|Hazard infobox]] | [[Category:Infobox templates|Hazard infobox]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 10:54, 23 November 2025
| Hazard infobox | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Kill Icon | |||||||||
| 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: en, pt-br, ru (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. |