Template:InfoCard: Difference between revisions
From IdleOn MMO Wiki
mNo edit summary |
mNo edit summary |
||
Line 52: | Line 52: | ||
<dl> | <dl> | ||
<dt>[[File:Star1.png|class=CardStar]]</dt> | <dt>[[File:Star1.png|class=CardStar]]</dt> | ||
<dd>{{#if:{{{reqtier|}}}|{{#expr:{{{reqtier}}} | <dd>{{#if:{{{reqtier|}}}|{{#expr: ceil({{{reqtier}}}) }}}}</dd> | ||
<dt>[[File:Star2.png|class=CardStar]]</dt> | <dt>[[File:Star2.png|class=CardStar]]</dt> | ||
<dd>{{#if:{{{reqtier|}}}|{{#expr:{{{reqtier}}}*3}}}}</dd> | <dd>{{#if:{{{reqtier|}}}|{{#expr: ceil({{{reqtier}}}*3) }}}}</dd> | ||
<dt>[[File:Star3.png|class=CardStar]]</dt> | <dt>[[File:Star3.png|class=CardStar]]</dt> | ||
<dd>{{#if:{{{reqtier|}}}|{{#expr:{{{reqtier}}}*5}}}}</dd> | <dd>{{#if:{{{reqtier|}}}|{{#expr: ceil({{{reqtier}}}*5) }}}}</dd> | ||
<dt>[[File:Star4.png|class=CardStar]]</dt> | <dt>[[File:Star4.png|class=CardStar]]</dt> | ||
<dd>{{#if:{{{reqtier|}}}|{{#expr:{{{reqtier}}}*16}}}}</dd> | <dd>{{#if:{{{reqtier|}}}|{{#expr: ceil({{{reqtier}}}*16) }}}}</dd> | ||
</dl> | </dl> | ||
<div class="SubHeader">Bonuses</div> | <div class="SubHeader">Bonuses</div> |
Revision as of 02:03, 18 May 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 }}