Difference between revisions of "User:TheTric/Zetta/CompactPortrait"
From SpiralKnights
< User:TheTric | Zetta
m |
m (Added Ability To Change Portrait Sizes) |
||
Line 4: | Line 4: | ||
| icon = | | icon = | ||
| footer = {{User:TheTric/Zetta/CompactUser|{{{1|}}}|{{{2|}}}|{{{4|5}}}|icon={{{icon}}}|iconSize={{{iconSize|24px}}}}} | | footer = {{User:TheTric/Zetta/CompactUser|{{{1|}}}|{{{2|}}}|{{{4|5}}}|icon={{{icon}}}|iconSize={{{iconSize|24px}}}}} | ||
− | | bodyStyle = | + | | bodyStyle = padding:5px; |
| body = | | body = | ||
− | <div style="position:relative; height: | + | <div style="position:relative; height:{{{portraitSize|100}}}px; width:{{{portraitSize|100}}}px; overflow: hidden; border: 1px solid rgba(235,201,77,{{#if:{{{7|}}}|1|0}});">[[File:{{#if:{{{portrait|}}}|{{{portrait}}}|Knight-{{#if:{{{2|}}}|{{{2}}}|{{{1|default}}}}}_icon.png}}|{{{portraitSize|100}}}x{{{portraitSize|100}}}px|Edit]] |
<div style="position:absolute; height:30px; width:30px; top:3px; right:3px; opacity:.8; overflow: hidden; vertical-align:middle;">[[File:Flag({{{3|}}}).png|30x30px]]</div></div> | <div style="position:absolute; height:30px; width:30px; top:3px; right:3px; opacity:.8; overflow: hidden; vertical-align:middle;">[[File:Flag({{{3|}}}).png|30x30px]]</div></div> | ||
}} | }} |