Template:Immune: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(add logic to not show duplicates and group creatures where possible.)
No edit summary
 
Line 4: Line 4:
* [[Elemental]]s
* [[Elemental]]s
* [[Mechanical]]s
* [[Mechanical]]s
* {{Cn|Giant|noname=}}{{Cn|Titan|name=Giants and Titans}}
* {{Cnu|Giant|Titan|name=Giants and Titans}}
* {{Cn|Fangarm}}s{{-wh}}
* {{Cn|Fangarm}}s{{-wh}}
|}}{{if||{{{spell123|}}}|
|}}{{if||{{{spell123|}}}|
* {{Cn|Green Dragon|noname=}}{{Cn|Gold Dragon|name=Green and Gold Dragons}}
* {{Cnu|Green Dragon|Gold Dragon|name=Green and Gold Dragons}}
* {{Cn|Red Dragon|noname=}}{{Cn|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
|}}{{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
{{if||{{{spell123|}}}||* {{Cn|Black Dragon}}s}}|}}{{if||{{{fire|}}}|
{{if||{{{spell123|}}}||* {{Cn|Black Dragon}}s}}|}}{{if||{{{fire|}}}|
* {{Cn|Efreeti|noname=}}{{Cn|Efreet Sultan|name=Efreet and Efreet Sultan}}s
* {{Cnu|Efreet|Efreet Sultan|name=Efreet and Efreet Sultan}}s
{{if||{{{mind|}}}||* {{Cn|Fire Elemental|noname=}}{{Cn|Energy Elemental|name=Fire and Energy Elementals}}}}
{{if||{{{mind|}}}||* {{Cnu|Fire Elemental|Energy Elemental|name=Fire and Energy Elementals}}}}
* {{{hota|{{Cn|Firebird}}s <sup>*''(not in {{hota}}){{-wh}}''</sup> and }}}{{Cn|Phoenix}}es
* {{{hota|{{Cn|Firebird}}s <sup>*''(not in {{hota}}){{-wh}}''</sup> and }}}{{Cn|Phoenix}}es
|}}<noinclude>
|}}<noinclude>

Latest revision as of 06:37, 27 March 2024


Usage[edit]

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

Variables[edit]

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

Example[edit]