Template:InfoEnemy: Difference between revisions

From IdleOn MMO Wiki
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 23: Line 23:
--><includeonly>
--><includeonly>
{{#cargo_store:_table=Enemies
{{#cargo_store:_table=Enemies
   |Image=
   |Image={{PAGENAME}} Walking
    <gallery>
      {{PAGENAME}} Idle.gif|Idle
      {{PAGENAME}} Walking.gif|Walking
      {{PAGENAME}} Death.gif|Death
    </gallery>
   |Attack={{{attack|}}}
   |Attack={{{attack|}}}
   |Accuracy5={{#iferror: {{#expr: ceil({{{defence|}}}*0.5)}} }}
   |Accuracy5={{#iferror: {{#expr: ceil({{{defence|}}}*0.5)}} }}
Line 46: Line 41:
--><div class="Infobox">
--><div class="Infobox">
<div class="Header">{{PAGENAME}}</div>
<div class="Header">{{PAGENAME}}</div>
<div class="HeaderImage">[[file:{{PAGENAME}} Walking.gif]]</div>
<div class="HeaderImage">
  <gallery>
      {{PAGENAME}} Idle.gif|Idle
      {{PAGENAME}} Walking.gif|Walking
      {{PAGENAME}} Death.gif|Death
    </gallery>
</div>
<div class="SubHeader">Stats</div>
<div class="SubHeader">Stats</div>
<dl>
<dl>

Revision as of 06:20, 1 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)
}}