Template:Immune: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
Legate (talk | contribs)
add hota switch
 
(39 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{if|{{{spell1234|}}}|
{{#switch: {{{mind|}}}| 1=
* {{Cn{{!}}Gold Dragon}}
* [[Golems]]
* [[Undead]]
* [[Elemental]]s
* [[War Machine]]s
<ul class="onlyhota"><li>[[Mechanical]]s{{-wh}}</li></ul>
* {{Cnu|Giant|Titan|name=Giants and Titans}}
<ul class="onlyhota"><li>{{Cn|Fangarm}}s{{-wh}}</li></ul>
|}}{{if||{{{spell123|}}}|
* {{Cnu|Green Dragon|Gold Dragon|name=Green and Gold Dragons}}
* {{Cnu|Red Dragon|Black Dragon|name=Red and Black Dragons}}
* {{Cn|Azure Dragon}}s{{-wa}}
|}}{{if||{{{spell1234|}}}|{{if||{{{spell123|}}}||* {{Cn|Gold Dragon}}s}}|}}{{if||{{{spell12345|}}}|
* {{Cn|Magic Elemental}}s{{-wa}}
{{if||{{{spell123|}}}||* {{Cn|Black Dragon}}s}}|}}{{if||{{{fire|}}}|
* {{Cnu|Efreeti|Efreet Sultan|name=Efreet and Efreet Sultan}}s
{{if||{{{fire|}}}|* {{Cnu|Fire Elemental|Energy Elemental|name=Fire and Energy Elementals}}}}
* {{hidewithhota|{{Cn|Firebird}}s and }}{{Cn|Phoenix}}es{{-wa}}
|}}<noinclude>
|}}<noinclude>
{{if|{{{fire|}}}|
 
* {{Cn{{!}}Efreet{{!}}noname=}}{{Cn{{!}}Efreet Sultan{{!}}name=Efreet and Efreet Sultan}} (Efreet Sultans have natural basic fire shield.)
==Usage==
* {{Cn{{!}}Black Dragon}}
<nowiki>{{immune|mind=1|fire=1}}</nowiki>
* {{Cn{{!}}Fire Elemental{{!}}noname=}}{{Cn{{!}}Energy Elemental{{!}}name=Fire and Energy Elementals}}
 
* {{Cn{{!}}Magic Elemental}}
==Variables==
* {{Cn{{!}}Firebird}} <sup>*''(not in {{hota}}){{-wh}}''</sup> and {{Cn{{!}}Phoenix}}
*mind=1
|}}
*spell123=1
[[Category:Templates]]</noinclude>
*spell1234=1
*spell12345=1
*fire=1
*hota=(leave blank)
 
==Example==
{{immune|mind=1|fire=1|spell123=1|spell1234=1|spell12345=1}}
 
[[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]