Template:InfoCard: Difference between revisions

From IdleOn MMO Wiki
No edit summary
(Undo revision 67777 by Nano (talk))
Tag: Undo
Line 79: Line 79:
<data source="dropchance">
<data source="dropchance">
<label>Dropchance</label>
<label>Dropchance</label>
         <format>{{#if: {{dropchance{{!}}}} | {{Chancedisplay{{!}}{{{dropchance{{!}}{{#invoke:LuaVar{{!}}varname=Chance}}}}}}} | }}</format>
         <format>{{Chancedisplay|{{{dropchance|{{#invoke:LuaVar|var|name=Chance}}}}}}}</format>
</data>
</data>
     <data source="category">
     <data source="category">

Revision as of 15:43, 16 February 2023

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
}}