Template:InfoCard: Difference between revisions
From IdleOn MMO Wiki
imported>Kiokurashi No edit summary |
imported>Kiokurashi No edit summary |
||
Line 62: | Line 62: | ||
<dl> | <dl> | ||
<dt>Dropchance</dt> | <dt>Dropchance</dt> | ||
<dd>{{#if:{{{dropchance|}}}|{{chancedisplay|{{{dropchance}}}}} | <dd>{{#if:{{{dropchance|}}}|{{chancedisplay|{{{dropchance}}}}}|{{#cargo_query:tables=DropTables | ||
|fields=DropRate | |fields=DropRate | ||
|where=DropItem LIKE "{{PAGENAME}}" | |where=DropItem LIKE "{{PAGENAME}}" | ||
|group by=DropItem | |group by=DropItem | ||
|order by=DropRate ASC | |order by=DropRate ASC | ||
|format= | |format=template | ||
|default=999.0 | |template=Chancedisplay | ||
|default=999.0}}}}</dd> | |||
<dt>Category</dt> | <dt>Category</dt> | ||
<dd>[[Cards#{{{category}}}|{{{category}}}]]</dd> | <dd>[[Cards#{{{category}}}|{{{category}}}]]</dd> |
Revision as of 06:00, 31 March 2022
This template defines the table "Cards". View table. Usage
{{InfoCard |title=example |order=example |category=example |effect=example |bonus=example |reqtier=Base requirement for increasing tiers (as listed in the code, which in some cases is 1.5) |source=example }}