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
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>{{#ifeq:{{{1|}}}|BRUTE|<abbr title="Brute damage: Blunt, Slash, Piercing"><font color=#E60E4E>BRUTE</font></abbr>
<onlyinclude>{{#if:{{{2}}}|{{#ifeq:{{{2|}}}|+|<span style="color:#00FF00">{{{3|}}} </span>|{{#ifeq:{{{2|}}}|-|<span style="color:#FF0000">{{{3|}}} </span>|}}}}|}}{{#switch: {{{1}}}
|{{#ifeq:{{{1|}}}|Blunt|<font color=#E60E4E>Blunt</font>
| Brute = <abbr title="Brute damage: Blunt, Slash, Piercing"><span style="color:#CC1037">BRUTE</span></abbr>
|{{#ifeq:{{{1|}}}|Slash|<font color=#E60E4E>Slash</font>
| Blunt = <span style="color:#CC1037">Blunt</span>
|{{#ifeq:{{{1|}}}|Piercing|<font color=#E60E4E>Piercing</font>
| Slash = <span style="color:#CC1037">Slash</span>
|{{#ifeq:{{{1|}}}|BURN|<abbr title="Burn damage: Heat, Shock, Cold, Caustic"><font color=#CC7A1D>BURN</font></abbr>
| Piercing = <span style="color:#CC1037">Piercing</span>
|{{#ifeq:{{{1|}}}|Heat|<font color=#CC7A1D>Heat</font>
| Burn = <abbr title="Burn damage: Heat, Shock, Cold, Caustic"><span style="color:#CC7A1D">BURN</span></abbr>
|{{#ifeq:{{{1|}}}|Shock|<font color=#CC7A1D>Shock</font>
| Heat = <span style="color:#CC7A1D">Heat</span>
|{{#ifeq:{{{1|}}}|Cold|<font color=#CC7A1D>Cold</font>
| Shock = <span style="color:#CC7A1D">Shock</span>
|{{#ifeq:{{{1|}}}|Caustic|<font color=#CC7A1D>Caustic</font>
| Cold = <span style="color:#CC7A1D">Cold</span>
|{{#ifeq:{{{1|}}}|AIR|<abbr title="Airloss damage: Asphyxiation, Bloodloss"><font color=#1F75D1>AIR</font></abbr>
| Caustic = <span style="color:#CC7A1D">Caustic</span>
|{{#ifeq:{{{1|}}}|Asphyxiation|<font color=#1F75D1>Asphyxiation</font>
| Airloss = <abbr title="Airloss damage: Asphyxiation, Bloodloss"><span style="color:#1F75D1">AIR</span></abbr>
|{{#ifeq:{{{1|}}}|Bloodloss|<font color=#1F75D1>Bloodloss</font>
| Asphyxiation = <span style="color:#1F75D1">Asphyxiation</span>
|{{#ifeq:{{{1|}}}|TOXIN|<abbr title="Toxin damage: Poison, Radiation"><font color=#138015>TOXIN</font></abbr>
| Bloodloss = <span style="color:#1F75D1">Bloodloss</span>
|{{#ifeq:{{{1|}}}|Poison|<font color=#138015>Poison</font>
| Toxin = <abbr title="Toxin damage: Poison, Radiation"><span style="color:#138015">TOXIN</span></abbr>
|{{#ifeq:{{{1|}}}|Radiation|<font color=#138015>Radiation</font>
| Poison = <span style="color:#138015">Poison</span>
|{{#ifeq:{{{1|}}}|GENE|<abbr title="Genetic damage: Cellular"><font color=#C994C7>GENE</font></abbr>
| Radiation = <span style="color:#138015">Radiation</span>
|{{#ifeq:{{{1|}}}|Cellular|<font color=#C994C7>Cellular</font>
| Genetic = <abbr title="Genetic damage: Cellular"><span style="color:#C994C7">GENE</span></abbr>
|{{#ifeq:{{{1|}}}|IMMAT|<abbr title="Immaterial damage: Holy"><font color=#FFC000>IMMAT</font></abbr>
| Cellular = <span style="color:#C994C7">Cellular</span>
|{{#ifeq:{{{1|}}}|Holy|<font color=#FFC000>Holy</font>
| Immaterial = <abbr title="Immaterial damage: Holy"><span style="color:#FFC000">IMMAT</span></abbr>
|{{#ifeq:{{{1|}}}|STAM|<abbr title="Stamina damage"><font color=#ADD8E6>STAM</font></abbr>
| Holy = <span style="color:#FFC000">Holy</span>
|{{#ifeq:{{{1|}}}|STRUC|<abbr title="Structural damage"><font color=#D3D3D3>STRUC</font></abbr>
| Stamina = <span style="color:#ADD8E6">Stamina</span>
|<font color=#E60000>'''INCORRECT TYPE'''</font>}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}</onlyinclude>
| Structural = <span style="color:#D3D3D3">Structural</span>
<!-- Somebody make it better one day :) -->
| {{{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}}
*BRUTE: {{DMG|BRUTE}}
<br>Blunt: {{DMG|Blunt}}
**Blunt: {{DMG|Blunt}}
<br>Slash: {{DMG|Slash}}
**Slash: {{DMG|Slash}}
<br>Piercing: {{DMG|Piercing}}
**Piercing: {{DMG|Piercing}}
<br><br>Burn: {{DMG|Burn}}
 
<br>Heat: {{DMG|Heat}}
*BURN: {{DMG|BURN}}
<br>Shock: {{DMG|Shock}}
**Heat: {{DMG|Heat}}
<br>Cold: {{DMG|Cold}}
**Shock: {{DMG|Shock}}
<br>Caustic: {{DMG|Caustic}}
**Cold: {{DMG|Cold}}
<br><br>Airloss: {{DMG|Airloss}}
**Caustic: {{DMG|Caustic}}
<br>Asphyxiation: {{DMG|Asphyxiation}}
 
<br>Bloodloss: {{DMG|Bloodloss}}
*AIR: {{DMG|AIR}}
<br><br>Toxin: {{DMG|Toxin}}
**Asphyxiation: {{DMG|Asphyxiation}}
<br>Poison: {{DMG|Poison}}
**Bloodloss: {{DMG|Bloodloss}}
<br>Radiation: {{DMG|Radiation}}
 
<br><br>Genetic: {{DMG|Genetic}}
*TOXIN: {{DMG|TOXIN}}
<br>Cellular: {{DMG|Cellular}}
**Poison: {{DMG|Poison}}
<br><br>Immaterial: {{DMG|Immaterial}}
**Radiation: {{DMG|Radiation}}
<br>Holy: {{DMG|Holy}}
 
<br><br>Stamina: {{DMG|Stamina}} <!-- Not really a group but eh -->
*GENE: {{DMG|GENE}}
<br><br>Structural: {{DMG|Structural}} <!-- Not really a group but eh -->
**Cellular: {{DMG|Cellular}}
 
*IMMAT: {{DMG|IMMAT}}
**Holy: {{DMG|Holy}}
 
*STAM: {{DMG|STAM}} <!-- Not really a group but eh -->
 
*STRUC: {{DMG|STRUC}} <!-- Not really a group but eh -->




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

Latest revision as of 06:15, 11 March 2024

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: Stamina

Structural: Structural