Template:InfoEnemy: Difference between revisions

From IdleOn MMO Wiki
imported>Dgg
m (Cleaned up redundant table markings, added spacing for syntax clarification)
imported>Dgg
mNo edit summary
Line 52: Line 52:
}}
}}
|-
|-
{{#ifeq: {{{hascard}}}|yes|{{#dpl:  
{{#ifeq: {{{hascard}}} | yes | {{#dpl:  
|namespace=
|namespace=
|category=Cards
|category=Cards
Line 60: Line 60:
|format=,,
|format=,,
|allowcachedresults=true
|allowcachedresults=true
}}}}
}} }}
{{#switch: {{PAGENAME}}
{{#switch: {{PAGENAME}}
|Baba Yaga = [[File:Backarrow.png|15px]][[Bosses]]  
|Baba Yaga = [[File:Backarrow.png|25px]][[Bosses]]  
|Dr Defecaus = [[File:Backarrow.png|15px]][[Bosses]]
|Dr Defecaus = [[File:Backarrow.png|25px]][[Bosses]]
|King Doot = [[File:Backarrow.png|15px]][[Bosses]]  
|King Doot = [[File:Backarrow.png|25px]][[Bosses]]  
|Biggie Hours = [[File:Backarrow.png|15px]][[Bosses]]
|Biggie Hours = [[File:Backarrow.png|25px]][[Bosses]]
|#default =[[File:Backarrow.png|15px]][[Bestiary]]}}
|#default =[[File:Backarrow.png|25px]][[Bestiary]]}}
[[Category:Enemies]]
[[Category:Enemies]]
</includeonly>
</includeonly>

Revision as of 14:23, 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
}}