Template:InfoEnemy: Difference between revisions

From IdleOn MMO Wiki
No edit summary
(Undo revision 59846 by NanoZ (talk))
Tag: Undo
Line 48: Line 48:
<dt>Health</dt>
<dt>Health</dt>
<dd>{{{health}}}</dd>
<dd>{{{health}}}</dd>
{{#if: {{{speed}}} |
<dt>Speed</dt>
<dt>Speed</dt>
<dd>{{{speed}}}</dd>
<dd>{{{speed}}}</dd>
}}
{{#if: {{{exp}}} |
<dt>Experience</dt>
<dt>Experience</dt>
<dd>{{{exp}}}</dd>
<dd>{{{exp}}}</dd>
}}
</dl>
</dl>
<div class="SubHeader">Fighting</div>
<div class="SubHeader">Fighting</div>
Line 63: Line 67:
<dd>{{#expr: ceil({{{defence}}}*1.5)}}</dd
<dd>{{#expr: ceil({{{defence}}}*1.5)}}</dd


{{#if: {{{defence0}}} |
<dt>Defence for 0</dt>
<dt>Defence for 0</dt>
<dd>{{{defence0}}}</dd>
<dd>{{{defence0}}}</dd>
}}
</dl>
</dl>
<div class="SubHeader">Misc</div>
<div class="SubHeader">Misc</div>
Line 72: Line 78:
<dd>{{{type}}}</dd>
<dd>{{{type}}}</dd>
}}
}}
{{#if: {{{respawn}}} |
<dt>Respawn</dt>
<dt>Respawn</dt>
<dd>{{{respawn}}}</dd>
<dd>{{{respawn}}}</dd>
}}
<dt>World</dt>
<dt>World</dt>
<dd>{{{world}}}</dd>
<dd>{{{world}}}</dd>

Revision as of 14:07, 3 September 2022

This template defines the table "Enemies". View table.

Usage:
{{InfoEnemy
|attack=example
|health=example
|speed=example
|defence=example (this defines the accuracy values required)
|defence0=example (How much defence is needed to not take damage)
|exp=example
|world=example
|area=example
|area2=example (optional)
|area3=example (optional)
|crystal=yes (if you want to show the stats for the crystal enemy in the area
|crystalname=example (e.g. Crystal Carrot for blunder hills)
|hascard=yes
|prevenemy=example (previous monster for navigation)
|nextenemy=example (next monster for navigation)
|notes=example (optional)
}}