Template:Damage
Jump to navigation
Jump to search
{{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|Ammo|9x45}} |
![]() |
{{Damage|Arc|250}} |
![]() |
{{Damage|Energy|150}} |
![]() |
{{Damage|Explosion|1200|notext}} |
![]() |
{{Damage|Fall}} |
![]() |
{{Damage|Fire|15x4|notext}} |
![]() |
{{Damage|Impact|Severe}} |
![]() |
{{Damage|Laser|Continuous|notetetxt}} |
![]() |
{{Damage|Frost|100}} |
{{damage}} : syntax error!!
|
The above documentation is transcluded from Template:Damage/doc. (edit | history)
{{Damage}} template can be used to display types and amount of damage.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Damage Type | 1 | Type of damage to be displayed
| Content | required |
Damage Amount | 2 | Amount of damage to be displayed
| Number | optional |
No Text switch | 3 | Hides Damage Type text if present
| String | suggested |