Template:InfoCard: Difference between revisions

From IdleOn MMO Wiki
No 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: ceil( {{{reqtier}}} ) }}}}</dd>
<dd>{{#if:{{{reqtier|}}}|{{{reqtier}}}}}</dd>
<dt>[[File:Star2.png|class=CardStar]]</dt>
<dt>[[File:Star2.png|class=CardStar]]</dt>
<dd>{{#if:{{{reqtier|}}}|{{#expr: ceil({{{reqtier}}}*2^2 - ceil( {{{reqtier}}} )) }}}}</dd>
<dd>{{#if:{{{reqtier|}}}|{{#expr:{{{reqtier}}}*3}}}}</dd>
<dt>[[File:Star3.png|class=CardStar]]</dt>
<dt>[[File:Star3.png|class=CardStar]]</dt>
<dd>{{#if:{{{reqtier|}}}|{{#expr: ceil({{{reqtier}}}*3^2 - ceil( {{{reqtier}}}*2^2 )) }}}}</dd>
<dd>{{#if:{{{reqtier|}}}|{{#expr:{{{reqtier}}}*5}}}}</dd>
<dt>[[File:Star4.png|class=CardStar]]</dt>
<dt>[[File:Star4.png|class=CardStar]]</dt>
<dd>{{#if:{{{reqtier|}}}|{{#expr: ceil({{{reqtier}}}*4^2 - ceil( {{{reqtier}}}*3^2 )) }}}}</dd>
<dd>{{#if:{{{reqtier|}}}|{{#expr:{{{reqtier}}}*16}}}}</dd>
</dl>
</dl>
<div class="SubHeader">Bonuses</div>
<div class="SubHeader">Bonuses</div>

Revision as of 01:54, 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
}}