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
m (Reverted edits by Floofers (talk) to last revision by Debug)
Tag: Rollback
(Separate groups and types)
Line 1: Line 1:
<onlyinclude>{{#ifeq:{{{dmg|}}}|TOX|<abbr title="Toxin damage: Poison, Radiation"><font color=#138015>TOX</font></abbr>
<onlyinclude>{{#ifeq:{{{1|}}}|BRUTE|<abbr title="Brute damage: Blunt, Slash, Piercing"><font color=#E60E4E>BRUTE</font></abbr>
|{{#ifeq:{{{dmg|}}}|BRUTE|<abbr title="Brute damage: Blunt, Slash, Piercing"><font color=#E60E4E>BRUTE</font></abbr>
|{{#ifeq:{{{1|}}}|Blunt|<font color=#E60E4E>Blunt</font>
|{{#ifeq:{{{dmg|}}}|BURN|<abbr title="Burn damage: Heat, Shock, Cold, Caustic"><font color=#CC7A1D>BURN</font></abbr>
|{{#ifeq:{{{1|}}}|Slash|<font color=#E60E4E>Slash</font>
|{{#ifeq:{{{dmg|}}}|AIR|<abbr title="Airloss damage: Asphyxiation, Bloodloss"><font color=#1F75D1>AIR</font></abbr>
|{{#ifeq:{{{1|}}}|Piercing|<font color=#E60E4E>Piercing</font>
|{{#ifeq:{{{dmg|}}}|GENE|<abbr title="Genetic damage: Cellular"><font color=#C994C7>GENE</font></abbr>
|{{#ifeq:{{{1|}}}|BURN|<abbr title="Burn damage: Heat, Shock, Cold, Caustic"><font color=#CC7A1D>BURN</font></abbr>
|{{#ifeq:{{{dmg|}}}|STAM|<abbr title="Stamina damage"><font color=#ADD8E6>STAM</font></abbr>
|{{#ifeq:{{{1|}}}|Heat|<font color=#CC7A1D>Heat</font>
|{{#ifeq:{{{dmg|}}}|HOLY|<abbr title="Holy damage"><font color=#FFC000>HOLY</font></abbr>
|{{#ifeq:{{{1|}}}|Shock|<font color=#CC7A1D>Shock</font>
|{{#ifeq:{{{dmg|}}}|STRUC|<abbr title="Structural damage"><font color=#D3D3D3>STRUC</font></abbr>
|{{#ifeq:{{{1|}}}|Cold|<font color=#CC7A1D>Cold</font>
|INCORRECT TYPE}}}}}}}}}}}}}}}}</onlyinclude>
|{{#ifeq:{{{1|}}}|Caustic|<font color=#CC7A1D>Caustic</font>
|{{#ifeq:{{{1|}}}|AIR|<abbr title="Airloss damage: Asphyxiation, Bloodloss"><font color=#1F75D1>AIR</font></abbr>
|{{#ifeq:{{{1|}}}|Asphyxiation|<font color=#1F75D1>Asphyxiation</font>
|{{#ifeq:{{{1|}}}|Bloodloss|<font color=#1F75D1>Bloodloss</font>
|{{#ifeq:{{{1|}}}|TOXIN|<abbr title="Toxin damage: Poison, Radiation"><font color=#138015>TOXIN</font></abbr>
|{{#ifeq:{{{1|}}}|Poison|<font color=#138015>Poison</font>
|{{#ifeq:{{{1|}}}|Radiation|<font color=#138015>Radiation</font>
|{{#ifeq:{{{1|}}}|GENE|<abbr title="Genetic damage: Cellular"><font color=#C994C7>GENE</font></abbr>
|{{#ifeq:{{{1|}}}|Cellular|<font color=#C994C7>Cellular</font>
|{{#ifeq:{{{1|}}}|IMMAT|<abbr title="Immaterial damage: Holy"><font color=#FFC000>IMMAT</font></abbr>
|{{#ifeq:{{{1|}}}|Holy|<font color=#FFC000>Holy</font>
|{{#ifeq:{{{1|}}}|STAM|<abbr title="Stamina damage"><font color=#ADD8E6>STAM</font></abbr>
|{{#ifeq:{{{1|}}}|STRUC|<abbr title="Structural damage"><font color=#D3D3D3>STRUC</font></abbr>
|INCORRECT TYPE}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}</onlyinclude>
<!-- Somebody make it better one day :) -->
<!-- Somebody make it better one day :) -->


== Usage ==
== Usage ==
This is mostly a decorative template for the Weapons page and to streamline the damage into just the big categories. To use it, simply write:
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 for the weapons to avoid cluttering the table.
 
To use it, simply write:


<pre>
<pre>
{{DMG|dmg=TOX}}
{{DMG|TOXIN}}
</pre>
</pre>


Which will render differently depending on the damage type you write;
Which will render differently depending on the damage you write;
 
Damage groups and types:
 
*BRUTE: {{DMG|BRUTE}}
**Blunt: {{DMG|Blunt}}
**Slash: {{DMG|Slash}}
**Piercing: {{DMG|Piercing}}


TOX: {{DMG|dmg=TOX}}
*BURN: {{DMG|BURN}}
**Heat: {{DMG|Heat}}
**Shock: {{DMG|Shock}}
**Cold: {{DMG|Cold}}
**Caustic: {{DMG|Caustic}}


BRUTE: {{DMG|dmg=BRUTE}}
*AIR: {{DMG|AIR}}
**Asphyxiation: {{DMG|Asphyxiation}}
**Bloodloss: {{DMG|Bloodloss}}


BURN: {{DMG|dmg=BURN}}
*TOXIN: {{DMG|TOXIN}}
**Poison: {{DMG|Poison}}
**Radiation: {{DMG|Radiation}}


AIR: {{DMG|dmg=AIR}}
*GENE: {{DMG|GENE}}
**Cellular: {{DMG|Cellular}}


GENE: {{DMG|dmg=GENE}}
*IMMAT: {{DMG|IMMAT}}
**Holy: {{DMG|Holy}}


STAM: {{DMG|dmg=STAM}}
*STAM: {{DMG|STAM}} <!-- Not really a group but eh -->


HOLY: {{DMG|dmg=HOLY}}
*STRUC: {{DMG|STRUC}} <!-- Not really a group but eh -->


STRUC: {{DMG|dmg=STRUC}}


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

Revision as of 09:10, 4 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 for the weapons to avoid cluttering the table.

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