Template:Metabox: Difference between revisions

Added customizable border and background color, and adjustable "image width"
sims>LostInRiverview
mNo edit summary
sims>LostInRiverview
(Added customizable border and background color, and adjustable "image width")
Line 1:
<noinclude>{{tm|{{Under construction}}}}
</noinclude>
{|class="roundborder" style="border: 1px solid #{{#if:{{{bordercolor|}}}|{{{bordercolor}}}|{{MetaboxBorder|{{{type}}}}}; background: #{{#if:{{{backgroundcolor|}}}|{{{backgroundcolor}}}|{{MetaboxBG|{{{type}}}}}; -moz-border-radius:5px; border-radius:5px; border-left: 10px solid #{{#if:{{{bordercolor|}}}|{{{bordercolor}}}|{{MetaboxBorder|{{{type}}}}}; border-right: 1px solid #{{#if:{{{bordercolor|}}}|{{{bordercolor}}}|{{MetaboxBorder|{{{type}}}}}; {{#ifeq:{{{size}}}|small|font-size: 90%; line-height:120%;" width={{#if:{{{width|}}}|"{{{width}}}%"|"45%"}} align="left"|font-size: 100%; line-height:120%;" width={{#if:{{{width|}}}|"{{{width}}}%"|"85%"}} align="center"}}
{{#if:{{{image|}}}|{{!}}width={{#if:{{{imagewidth|}}}|"{{{imagewidth}}}"|"60px"}} align="center"{{!}}[[File:{{{image}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}px|40px}}|{{#if:{{{imagelink|}}}|link={{{imagelink}}}|}}]] }}
|'''{{{headline|}}} '''
{{{text}}}
Anonymous user