Template:InfoEnemy: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
imported>Blackwolfe
No edit summary
Line 42: Line 42:
     </tr>
     </tr>
     <th style="border-radius: 0 0 0 0.4em">Area</th>
     <th style="border-radius: 0 0 0 0.4em">Area</th>
     <td>{{#if: {{{area|}}}|[[Worlds#{{{area}}}|{{{area}}}]]}}{{#if: {{{area2|}}}|, [[Worlds#{{{area2}}}|{{{area2}}}]]}}{{#if: {{{area3|}}}|, [[Worlds#{{{area3}}}|{{{area3}}}]], }}{{#if:{{{area|}}}{{{customarea}}}|<br>}}{{#if: {{{customarea|}}}| {{{customarea}}}}}</td></tr>
     <td>{{#if: {{{area|}}}|[[Worlds#{{{area}}}|{{{area}}}]]}}{{#if: {{{area2|}}}|, [[Worlds#{{{area2}}}|{{{area2}}}]]}}{{#if: {{{area3|}}}|, [[Worlds#{{{area3}}}|{{{area3}}}]], }}{{#if:{{{area|}}}{{{customarea|}}}|<br>}}{{#if: {{{customarea|}}}| {{{customarea}}}}}</td></tr>
     {{#ifeq: {{{crystal}}}|yes|<th class="subheader" colspan="2">[[{{{crystalname}}}]]</th></tr>
     {{#ifeq: {{{crystal}}}|yes|<th class="subheader" colspan="2">[[{{{crystalname}}}]]</th></tr>
     {{infoEnemy/crystalstats|attack={{{attack}}}|health={{{health}}}|defence={{{defence}}}|exp={{{exp}}}}}
     {{infoEnemy/crystalstats|attack={{{attack}}}|health={{{health}}}|defence={{{defence}}}|exp={{{exp}}}}}

Revision as of 09:46, 1 January 2021


Usage:
{{InfoEnemy
|attack=example
|health=example
|speed=example
|defence=example (this defines the accuracy values required)
|defence0=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 (Crystal Carrot for blunder hills for example)
|hascard=yes
}}