Template:InfoEnemy: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
imported>Blackwolfe
No edit summary
Line 46: Line 46:
     {{infoEnemy/crystalstats|attack={{{attack}}}|health={{{health}}}|defence={{{defence}}}|exp={{{exp}}}}}
     {{infoEnemy/crystalstats|attack={{{attack}}}|health={{{health}}}|defence={{{defence}}}|exp={{{exp}}}}}
     }}
     }}
    {{#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}}}}}
</tr></table>
</tr></table>
</div>
</div>
Line 68: Line 70:
|crystal=yes (if you want to show the stats for the crystal enemy in the area
|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)
|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
}}
}}
</pre>
</pre>
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Revision as of 17:02, 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
}}