Template:InfoEnemy: Difference between revisions
From IdleOn MMO Wiki
Kiokurashi (talk | contribs) mNo edit summary |
mNo edit summary |
||
Line 94: | Line 94: | ||
<data source="area"> | <data source="area"> | ||
<label>Area</label> | <label>Area</label> | ||
<format>{{#invoke:Loops|parseLoop|list1={{{area|}}}|replaceString=[[Worlds#(1)|(1)]]|delimiter=,|returnDelimiter=, }} | <format>{{#invoke:Loops|parseLoop|list1={{{area|}}}|replaceString=[[Worlds#(1)|(1)]]|delimiter=,|returnDelimiter=, }}<!--[[Worlds#{{{area|}}}|{{{area|}}}]]--> | ||
</format> | |||
</data> | |||
<data source="customarea"> | |||
<label>Area</label> | |||
</data> | </data> | ||
<group name="CrystalSection"> | <group name="CrystalSection"> | ||
<header>{{{crystalname|}}}</header> | <header>{{{crystalname|}}}</header> | ||
<data source=" | <data source="crystalname"> | ||
<label>Attack</label> | <label>Attack</label> | ||
<format>{{#expr:{{{attack}}}*2.5}}</format> | <format>{{#expr:{{{attack}}}*2.5}}</format> | ||
</data> | </data> | ||
<data source=" | <data source="crystalname"> | ||
<label>Health</label> | <label>Health</label> | ||
<format>{{#expr:{{{health}}}*15}}</format> | <format>{{#expr:{{{health}}}*15}}</format> | ||
</data> | </data> | ||
<data source=" | <data source="crystalname"> | ||
<label>Accuracy 5%</label> | <label>Accuracy 5%</label> | ||
<format>{{#expr:{{{defence}}}*0.5*2.5}}</format> | <format>{{#expr:{{{defence}}}*0.5*2.5}}</format> | ||
</data> | </data> | ||
<data source=" | <data source="crystalname"> | ||
<label>Accuracy 100%</label> | <label>Accuracy 100%</label> | ||
<format>{{#expr:{{{defence}}}*1.5*2.5}}</format> | <format>{{#expr:{{{defence}}}*1.5*2.5}}</format> | ||
</data> | </data> | ||
<data source=" | <data source="crystalname"> | ||
<label>Experience</label> | <label>Experience</label> | ||
<format>{{#expr:{{{exp}}}*35}}</format> | <format>{{#expr:{{{exp}}}*35}}</format> |
Revision as of 01:24, 2 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) }}