Template:InfoEnemy: Difference between revisions
From IdleOn MMO Wiki
imported>Wekhter mNo edit summary |
imported>Wekhter mNo edit summary |
||
Line 98: | Line 98: | ||
}} | }} | ||
|- | |- | ||
{{#ifeq: {{{hascard}}} | | {{#ifeq: {{{hascard}}} | yes || {{#cargo_query:tables=Cards | ||
|fields=CardOrder=order, Category=category, Effect=effect, Bonus=bonus, DropChance=dropchance | |fields=CardOrder=order, Category=category, Effect=effect, Bonus=bonus, DropChance=dropchance | ||
|where= Title LIKE "{{PAGENAME}}" | |where= Title LIKE "{{PAGENAME}}" | ||
Line 105: | Line 105: | ||
|named args=yes | |named args=yes | ||
|default= | |default= | ||
}}<!-- Saving for backup I guess. | }} | ||
<!-- Saving for backup I guess. | |||
{{#dpl: | {{#dpl: | ||
|namespace= | |namespace= |
Revision as of 17:46, 17 December 2021
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) }}