Template:Box: Difference between revisions
m (category) |
(add in test for empty {{{title}}}) |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| | <includeonly>{| width="{{{width}}}" style="float:{{{float}}}; {{#if: {{{top}}} | position:relative; top:{{{top}}};}}" | ||
| class="MainPageBG" style="width:100%; border:1px solid #{{ #switch: {{{color}}} | | class="MainPageBG" style="width:100%; border:1px solid #{{ #switch: {{{color}}} | ||
| pink=f2cedf | | pink=f2cedf | ||
Line 18: | Line 18: | ||
| ldstech=e5e3cf | | ldstech=e5e3cf | ||
| #default=ffffff | | #default=ffffff | ||
}}; vertical-align:top;"| | }}; vertical-align:top;" | ||
{| width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top | {{#if {{{title}}} | | ||
| | |||
{| width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background:#{{ #switch: {{{color}}} | |||
| pink=fff5fa | | pink=fff5fa | ||
| orange=fffaf5 | | orange=fffaf5 | ||
Line 29: | Line 31: | ||
| #default=ffffff | | #default=ffffff | ||
}};" | }};" | ||
! | ! <p style="margin:0; background:#{{ #switch: {{{color}}} | ||
| pink=f2cedf | | pink=f2cedf | ||
| orange=f2dfce | | orange=f2dfce | ||
Line 40: | Line 40: | ||
| ldstech=e5e3cf | | ldstech=e5e3cf | ||
| #default=dddddd | | #default=dddddd | ||
}}; | }}; font-size:120%; font-weight:bold; border:1px solid #{{ #switch: {{{color}}} | ||
| pink=bfa3b0 | | pink=bfa3b0 | ||
| orange=bfb0a3 | | orange=bfb0a3 | ||
Line 49: | Line 49: | ||
| ldstech=999999 | | ldstech=999999 | ||
| #default=aaaaaa | | #default=aaaaaa | ||
}}; text-align: | }}; text-align:left; color:#000; padding:0.2em 0.4em;">{{{title}}}</p> | ||
|- | |- | ||
| }} | |||
| style="color:#000;"| {{{content}}} | |||
|} | |} | ||
|}</includeonly> | |}</includeonly> | ||
<noinclude> | <noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 13:25, 12 November 2009
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. |