Template:InfoEnemy: Difference between revisions
From IdleOn MMO Wiki
imported>Kiokurashi No edit summary |
imported>Kiokurashi No edit summary |
||
Line 98: | Line 98: | ||
}} | }} | ||
|- | |- | ||
{{#ifeq: {{{hascard}}} | no || {{#dpl: | {{#ifeq: {{{hascard}}} | no || {{#cargo_query:tables=Cards | ||
|fields=CardOrder=order, Category=category, Effect=effect, Bonus=bonus, DropChance=dropchance | |||
|where= Title LIKE "{{PAGENAME}}" | |||
|format=template | |||
|template=InfoCard/boxrow | |||
|named args=yes | |||
|default= | |||
}}<!-- Saving for backup I guess. | |||
{{#dpl: | |||
|namespace= | |namespace= | ||
|category=Cards | |category=Cards | ||
Line 106: | Line 114: | ||
|format=,, | |format=,, | ||
|allowcachedresults=true | |allowcachedresults=true | ||
}} }} | }}--> }} | ||
|} | |} | ||
<div style="clear:left">{{{notes|}}}</div> | <div style="clear:left">{{{notes|}}}</div> |
Revision as of 06:40, 26 September 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=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 }}