Template:Box: Difference between revisions

move {{{width}}} parameter inside style declaration
(add #if statement for {{{width}}})
(move {{{width}}} parameter inside style declaration)
Line 1: Line 1:
<includeonly>{|  {{#if: {{{width|}}} | width="{{{width}}}"|}} style="float:{{{float|left}}}; {{#if: {{{top}}} |  position:relative; top:{{{top|0px}}};|}}"
<includeonly>{|  style="{{#if: {{{width|}}} | width:{{{width}}};|}} float:{{{float|left}}}; {{#if: {{{top}}} |  position:relative; top:{{{top|0px}}};|}}"
| class="MainPageBG" style="width:100%; border:1px solid #{{ #switch: {{{color}}}  
| class="MainPageBG" style="width:100%; border:1px solid #{{ #switch: {{{color}}}  
| pink=f2cedf
| pink=f2cedf
90,866

edits