Template:ClassMiniBox: Difference between revisions
From IdleOn MMO Wiki
(width adjust (160px static)) |
(Vertical align info (for when cards are taller than normal)) |
||
Line 1: | Line 1: | ||
<div style="display: table; width: 160px; margin: 8px; padding: 10px 12px; text-align: center; background-color: #EFF0F0; border: 3px solid {{#switch:{{{dmg|Luck}}}|Strength=Orange|Agility=Green|Wisdom=Magenta|Luck=Cadetblue}}; border-radius: 5px;"> | <div style="display: table; width: 160px; margin: 8px; padding: 10px 12px; text-align: center; background-color: #EFF0F0; border: 3px solid {{#switch:{{{dmg|Luck}}}|Strength=Orange|Agility=Green|Wisdom=Magenta|Luck=Cadetblue}}; border-radius: 5px;"> | ||
<div style="display: table-cell; vertical-align: middle;"> | |||
<div>{{ClassIcon|{{{class|Beginner}}}|size=38|y}}</div> | <div>{{ClassIcon|{{{class|Beginner}}}|size=38|y}}</div> | ||
<div style="padding: 5px 0;">[[File:{{{class|Beginner}}}.png|x90px|link={{{class|Beginner}}}]]</div> | <div style="padding: 5px 0;">[[File:{{{class|Beginner}}}.png|x90px|link={{{class|Beginner}}}]]</div> | ||
Line 6: | Line 7: | ||
<div style="display: flex; flex-direction: column;">'''[[Damage|DMG]]'''{{#switch:{{{dmg|Luck}}}|Strength=[[File:Fist of Rage.png|28px|link=Strength]]|Agility=[[File:Quickness Boots.png|28px|link=Agility]]|Wisdom=[[File:Book of the Wise.png|28px|link=Wisdom]]|Luck=[[File:Lucky Clover.png|28px|link=Luck]]}}</div> | <div style="display: flex; flex-direction: column;">'''[[Damage|DMG]]'''{{#switch:{{{dmg|Luck}}}|Strength=[[File:Fist of Rage.png|28px|link=Strength]]|Agility=[[File:Quickness Boots.png|28px|link=Agility]]|Wisdom=[[File:Book of the Wise.png|28px|link=Wisdom]]|Luck=[[File:Lucky Clover.png|28px|link=Luck]]}}</div> | ||
<div style="display: flex; flex-direction: column;">'''[[Accuracy|ACC]]'''{{#switch:{{{acc|Luck}}}|Strength=[[File:Fist of Rage.png|28px|link=Strength]]|Agility=[[File:Quickness Boots.png|28px|link=Agility]]|Wisdom=[[File:Book of the Wise.png|28px|link=Wisdom]]|Luck=[[File:Lucky Clover.png|28px|link=Luck]]}}</div> | <div style="display: flex; flex-direction: column;">'''[[Accuracy|ACC]]'''{{#switch:{{{acc|Luck}}}|Strength=[[File:Fist of Rage.png|28px|link=Strength]]|Agility=[[File:Quickness Boots.png|28px|link=Agility]]|Wisdom=[[File:Book of the Wise.png|28px|link=Wisdom]]|Luck=[[File:Lucky Clover.png|28px|link=Luck]]}}</div> | ||
</div> | |||
</div> | </div> | ||
</div> | </div> |