Template:InfoCard: Difference between revisions

From IdleOn MMO Wiki
(Undo revision 67777 by Nano (talk))
Tag: Undo
mNo edit summary
Line 55: Line 55:
<label>[[File:Star4.png|class=CardStar|link=]]</label>
<label>[[File:Star4.png|class=CardStar|link=]]</label>
<format>{{#expr:{{{bonus}}}*5}}</format>
<format>{{#expr:{{{bonus}}}*5}}</format>
</data>
<data source="bonus">
<label>[[File:Star5.png|class=CardStar|link=]]</label>
<format>{{#expr:{{{bonus}}}*6}}</format>
</data>
</data>
</group>
</group>
Line 74: Line 78:
<label>[[File:Star4.png|class=CardStar|link=]]</label>
<label>[[File:Star4.png|class=CardStar|link=]]</label>
<format>{{#expr: ceil({{{reqtier}}}*16) }}</format>
<format>{{#expr: ceil({{{reqtier}}}*16) }}</format>
</data>
<data source="reqtier">
<label>[[File:Star5.png|class=CardStar|link=]]</label>
<format>{{#expr: ceil({{{reqtier}}}*459) }}</format>
</data>
</data>
</group>
</group>

Revision as of 12:02, 29 April 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
}}