Template:Character/Resistance

From Caves of Qud Wiki
< Template:Character
Revision as of 14:53, 12 August 2019 by Egocarib (talk | contribs) (Created page with "<includeonly><div class="qud-resistance-row qud-resistance-{{lc:{{{1}}}}}"><div class="qud-resistance-prefix">{{{1}}}</div><div class="qud-resistance-text">Res:</div><div clas...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Outputs a single character resistance. Intended for use in Template:Character.

The first parameter should be one of the following values (other values would require a CSS update to be supported):

  • Heat
  • Cold
  • Elec
  • Acid

The second value should be the resistance value itself. It can be positive, zero, or negative.

{{Character/Resistance
| 1 = Elec
| 2 = 25
}}


Elec
Res:
25