Template:Damage

From Space Station 14 Wiki
Template documentation
view or edit this documentation about template documentation
Uses Lua module
This template uses Lua module:

Usage

{{Damage|<type or group>|<amount>}}

Tip
If possible, use the alias templates found in the table below instead of this one, as they are a bit easier to use.

Specify a damage type or group from the table below, and optionally amount. Any casing is allowed.

Depending on whether it's a damage type or group, the following will be generated:

  • If it's a damage type, a potentially colored label with an amount (if specified) will be produced. If specified type is an alias, the real definition will be used for displaying a label (hence the same labels for some damage types in the damage types table).
  • If it's a damage group, a label will be produced for that group, similar to the damage type. The damage types composing that group will be listed in parenthesis, with amount if it's specified for all of them (including the group label).

If above is confusing, just look at the examples below.

How to make changes

See Module:Damage for details.

Examples

Damage type

{{Damage|Blunt}}

blunt

Damage type with an amount

{{Damage|Poison|5}}

5 poison

Damage group

{{Damage|Burn}}

burn (heat, shock, cold and caustic)

Damage group with an amount

{{Damage|Toxin|10}}

10 toxin (5 poison and 5 radiation)

List of damage groups

Damage group How it looks Alias template
  • Brute
  • brute (blunt, slash and piercing)
  • Burn
  • burn (heat, shock, cold and caustic)
  • Airloss
  • airloss (asphyxiation and bloodloss)
  • Toxin
  • toxin (poison and radiation)
  • Genetic
  • genetic (cellular)
  • Metaphysical
  • metaphysical (holy)


List of damage types

Damage type How it looks Alias template
  • Asphyxiation
  • asphyxiation
  • Bloodloss
  • Bleeding
  • Bleed
  • bloodloss
  • bloodloss
  • bloodloss
  • Blunt
  • blunt
  • Cellular
  • cellular
  • Caustic
  • caustic
  • Cold
  • cold
  • Heat
  • heat
  • Piercing
  • Puncture
  • piercing
  • piercing
  • Poison
  • poison
  • Radiation
  • Rad
  • radiation
  • radiation
  • Shock
  • shock
  • Slash
  • slash
  • Structural
  • structural
  • Holy
  • holy

Creates a colored label corresponding to a damage type.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Type1

Damage type or damage group. Lowercase and other -case values are allowed.

Suggested values
Brute Burn Airloss Toxin Genetic Metaphysical Asphyxiation Bloodloss Bleeding Bleed Blunt Cellular Caustic Cold Heat Piercing Puncture Poison Radiation Rad Shock Slash Structural Holy
Linerequired
Amount2

Amount of that damage.

Numbersuggested