Template:InfoCard: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
mNo edit summary
Line 65: Line 65:
<data source="reqtier">
<data source="reqtier">
<label>[[File:Star1.png|class=CardStar|link=]]</label>
<label>[[File:Star1.png|class=CardStar|link=]]</label>
<format>{{#expr: ceil({{{reqtier}}}) }}</format>
<format>{{InfoCard/TierReqForm|{{{reqtier}}}|0|{{PAGENAME}}}}</format>
</data>
</data>
<data source="reqtier">
<data source="reqtier">
<label>[[File:Star2.png|class=CardStar|link=]]</label>
<label>[[File:Star2.png|class=CardStar|link=]]</label>
<format>{{#expr: ceil({{{reqtier}}}*3) }}</format>
<format>{{InfoCard/TierReqForm|{{{reqtier}}}|1|{{PAGENAME}}}}</format>
</data>
</data>
<data source="reqtier">
<data source="reqtier">
<label>[[File:Star3.png|class=CardStar|link=]]</label>
<label>[[File:Star3.png|class=CardStar|link=]]</label>
<format>{{#expr: ceil({{{reqtier}}}*5) }}</format>
<format>{{InfoCard/TierReqForm|{{{reqtier}}}|2|{{PAGENAME}}}}</format>
</data>
</data>
<data source="reqtier">
<data source="reqtier">
<label>[[File:Star4.png|class=CardStar|link=]]</label>
<label>[[File:Star4.png|class=CardStar|link=]]</label>
<format>{{#expr: ceil({{{reqtier}}}*16) }}</format>
<format>{{InfoCard/TierReqForm|{{{reqtier}}}|3|{{PAGENAME}}}}</format>
</data>
</data>
<data source="reqtier">
<data source="reqtier">
<label>[[File:Star5.png|class=CardStar|link=]]</label>
<label>[[File:Star5.png|class=CardStar|link=]]</label>
<format>{{#expr: ceil({{{reqtier}}}*459) }}</format>
<format>{{InfoCard/TierReqForm|{{{reqtier}}}|4|{{PAGENAME}}}}</format>
</data>
</data>
</group>
</group>

Revision as of 21:28, 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
}}