Difference between revisions of "Template:Immunity"

From Legends of Hyrule
Jump to navigationJump to search
m (tweak)
(added falling damage immunity)
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>&nbsp;{{#ifeq:{{{1|}}}|damage|[[Category:Creatures with an immunity to {{{1|}}} damage]]}}{{#ifeq:{{{1|}}}|condition|[[Category:Creatures with an immunity to the {{{1|}}} condition]]}}{{#ifeq:{{{1|}}}|damage|[[{{{2|}}} damage|{{{2|}}}]]|[[{{{2|}}}]]}}</includeonly><noinclude>==Usage==
+
<includeonly>{{#ifeq:{{lc:{{{1|}}}}}|acid|[[Damage|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">acid</span>]][[Category:Creatures immune to acid damage]]}}{{#ifeq:{{lc:{{{1|}}}}}|bludgeoning|[[Damage|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">bludgeoning</span>]][[Category:Creatures immune to bludgeoning damage]]}}{{#ifeq:{{lc:{{{1|}}}}}|cold|[[Damage|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">cold</span>]][[Category:Creatures immune to cold damage]]}}{{#ifeq:{{lc:{{{1|}}}}}|falling |[[Falling|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">falling</span>]][[Category:Creatures immune to falling damage]]}}{{#ifeq:{{lc:{{{1|}}}}}|fire|[[Damage|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">fire</span>]][[Category:Creatures immune to fire damage]]}}{{#ifeq:{{lc:{{{1|}}}}}|force|[[Damage|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">force</span>]][[Category:Creatures immune to force damage]]}}{{#ifeq:{{lc:{{{1|}}}}}|lightning|[[Damage|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">lightning</span>]][[Category:Creatures immune to lightning damage]]}}{{#ifeq:{{lc:{{{1|}}}}}|necrotic|[[Damage|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">necrotic</span>]][[Category:Creatures immune to necrotic damage]]}}{{#ifeq:{{lc:{{{1|}}}}}|piercing|[[Damage|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">piercing</span>]][[Category:Creatures immune to piercing damage]]}}{{#ifeq:{{lc:{{{1|}}}}}|poison|[[Damage|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">poison</span>]][[Category:Creatures immune to poison damage]]}}{{#ifeq:{{lc:{{{1|}}}}}|psychic|[[Damage|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">psychic</span>]][[Category:Creatures immune to psychic damage]]}}{{#ifeq:{{lc:{{{1|}}}}}|radiant|[[Damage|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">radiant</span>]][[Category:Creatures immune to radiant damage]]}}{{#ifeq:{{lc:{{{1|}}}}}|slashing|[[Damage|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">slashing</span>]][[Category:Creatures immune to slashing damage]]}}{{#ifeq:{{lc:{{{1|}}}}}|thunder|[[Damage|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">thunder</span>]][[Category:Creatures immune to thunder damage]]}}{{#ifeq:{{lc:{{{1|}}}}}|blinded|[[conditions|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">{{lc:{{{1|conditions}}}}}</span>]][[Category:Creatures immune to the blinded condition]]}}{{#ifeq:{{lc:{{{1|}}}}}|charmed|[[conditions|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">{{lc:{{{1|conditions}}}}}</span>]][[Category:Creatures immune to the charmed condition]]}}{{#ifeq:{{lc:{{{1|}}}}}|deafened|[[conditions|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">{{lc:{{{1|conditions}}}}}</span>]][[Category:Creatures immune to the deafened condition]]}}{{#ifeq:{{lc:{{{1|}}}}}|exhaustion|[[conditions|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">{{lc:{{{1|conditions}}}}}</span>]][[Category:Creatures immune to the exhaustion condition]]}}{{#ifeq:{{lc:{{{1|}}}}}|frightened|[[conditions|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">{{lc:{{{1|conditions}}}}}</span>]][[Category:Creatures immune to the frightened condition]]}}{{#ifeq:{{lc:{{{1|}}}}}|frozen|[[conditions|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">{{lc:{{{1|conditions}}}}}</span>]][[Category:Creatures immune to the frozen condition]]}}{{#ifeq:{{lc:{{{1|}}}}}|grappled|[[conditions|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">{{lc:{{{1|conditions}}}}}</span>]][[Category:Creatures immune to the grappled condition]]}}{{#ifeq:{{lc:{{{1|}}}}}|ignited|[[conditions|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">{{lc:{{{1|conditions}}}}}</span>]][[Category:Creatures immune to the ignited condition]]}}{{#ifeq:{{lc:{{{1|}}}}}|incapacitated|[[conditions|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">{{lc:{{{1|conditions}}}}}</span>]][[Category:Creatures immune to the incapacitated condition]]}}{{#ifeq:{{lc:{{{1|}}}}}|paralyzed|[[conditions|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">{{lc:{{{1|conditions}}}}}</span>]][[Category:Creatures immune to the paralyzed condition]]}}{{#ifeq:{{lc:{{{1|}}}}}|petrified|[[conditions|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">{{lc:{{{1|conditions}}}}}</span>]][[Category:Creatures immune to the petrified condition]]}}{{#ifeq:{{lc:{{{1|}}}}}|poisoned|[[conditions|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">{{lc:{{{1|conditions}}}}}</span>]][[Category:Creatures immune to the poisoned condition]]}}{{#ifeq:{{lc:{{{1|}}}}}|prone|[[conditions|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">{{lc:{{{1|conditions}}}}}</span>]][[Category:Creatures immune to the prone condition]]}}{{#ifeq:{{lc:{{{1|}}}}}|restrained|[[conditions|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">{{lc:{{{1|conditions}}}}}</span>]][[Category:Creatures immune to the restrained condition]]}}{{#ifeq:{{lc:{{{1|}}}}}|stunned|[[conditions|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">{{lc:{{{1|conditions}}}}}</span>]][[Category:Creatures immune to the stunned condition]]}}{{#ifeq:{{lc:{{{1|}}}}}|unconscious|[[conditions|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">{{lc:{{{1|conditions}}}}}</span>]][[Category:Creatures immune to the unconscious condition]]}}</includeonly><noinclude>
 +
==Usage==
 
This template is to be used with [[:Template:CreatureBox]].
 
This template is to be used with [[:Template:CreatureBox]].
  
Examples of usage:<br><nowiki>{{Immunity|damage|fire}}</nowiki><br><nowiki>{{Immunity|condition|grappled}}</nowiki><br><nowiki>{{CI|damage|fire}}</nowiki><br><nowiki>{{CI|condition|grappled}}</nowiki>
+
Examples of usage:<br><nowiki>{{Immunity|fire}}</nowiki><br><nowiki>{{Immunity|grappled}}</nowiki><br><nowiki>{{CI|fire}}</nowiki><br><nowiki>{{CI|grappled}}</nowiki>
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 11:41, 21 December 2020

Usage

This template is to be used with Template:CreatureBox.

Examples of usage:
{{Immunity|fire}}
{{Immunity|grappled}}
{{CI|fire}}
{{CI|grappled}}