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}}}}}
     }}</tr>
     }}</tr>
     {{#ifeq: {{{hascard}}}|yes|{{card|order={{{order}}}|category={{{category}}}|effect={{{effect}}}|bonus={{{bonus}}}}}}}
     {{#ifeq: {{{hascard}}}|yes|{{#dpl:
|namespace=
|category=Cards
|uses=Template:InfoCard
|include={InfoCard}/boxrow
|includematch=*{{PAGENAME}}*
|format=,,
|allowcachedresults=true
}}}}
</table>
</table>
</div>
</div>
Line 70: Line 78:
|crystalname=example (Crystal Carrot for blunder hills for example)
|crystalname=example (Crystal Carrot for blunder hills for example)
|hascard=yes
|hascard=yes
|order=order within the category
|category=Blunder Hills, Yum Yum Desert, or Boss
|effect=example
|bonus=the base bonus of the card
}}
}}
</pre>
</pre>
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Revision as of 08:28, 27 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
}}