Template:Box: Difference between revisions

add default value for {{{top}}}
(overide margin-bottom in layout.css)
(add default value for {{{top}}})
Line 1: Line 1:
<includeonly>{| width="{{{width}}}" style="float:{{{float}}}; {{#if: {{{top}}} |  position:relative; top:{{{top}}};}}"
<includeonly>{| width="{{{width}}}" style="float:{{{float}}}; {{#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