Template:InfoEnemy: Difference between revisions
From IdleOn MMO Wiki
Kiokurashi (talk | contribs) mNo edit summary |
mNo edit summary |
||
Line 53: | Line 53: | ||
</section> | </section> | ||
</panel> | </panel> | ||
<header> | <header>Information</header> | ||
<panel> | |||
<section> | |||
<label>Monster Stats</label> | |||
<group row-items="2"> | |||
<data source="attack"> | |||
<label>Attack</label> | |||
</data> | |||
<data source="health"> | |||
<label>Health</label> | |||
<format>{{Numdisplay|{{{health}}}}}</format> | |||
</data> | |||
<data source="defence"> | |||
<label>5% Accuracy</label> | |||
<format>{{#expr: ceil({{{defence}}}*0.5)}}</format> | |||
</data> | |||
<data source="defence"> | |||
<label>100% Accuracy</label> | |||
<format>{{#expr: ceil({{{defence}}}*1.5)}}</format> | |||
</data> | |||
<data source="exp"> | |||
<label>Experience</label> | |||
<format>{{Numdisplay|{{{exp}}}}}</format> | |||
</data> | |||
<data source="defence0"> | |||
<label>Def for 0</label> | |||
</data> | |||
<data source="respawn" layout="default"> | |||
<label>Respawn</label> | |||
</data> | |||
<data source="type" layout="default"> | |||
<label>Type</label> | |||
</data> | |||
<!--<data source="speed" layout="default"> | |||
<label>Speed</label> | |||
</data>--> | |||
</group> | |||
</section> | |||
<section> | |||
<label>Crystal Stats</label> | |||
<group name="CrystalSection" row-items="2"> | |||
<data source="crystalname"> | |||
<label>Attack</label> | |||
<format>{{#expr:{{{attack}}}*2.5}}</format> | |||
</data> | |||
<data source="crystalname"> | |||
<label>Health</label> | |||
<format>{{Numdisplay|{{#expr:{{{health}}}*15}}}}</format> | |||
</data> | |||
<data source="crystalname"> | |||
<label>5% Accuracy</label> | |||
<format>{{#expr:{{{defence}}}*0.5*2.5}}</format> | |||
</data> | |||
<data source="crystalname"> | |||
<label>100% Accuracy</label> | |||
<format>{{#expr:{{{defence}}}*1.5*2.5}}</format> | |||
</data> | |||
<data source="crystalname"> | |||
<label>Experience</label> | |||
<format>{{Numdisplay|{{#expr:{{{exp}}}*30}}}}</format> | |||
</data> | |||
<data source="crystalname" layout="default"> | |||
<label>Type</label> | |||
<format>[[{{{crystalname}}}]]</format> | |||
</data> | |||
</group> | |||
</section> | |||
</panel> | |||
<group name="CardSection"> | <group name="CardSection"> | ||
<header>Card Info</header> | <header>Card Info</header> | ||
Line 134: | Line 149: | ||
<data source="area"> | <data source="area"> | ||
<label>Area</label> | <label>Area</label> | ||
<format>{{#invoke:Loops|parseLoop|list1={{{area|}}}|replaceString=[[Worlds#(1)|(1)]]|delimiter=,|returnDelimiter=, }}<!--[[Worlds#{{{area|}}}|{{{area|}}}]]--> | |||
</format> | </format> | ||
</data> | </data> | ||
Line 161: | Line 176: | ||
Respawn: {{{respawn}}} | Respawn: {{{respawn}}} | ||
World: {{{world}}} | World: {{{world}}} | ||
}} | }}[[Category:Enemies]]</includeonly><noinclude><pre> | ||
[[Category:Enemies]]</includeonly><noinclude><pre> | |||
Usage: | Usage: | ||
{{InfoEnemy | {{InfoEnemy | ||
Line 181: | Line 195: | ||
|notes=example (optional) | |notes=example (optional) | ||
}} | }} | ||
</pre> | </pre>[[Category:Infobox templates]]</noinclude> | ||
[[Category:Infobox templates]] | |||
</noinclude> | |||
Revision as of 03:02, 2 March 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) |prevenemy=example (previous monster for navigation) |nextenemy=example (next monster for navigation) |notes=example (optional) }}