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

Template:DMG: Difference between revisions

Template page
mNo edit summary
No edit summary
Line 1: Line 1:
<onlyinclude>{{#if:{{{2}}}|{{#ifeq:{{{2|}}}|+|<span style="color:#00FF00">{{{3|}}} </span>|{{#ifeq:{{{2|}}}|-|<span style="color:#FF0000">{{{3|}}} </span>|}}}}|}}{{#switch: {{{1|}}}
<onlyinclude>{{#if:{{{2}}}|{{#ifeq:{{{2|}}}|+|<span style="color:#00FF00">{{{3|}}} </span>|{{#ifeq:{{{2|}}}|-|<span style="color:#FF0000">{{{3|}}} </span>|}}}}|}}{{#switch: {{{1}}}
  | BRUTE = <abbr title="Brute damage: Blunt, Slash, Piercing"><span style="color:#CC1037">BRUTE</span></abbr>
  | Brute = <abbr title="Brute damage: Blunt, Slash, Piercing"><span style="color:#CC1037">BRUTE</span></abbr>
  | Blunt = <span style="color:#CC1037">Blunt</span>
  | Blunt = <span style="color:#CC1037">Blunt</span>
  | Slash = <span style="color:#CC1037">Slash</span>
  | Slash = <span style="color:#CC1037">Slash</span>
  | Piercing = <span style="color:#CC1037">Piercing</span>
  | Piercing = <span style="color:#CC1037">Piercing</span>
  | BURN = <abbr title="Burn damage: Heat, Shock, Cold, Caustic"><span style="color:#CC7A1D">BURN</span></abbr>
  | Burn = <abbr title="Burn damage: Heat, Shock, Cold, Caustic"><span style="color:#CC7A1D">BURN</span></abbr>
  | Heat = <span style="color:#CC7A1D">Heat</span>
  | Heat = <span style="color:#CC7A1D">Heat</span>
  | Shock = <span style="color:#CC7A1D">Shock</span>
  | Shock = <span style="color:#CC7A1D">Shock</span>
  | Cold = <span style="color:#CC7A1D">Cold</span>
  | Cold = <span style="color:#CC7A1D">Cold</span>
  | Caustic = <span style="color:#CC7A1D">Caustic</span>
  | Caustic = <span style="color:#CC7A1D">Caustic</span>
  | AIR = <abbr title="Airloss damage: Asphyxiation, Bloodloss"><span style="color:#1F75D1">AIR</span></abbr>
  | Airloss = <abbr title="Airloss damage: Asphyxiation, Bloodloss"><span style="color:#1F75D1">AIR</span></abbr>
  | Asphyxiation = <span style="color:#1F75D1">Asphyxiation</span>
  | Asphyxiation = <span style="color:#1F75D1">Asphyxiation</span>
  | Bloodloss = <span style="color:#1F75D1">Bloodloss</span>
  | Bloodloss = <span style="color:#1F75D1">Bloodloss</span>
  | TOXIN = <abbr title="Toxin damage: Poison, Radiation"><span style="color:#138015">TOXIN</span></abbr>
  | Toxin = <abbr title="Toxin damage: Poison, Radiation"><span style="color:#138015">TOXIN</span></abbr>
  | Poison = <span style="color:#138015">Poison</span>
  | Poison = <span style="color:#138015">Poison</span>
  | Radiation = <span style="color:#138015">Radiation</span>
  | Radiation = <span style="color:#138015">Radiation</span>
  | GENE = <abbr title="Genetic damage: Cellular"><span style="color:#C994C7">GENE</span></abbr>
  | Genetic = <abbr title="Genetic damage: Cellular"><span style="color:#C994C7">GENE</span></abbr>
  | Cellular = <span style="color:#C994C7">Cellular</span>
  | Cellular = <span style="color:#C994C7">Cellular</span>
  | IMMAT = <abbr title="Immaterial damage: Holy"><span style="color:#FFC000">IMMAT</span></abbr>
  | Immaterial = <abbr title="Immaterial damage: Holy"><span style="color:#FFC000">IMMAT</span></abbr>
  | Holy = <span style="color:#FFC000">Holy</span>
  | Holy = <span style="color:#FFC000">Holy</span>
  | STAM = <abbr title="Stamina damage"><span style="color:#ADD8E6">STAM</span></abbr>
  | Stamina = <abbr title="Stamina damage"><span style="color:#ADD8E6">STAM</span></abbr>
  | STRUC = <abbr title="Structural damage"><span style="color:#D3D3D3">STRUC</span></abbr>
  | Structural = <abbr title="Structural damage"><span style="color:#D3D3D3">STRUC</span></abbr>
  | <span style="color:#E60000>'''INCORRECT TYPE'''</span>}}</onlyinclude>
  | {{{1}}} = <span style="color:#E60000>'''INCORRECT TYPE'''</span>|}}</onlyinclude>


== Usage ==
== Usage ==
Line 35: Line 35:


Damage groups and types:
Damage groups and types:
<br>BRUTE: {{DMG|BRUTE}}
<br>Brute: {{DMG|Brute}}
<br>Blunt: {{DMG|Blunt}}
<br>Blunt: {{DMG|Blunt}}
<br>Slash: {{DMG|Slash}}
<br>Slash: {{DMG|Slash}}
<br>Piercing: {{DMG|Piercing}}
<br>Piercing: {{DMG|Piercing}}
<br><br>BURN: {{DMG|BURN}}
<br><br>Burn: {{DMG|Burn}}
<br>Heat: {{DMG|Heat}}
<br>Heat: {{DMG|Heat}}
<br>Shock: {{DMG|Shock}}
<br>Shock: {{DMG|Shock}}
<br>Cold: {{DMG|Cold}}
<br>Cold: {{DMG|Cold}}
<br>Caustic: {{DMG|Caustic}}
<br>Caustic: {{DMG|Caustic}}
<br><br>AIR: {{DMG|AIR}}
<br><br>Airloss: {{DMG|Airloss}}
<br>Asphyxiation: {{DMG|Asphyxiation}}
<br>Asphyxiation: {{DMG|Asphyxiation}}
<br>Bloodloss: {{DMG|Bloodloss}}
<br>Bloodloss: {{DMG|Bloodloss}}
<br><br>TOXIN: {{DMG|TOXIN}}
<br><br>Toxin: {{DMG|Toxin}}
<br>Poison: {{DMG|Poison}}
<br>Poison: {{DMG|Poison}}
<br>Radiation: {{DMG|Radiation}}
<br>Radiation: {{DMG|Radiation}}
<br><br>GENE: {{DMG|GENE}}
<br><br>Genetic: {{DMG|Genetic}}
<br>Cellular: {{DMG|Cellular}}
<br>Cellular: {{DMG|Cellular}}
<br><br>IMMAT: {{DMG|IMMAT}}
<br><br>Immaterial: {{DMG|Immaterial}}
<br>Holy: {{DMG|Holy}}
<br>Holy: {{DMG|Holy}}
<br><br>STAM: {{DMG|STAM}} <!-- Not really a group but eh -->
<br><br>Stamina: {{DMG|Stamina}} <!-- Not really a group but eh -->
<br><br>STRUC: {{DMG|STRUC}} <!-- Not really a group but eh -->
<br><br>Structural: {{DMG|Structural}} <!-- Not really a group but eh -->




[[Category:Templates]]
[[Category:Templates]]

Revision as of 19:29, 6 December 2023

INCORRECT TYPE

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

Airloss: AIR
Asphyxiation: Asphyxiation
Bloodloss: Bloodloss

Toxin: TOXIN
Poison: Poison
Radiation: Radiation

Genetic: GENE
Cellular: Cellular

Immaterial: IMMAT
Holy: Holy

Stamina: STAM

Structural: STRUC