Template:InfoEnemy: Difference between revisions
From IdleOn MMO Wiki
Kiokurashi (talk | contribs) mNo edit summary |
mNo edit summary |
||
Line 59: | Line 59: | ||
<group row-items="2"> | <group row-items="2"> | ||
<data source="attack"> | <data source="attack"> | ||
<label>Attack</label> | <label>{{Icons|Attack Icon|17|text=Attack}}</label> | ||
<format>{{Numdisplay|{{{attack}}}}}</format> | <format>{{Numdisplay|{{{attack}}}}}</format> | ||
</data> | </data> | ||
<data source="health"> | <data source="health"> | ||
<label>Health</label> | <label>{{Icons|HP Icon|18|text=Health}}</label> | ||
<format>{{Numdisplay|{{{health}}}}}</format> | <format>{{Numdisplay|{{{health}}}}}</format> | ||
</data> | </data> | ||
<data source="defence"> | <data source="defence"> | ||
<label>5% Accuracy</label> | <label>{{Icons|Accuracy Icon|15|text=5% Accuracy}}</label> | ||
<format>{{Numdisplay|{{#expr: ceil({{{defence}}}*0.5)}}}}</format> | <format>{{Numdisplay|{{#expr: ceil({{{defence}}}*0.5)}}}}</format> | ||
</data> | </data> | ||
Line 98: | Line 98: | ||
<group name="CrystalSection" row-items="2"> | <group name="CrystalSection" row-items="2"> | ||
<data source="crystalname"> | <data source="crystalname"> | ||
<label>Attack</label> | <label>{{Icons|Attack Icon|17|text=Attack}}</label> | ||
<format>{{Numdisplay|{{#expr:{{{attack}}}*2.5}}}}</format> | <format>{{Numdisplay|{{#expr:{{{attack}}}*2.5}}}}</format> | ||
</data> | </data> | ||
<data source="crystalname"> | <data source="crystalname"> | ||
<label>Health</label> | <label>{{Icons|HP Icon|18|text=Health}}</label> | ||
<format>{{Numdisplay|{{#expr:{{{health}}}*15}}}}</format> | <format>{{Numdisplay|{{#expr:{{{health}}}*15}}}}</format> | ||
</data> | </data> | ||
<data source="crystalname"> | <data source="crystalname"> | ||
<label>5% Accuracy</label> | <label>{{Icons|Accuracy Icon|15|text=5% Accuracy}}</label> | ||
<format>{{Numdisplay|{{#expr:{{{defence}}}*0.5*2.5}}}}</format> | <format>{{Numdisplay|{{#expr:{{{defence}}}*0.5*2.5}}}}</format> | ||
</data> | </data> |
Revision as of 05:49, 27 September 2023
This template defines the table "Enemies". View table.
Usage: {{InfoEnemy |attack=example |health=example |defence=example (this defines the accuracy values required) |exp=example |world=example |areas=example |crystalname=example (e.g. Crystal Carrot for blunder hills) |prevenemy=example (previous monster for navigation) |nextenemy=example (next monster for navigation) |notes=example (optional) }}