Template:InfoEnemy: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
mNo edit summary
Line 63: Line 63:
<data source="health">
<data source="health">
<label>Health</label>
<label>Health</label>
        <format>{{Numdisplay|{{{health}}}}}</format>
</data>
</data>
<data source="speed">
<data source="speed">
Line 69: Line 70:
<data source="exp">
<data source="exp">
<label>Experience</label>
<label>Experience</label>
        <format>{{Numdisplay|{{{exp}}}}}</format>
</data>
</data>
     <header>Fighting Stats</header>
     <header>Fighting Stats</header>
Line 93: Line 95:
         <data source="crystalname">
         <data source="crystalname">
             <label>Health</label>
             <label>Health</label>
             <format>{{#expr:{{{health}}}*15}}</format>
             <format>{{Numdisplay|{{#expr:{{{health}}}*15}}}}</format>
         </data>
         </data>
         <data source="crystalname">
         <data source="crystalname">
Line 105: Line 107:
         <data source="crystalname">
         <data source="crystalname">
             <label>Experience</label>
             <label>Experience</label>
             <format>{{#expr:{{{exp}}}*30}}</format>
             <format>{{Numdisplay|{{#expr:{{{exp}}}*30}}}}</format>
         </data>
         </data>
     </group>
     </group>

Revision as of 01:54, 18 February 2023

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)
}}