Template:Damage

From Helldivers Wiki
Jump to navigation Jump to search
Template-info.svg Documentation

{{Damage}} template can be used to display types and amount of damage.

Usage

{{Damage|Type|Amount|notext}} Where:

  • Type is a required parameter, and can be (case insensitive):
    • Acid
    • Ammo
    • Arc
    • Energy
    • Explosion
    • Fall
    • Fire
    • Impact
    • Laser
  • Amount is an optional parameter, and can be any number or text.
    •  
    • 15x4
    • Severe
    • Continuous
  • notext is an optional parameter that will remove text from the end of the output if present.
    • notext

Examples

{{Damage|Acid|100}} Damage Acid Icon.png 100 Acid
{{Damage|Ammo|9x45}} Damage Ammo Icon.png 9x45 Firearm
{{Damage|Arc|250}} Damage Arc Icon.png 250 Arc
{{Damage|Energy|150}} Damage Energy Icon.png 150 Energy
{{Damage|Explosion|1200|notext}} Damage Explosion Icon.png 1200
{{Damage|Fall}} Damage Fall Icon.png Fall
{{Damage|Fire|15x4|notext}} Damage Fire Icon.png 15x4
{{Damage|Impact|Severe}} Damage Impact Icon.png Severe Impact
{{Damage|Laser|Continuous|notetetxt}} Damage Laser Icon.png Continuous Laser
{{Damage|Frost|100}} {{damage}}: syntax error!!

{{Damage}} template can be used to display types and amount of damage.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Damage Type1

Type of damage to be displayed

Suggested values
Acid Ammo Arc Energy Explosion Fall Fire Impact Laser
Default
Ammo
Example
Explosion
Contentrequired
Damage Amount2

Amount of damage to be displayed

Example
125
Numberoptional
No Text switch3

Hides Damage Type text if present

Suggested values
notext
Stringsuggested