Template:InfoEnemy: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
imported>Blackwolfe
No edit summary
Line 45: Line 45:
     {{#ifeq: {{{crystal}}}|yes|<th class="subheader" colspan="2">[[{{{crystalname}}}]]</th></tr>
     {{#ifeq: {{{crystal}}}|yes|<th class="subheader" colspan="2">[[{{{crystalname}}}]]</th></tr>
     {{infoEnemy/crystalstats|attack={{{attack}}}|health={{{health}}}|defence={{{defence}}}|exp={{{exp}}}}}
     {{infoEnemy/crystalstats|attack={{{attack}}}|health={{{health}}}|defence={{{defence}}}|exp={{{exp}}}}}
     }}
     }}</tr>
     {{#ifeq: {{{hascard}}}|yes|<th class="subheader" colspan="2">Card Info</th></tr>
     {{#ifeq: {{{hascard}}}|yes|<th class="subheader" colspan="2">Card Info</th></tr>
     {{card|category={{{category}}}|effect={{{effect}}}|bonus1={{{bonus1}}}|bonus2={{{bonus2}}}|bonus3={{{bonus3}}}|bonus4={{{bonus4}}}}}
     {{card|category={{{category}}}|effect={{{effect}}}|bonus1={{{bonus1}}}|bonus2={{{bonus2}}}|bonus3={{{bonus3}}}|bonus4={{{bonus4}}}}}

Revision as of 17:04, 16 December 2020


Usage:
{{InfoEnemy
|attack=example
|health=example
|speed=example
|defence=example (this defines the accuracy values required)
|defence0=How much defence is needed to not take damage.
|exp=example
|world=example
|area=example
|crystal=yes (if you want to show the stats for the crystal enemy in the area
|crystalname=example (Crystal Carrot for blunder hills for example)
|hascard=yes
|effect=example
|bonus1=the base bonus of the card
|bonus2=tier 2 bonus
|bonus3=tier 3 bonus
|bonus4=tier 4 bonus
}}