Template:Metabox: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>LostInRiverview (Added customizable border and background color, and adjustable "image width") |
sims>LostInRiverview mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{tm|{{Under construction}}}} |
<noinclude>{{tm|{{Under construction}}}} |
||
</noinclude> |
</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"}} |
{|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}}}|}}]] }} |
{{#if:{{{image|}}}|{{!}}width={{#if:{{{imagewidth|}}}|"{{{imagewidth}}}"|"60px"}} align="center"{{!}}[[File:{{{image}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}px|40px}}|{{#if:{{{imagelink|}}}|link={{{imagelink}}}|}}]] }} |
||
|'''{{{headline|}}} ''' |
|'''{{{headline|}}} ''' |