Template:DungeonEnemy: Difference between revisions
From IdleOn MMO Wiki
imported>Blackwolfe No edit summary |
imported>Blackwolfe No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><table class="Infobox" style="max-width:25%;float:left;"><tr><th colspan="4" style="text-align:center;">{{{name}}}</th></tr> | <includeonly><table class="Infobox" style="max-width:25%;float:left;"><tr><th colspan="4" style="text-align:center;">{{{name}}}</th></tr> | ||
<tr><td colspan="4" style="text-align:center;">[[File:{{{name}}}.gif]]</td></tr> | <tr><td colspan="4" style="text-align:center;">[[File:{{{name}}} Walking.gif]]</td></tr> | ||
<tr><th style="text-align:center;" colspan="4">Stats</th></tr> | <tr><th style="text-align:center;" colspan="4">Stats</th></tr> | ||
<tr><th>Health</th><td colspan="3">{{{hp}}}</td></tr> | <tr><th>Health</th><td colspan="3">{{{hp}}}</td></tr> | ||
Line 8: | Line 8: | ||
<tr><th style="text-align:center;">Item</th><td colspan="1">{{{itemdr|n/a}}}</td>{{#if:{{{cdc|}}}|<th style="text-align:center;">[[File:{{{name}}} Card.png|link={{{name}}} Card|25px]]</th><td>{{{cdc|n/a}}}</td>}}</tr> | <tr><th style="text-align:center;">Item</th><td colspan="1">{{{itemdr|n/a}}}</td>{{#if:{{{cdc|}}}|<th style="text-align:center;">[[File:{{{name}}} Card.png|link={{{name}}} Card|25px]]</th><td>{{{cdc|n/a}}}</td>}}</tr> | ||
<tr><th style="text-align:center;">Coins</th><td colspan="1">{{{coins}}}</td></tr> | <tr><th style="text-align:center;">Coins</th><td colspan="1">{{{coins}}}</td></tr> | ||
</table> | </table></includeonly><noinclude> | ||
<pre> | |||
Usage: | |||
{{DungeonEnemy | |||
|name=example | |||
|hp=example | |||
|dmg=example | |||
|dcred=Dungeon Credit dropchance | |||
|fcred=Dungeon Credit Flurbo Edition dropchance | |||
|item=Item dropchance (if enemy can't drop items, leave it out) | |||
|cdc=Card dropchance (if no card, leave it out) | |||
|coins=example | |||
}} | |||
</pre> | |||
</noinclude> |
Revision as of 12:08, 16 October 2021
Usage: {{DungeonEnemy |name=example |hp=example |dmg=example |dcred=Dungeon Credit dropchance |fcred=Dungeon Credit Flurbo Edition dropchance |item=Item dropchance (if enemy can't drop items, leave it out) |cdc=Card dropchance (if no card, leave it out) |coins=example }}