Template:InfoEnemy: Difference between revisions
From IdleOn MMO Wiki
imported>Blackwolfe No edit summary |
imported>Blackwolfe No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| class="Infobox" | |||
|- | |||
! colspan="2" class="Header" | {{PAGENAME}} | |||
|- | |||
| colspan="2" class="HeaderImage" | [[file:{{PAGENAME}} Walking.gif]] | |||
|- | |||
! colspan="2" class="SubHeader" |Stats | |||
|- | |||
!Attack | |||
|{{{attack}}} | |||
|- | |||
!Health | |||
|{{{health}}} | |||
|- | |||
!Speed | |||
|{{{speed}}} | |||
|- | |||
! colspan="2" class="SubHeader" |Fighting | |||
|- | |||
{{#if: {{{defence|}}}| | |||
!Accuracy 5% | |||
{{!}}{{#expr:{{{defence}}}*0.5}}}} | |||
|- | |||
!{{#if: {{{defence|}}}| | |||
!Accuracy 100% | |||
{{!}}{{#expr:{{{defence}}}*1.5}}}} | |||
|- | |||
!Defence for 0 | |||
|{{{defence0}}} | |||
|- | |||
! colspan="2" class="SubHeader" |Misc | |||
|- | |||
{{#if: {{{type|}}}{{!}}!Type | |||
{{!}}{{{type}}}{{!}} | |||
{{!}}-}} | |||
!Respawn | |||
|{{{respawn}}} | |||
|- | |||
!World | |||
|{{{world}}} | |||
|- | |||
!Area | |||
|{{#if: {{{area|}}}|[[Worlds#{{{area}}}|{{{area}}}]]}}{{#if: {{{area2|}}}|, [[Worlds#{{{area2}}}|{{{area2}}}]]}}{{#if: {{{area3|}}}|, [[Worlds#{{{area3}}}|{{{area3}}}]]}}{{#if: {{{customarea|}}}|{{#if:{{{area|}}}|<br>}}{{{customarea}}}}} | |||
|- | |||
{{#ifeq: {{{crystal}}}|yes| | |||
!colspan="2" class="SubHeader"{{!}}[[{{{crystalname}}}]] | |||
{{!}}- | |||
{{infoEnemytest/crystalstats|attack={{{attack}}}|health={{{health}}}|defence={{{defence}}}|exp={{{exp}}}}} | |||
}} | }} | ||
|- | |||
{{#ifeq: {{{hascard}}}|yes|{{#dpl: | {{#ifeq: {{{hascard}}}|yes|{{#dpl: | ||
|namespace= | |namespace= | ||
|category=Cards | |category=Cards | ||
|uses=Template:InfoCard | |uses=Template:InfoCard | ||
|include={infoCard}/ | |include={infoCard}/boxrowtest | ||
|titlematch={{PAGENAME}} Card | |titlematch={{PAGENAME}} Card | ||
|format=,, | |format=,, | ||
|allowcachedresults=true | |allowcachedresults=true | ||
}}}} | }}}} | ||
{{#switch: {{PAGENAME}} | {{#switch: {{PAGENAME}} | ||
|Baba Yaga = [[File:Backarrow.png|15px]][[Bosses]] | |Baba Yaga = [[File:Backarrow.png|15px]][[Bosses]] |
Revision as of 01:46, 15 March 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 }}