Template:Metabox: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>LostInRiverview mNo edit summary |
sims>Nikel23 (Perhaps this would prevent the additional gaps or sensitive spacing issues) |
||
Line 4: | Line 4: | ||
|headline = This template is used on thousands of pages |
|headline = This template is used on thousands of pages |
||
|text = To avoid large-scale disruption and unnecessary server load, consider testing your changes elsewhere, such as by copying the source code of this template and pasting it into your [[w:Help:User page|user space]], or in the [[The Sims Wiki:Sandbox|sandbox]]. Consider proposing your changes on the [[Template talk:Metabox|talk page]] before editing this template. |
|text = To avoid large-scale disruption and unnecessary server load, consider testing your changes elsewhere, such as by copying the source code of this template and pasting it into your [[w:Help:User page|user space]], or in the [[The Sims Wiki:Sandbox|sandbox]]. Consider proposing your changes on the [[Template talk:Metabox|talk page]] before editing this template. |
||
}}}} |
}}}} |
||
{|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%; margin-right:5px; line-height:120%;" width={{#if:{{{width|}}}|"{{{width}}}%"|"45%"}} align="left"|font-size: 100%; line-height:120%;" width={{#if:{{{width|}}}|"{{{width}}}%"|"85%"}} align="center"}} |
</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%; margin-right:5px; 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}}}"|"{{#ifeq:{{{size}}}|small|50px|60px}}"}} align="center"{{!}}[[File:{{{image}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}px|40px}}|{{#if:{{{imagelink|}}}|link={{{imagelink}}}|}}]] }} |
{{#if:{{{image|}}}|{{!}}width={{#if:{{{imagewidth|}}}|"{{{imagewidth}}}"|"{{#ifeq:{{{size}}}|small|50px|60px}}"}} align="center"{{!}}[[File:{{{image}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}px|40px}}|{{#if:{{{imagelink|}}}|link={{{imagelink}}}|}}]] }} |
||
|'''{{{headline|}}} ''' |
|'''{{{headline|}}} ''' |