Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:DMG

Template page
Revision as of 19:18, 4 December 2023 by Floofers (talk | contribs) (Actually use a switch instead of 20 nested ifeq)


Usage

This is mostly a decorative template to color the damages and show a tooltip for damage groups. Mostly used for the Weapons page but can be freely used anywhere else. Please use the groups as much as possible to avoid cluttering the table when specific damage types aren't required.

To use it, simply write:

{{DMG|TOXIN}}

Which will render differently depending on the damage you write;

Damage groups and types:
BRUTE: BRUTE
Blunt: Blunt
Slash: Slash
Piercing: Piercing

BURN: BURN
Heat: Heat
Shock: Shock
Cold: Cold
Caustic: Caustic

AIR: AIR
Asphyxiation: Asphyxiation
Bloodloss: Bloodloss

TOXIN: TOXIN
Poison: Poison
Radiation: Radiation

GENE: GENE
Cellular: Cellular

IMMAT: IMMAT
Holy: Holy

STAM: STAM

STRUC: STRUC