Template:Element

From TheKolWiki
Jump to: navigation, search
{{Element}}
{{#ifeq:{{{2|damage(special)}}}|damage(special)|{{#switch:{{{1}}}|

hot=(<span class="element-hot">[[Hot#Received From Monsters|'''hot damage''']]</span>)| cold=(<span class="element-cold">[[Cold#Received From Monsters|'''cold damage''']]</span>)| stench=(<span class="element-stench">[[Stench#Received From Monsters|'''stench damage''']]</span>)| spooky=(<span class="element-spooky">[[Spooky#Received From Monsters|'''spooky damage''']]</span>)| sleaze=(<span class="element-sleaze">[[Sleaze#Received From Monsters|'''sleaze damage''']]</span>)| spelling|bad spelling=(<span class="element-spelling">[[Non-Standard Elements#Received From Monsters|'''bad spelling damage''']]</span>)| shadow=(<span class="element-shadow">[[Non-Standard Elements#Received From Monsters 2|'''shadow damage''']]</span>)| slime=(<span class="element-slime">[[Non-Standard Elements#Received From Monsters 3|'''slime damage''']]</span>)| Supercold=(<span class="element-supercold">[[Non-Standard Elements#Received From Monsters 4|'''Supercold damage''']]</span>)| Hot=<span class="element-hot">[[Hot#Damage|{{#if:{{{dmg|}}}|'''{{{dmg}}}'''|Hot Damage}}]]</span>| Cold=<span class="element-cold">[[Cold#Damage|{{#if:{{{dmg|}}}|'''{{{dmg}}}'''|Cold Damage}}]]</span>| Stench=<span class="element-stench">[[Stench#Damage|{{#if:{{{dmg|}}}|'''{{{dmg}}}'''|Stench Damage}}]]</span>| Spooky=<span class="element-spooky">[[Spooky#Damage|{{#if:{{{dmg|}}}|'''{{{dmg}}}'''|Spooky Damage}}]]</span>| Sleaze=<span class="element-sleaze">[[Sleaze#Damage|{{#if:{{{dmg|}}}|'''{{{dmg}}}'''|Sleaze Damage}}]]</span>}}|

<span class="element-{{#ifeq:{{lc:{{{1}}}}}|bad spelling|spelling|{{lc:{{{1}}}}}}}">[[{{#switch:{{lc:{{{1}}}}}|shadow|slime|bad spelling|supercold=Non-Standard Elements#{{ucfirst:{{lc:{{{1}}}}}}}|{{lc:{{{1}}}}}#{{{3|{{{2}}}}}}}}|{{{1}}}{{#if:{{{2}}}|&#32;{{{2}}}}}]]</span>}}

Usage

  • Elemental Damage from Monsters:
    {{element|hot}} ⇒ (hot damage)
  • Elemental Damage from Items, Effects, & Enchantments:
    {{element|Hot}}Hot Damage
  • Mentioning an Element:
    {{element|hot|}}hot
    {{element|Hot|}}Hot
    Creatures that deal {{element|cold|damage|Received From Monsters}} ⇒ Creatures that deal cold damage
  • Elemental Resistance:
    {{element|Hot|Resistance}}Hot Resistance
    Note: When resistance is in an item enchantment, it is always blue (in-game), no matter what the element.
    Example: So-So Hot Resistance
  • Elemental Damage from Combat Items:
    {{element|Hot|dmg=3-4}}3-4
    {{element|Sleaze|dmg=10-15}}10-15
  • Fully controlled elemental text:
    {{element|Stench|dmg=Some Stinky Text}} (note capital on element) ⇒ Some Stinky Text

Cold, stench, spooky, sleaze, bad spelling, shadow, slime, and Supercold are all acceptable parameters besides hot.

Examples

Monster attack damage types:

Item, effect, & enchantment damage types:

Other: