Template:Immune: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
Sanust (talk | contribs)
mNo edit summary
Legate (talk | contribs)
add hota switch
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{if||{{{mind|}}}|
{{#switch: {{{mind|}}}| 1=
* [[Golems]]
* [[Golems]]
* [[Undead]]
* [[Undead]]
* [[Elemental]]s
* [[Elemental]]s
* [[Mechanical]]s
* [[War Machine]]s
<ul class="onlyhota"><li>[[Mechanical]]s{{-wh}}</li></ul>
* {{Cnu|Giant|Titan|name=Giants and Titans}}
* {{Cnu|Giant|Titan|name=Giants and Titans}}
* {{Cn|Fangarm}}s{{-wh}}
<ul class="onlyhota"><li>{{Cn|Fangarm}}s{{-wh}}</li></ul>
|}}{{if||{{{spell123|}}}|
|}}{{if||{{{spell123|}}}|
* {{Cnu|Green Dragon|Gold Dragon|name=Green and Gold Dragons}}
* {{Cnu|Green Dragon|Gold Dragon|name=Green and Gold Dragons}}
* {{Cnu|Red Dragon|Black Dragon|name=Red and Black Dragons}}
* {{Cnu|Red Dragon|Black Dragon|name=Red and Black Dragons}}
* {{Cn|Azure Dragon}}s
* {{Cn|Azure Dragon}}s{{-wa}}
|}}{{if||{{{spell1234|}}}|{{if||{{{spell123|}}}||* {{Cn|Gold Dragon}}s}}|}}{{if||{{{spell12345|}}}|
|}}{{if||{{{spell1234|}}}|{{if||{{{spell123|}}}||* {{Cn|Gold Dragon}}s}}|}}{{if||{{{spell12345|}}}|
* {{Cn|Magic Elemental}}s
* {{Cn|Magic Elemental}}s{{-wa}}
{{if||{{{spell123|}}}||* {{Cn|Black Dragon}}s}}|}}{{if||{{{fire|}}}|
{{if||{{{spell123|}}}||* {{Cn|Black Dragon}}s}}|}}{{if||{{{fire|}}}|
* {{Cnu|Efreeti|Efreet Sultan|name=Efreeti and Efreet Sultan}}s
* {{Cnu|Efreeti|Efreet Sultan|name=Efreet and Efreet Sultan}}s
{{if||{{{mind|}}}||* {{Cnu|Fire Elemental|image=Fire Elemental (HotA)|Energy Elemental|name=Fire and Energy Elementals}}}}
{{if||{{{fire|}}}|* {{Cnu|Fire Elemental|Energy Elemental|name=Fire and Energy Elementals}}}}
* {{{hota|{{Cn|Firebird}}s <sup>*''(not in {{hota}}){{-wh}}''</sup> and }}}{{Cn|Phoenix}}es
* {{hidewithhota|{{Cn|Firebird}}s and }}{{Cn|Phoenix}}es{{-wa}}
|}}<noinclude>
|}}<noinclude>


Line 31: Line 32:
==Example==
==Example==
{{immune|mind=1|fire=1|spell123=1|spell1234=1|spell12345=1}}
{{immune|mind=1|fire=1|spell123=1|spell1234=1|spell12345=1}}
[[Category:Creature templates]]</noinclude>
[[Category:Creature templates]]</noinclude>

Latest revision as of 03:42, 22 December 2025


Usage[edit | hide | hide all]

{{immune|mind=1|fire=1}}

Variables[edit | hide]

  • mind=1
  • spell123=1
  • spell1234=1
  • spell12345=1
  • fire=1
  • hota=(leave blank)

Example[edit | hide]