Difference between revisions of "User:TheTric/Zetta/CompactPortrait"
From SpiralKnights
< User:TheTric | Zetta
m (Added Ability To Change Portrait Sizes) |
m |
||
Line 6: | Line 6: | ||
| bodyStyle = padding:5px; | | bodyStyle = padding:5px; | ||
| body = | | body = | ||
− | <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:{{{ | + | <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:{{{5|}}}|{{{5}}}|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> | ||
}} | }} |