Template:Box: Difference between revisions
(add default value for {{{top}}}) |
(add #if statement for {{{width}}}) |
||
Line 1: | Line 1: | ||
<includeonly>{| width="{{{width}}}" style="float:{{{float}}}; {{#if: {{{top}}} | position:relative; top:{{{top|0px}}};}}" | <includeonly>{| {{#if: {{{width|}}} | width="{{{width}}}"|}} style="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 |
Revision as of 15:55, 19 June 2011
The above documentation is transcluded from Template:Box/doc. (editEditors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |