Template:ClassMiniBox: Difference between revisions

From IdleOn MMO Wiki
(Another width adjust (200px))
(Skill line break)
Line 1: Line 1:
<div style="display: table; width: 200px; 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: 150px; 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 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>
<div style="padding: 5px 0;">'''Skill''' {{#switch:{{{skill|None}}}|TBD|None={{{skill|None}}}|#default={{Skillicon|{{{skill|}}}|y}}}}</div>
<div style="padding: 5px 0;">'''Skill'''<br>{{#switch:{{{skill|None}}}|TBD|None={{{skill|None}}}|#default={{Skillicon|{{{skill|}}}|y}}}}</div>
<div style="display: flex; flex-direction: row; justify-content: space-around;">
<div style="display: flex; flex-direction: row; justify-content: space-around;">
<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>

Revision as of 23:58, 27 May 2022

Beginner.png
Skill
None