Difference between revisions of "Template:Immunity"

From Legends of Hyrule
Jump to navigationJump to search
m
(revamp)
Line 1: Line 1:
<includeonly>{{space}}{{#ifeq:{{{1|}}}|damage|[[Category:Creatures with an immunity to {{{2|}}} damage]]}}{{#ifeq:{{{1|}}}|condition|[[Category:Creatures with an immunity to the {{{2|}}} condition]]}}{{#ifeq:{{{1|}}}|damage|[[{{{2|}}} damage|{{{2|}}}]]|[[{{{2|}}}]]}}</includeonly><noinclude>==Usage==
+
<includeonly>{{#ifeq:{{{1|}}}|acid|[[Category:Creatures immune to acid damage]]}}{{#ifeq:{{{1|}}}|bludgeoning|[[Category:Creatures immune to bludgeoning damage]]}}{{#ifeq:{{{1|}}}|cold|[[Category:Creatures immune to cold damage]]}}{{#ifeq:{{{1|}}}|fire|[[Category:Creatures immune to fire damage]]}}{{#ifeq:{{{1|}}}|force|[[Category:Creatures immune to force damage]]}}{{#ifeq:{{{1|}}}|lightning|[[Category:Creatures immune to lightning damage]]}}{{#ifeq:{{{1|}}}|necrotic|[[Category:Creatures immune to necrotic damage]]}}{{#ifeq:{{{1|}}}|piercing|[[Category:Creatures immune to piercing damage]]}}{{#ifeq:{{{1|}}}|poison|[[Category:Creatures immune to poison damage]]}}{{#ifeq:{{{1|}}}|psychic|[[Category:Creatures immune to psychic damage]]}}{{#ifeq:{{{1|}}}|radiant|[[Category:Creatures immune to radiant damage]]}}{{#ifeq:{{{1|}}}|slashing|[[Category:Creatures immune to slashing damage]]}}{{#ifeq:{{{1|}}}|thunder|[[Category:Creatures immune to thunder damage]]}}{{#ifeq:{{{1|}}}|blinded|[[Category:Creatures immune to the blinded condition]]}}{{#ifeq:{{{1|}}}|charmed|[[Category:Creatures immune to the charmed condition]]}}{{#ifeq:{{{1|}}}|deafened|[[Category:Creatures immune to the deafened condition]]}}{{#ifeq:{{{1|}}}|exhaustion|[[Category:Creatures immune to the exhaustion condition]]}}{{#ifeq:{{{1|}}}|frightened|[[Category:Creatures immune to the frightened condition]]}}{{#ifeq:{{{1|}}}|frozen|[[Category:Creatures immune to the blinded condition]]}}{{#ifeq:{{{1|}}}|grappled|[[Category:Creatures immune to the grappled condition]]}}{{#ifeq:{{{1|}}}|ignited|[[Category:Creatures immune to the blinded condition]]}}{{#ifeq:{{{1|}}}|incapacitated|[[Category:Creatures immune to the incapacitated condition]]}}{{#ifeq:{{{1|}}}|paralyzed|[[Category:Creatures immune to the paralyzed condition]]}}{{#ifeq:{{{1|}}}|poisoned|[[Category:Creatures immune to the poisoned condition]]}}{{#ifeq:{{{1|}}}|prone|[[Category:Creatures immune to the prone condition]]}}{{#ifeq:{{{1|}}}|restrained|[[Category:Creatures immune to the restrained condition]]}}{{#ifeq:{{{1|}}}|stunned|[[Category:Creatures immune to the stunned condition]]}}{{#ifeq:{{{1|}}}|unconscious|[[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>

Revision as of 13:42, 29 January 2018

Usage

This template is to be used with Template:CreatureBox.

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