Template:Box/open: Difference between revisions
Jump to navigation
Jump to search
(Created page with '{| cellspacing="2" cellpadding="0" style="margin:0em 0em 0em 0em; width:{{{width|100%}}};" | colspan="1" style="width:100%; vertical-align:top; border:1px solid {{{borderColor|#E...') |
No edit summary |
||
Line 1: | Line 1: | ||
{| cellspacing="2" cellpadding="0" style="margin:0em 0em 0em 0em; width:{{{width|100%}}};" | {| cellspacing="2" cellpadding="0" style="margin:0em 0em 0em 0em; width:{{{width|100%}}};" | ||
| colspan="1" style="width:100%; vertical-align:top; border:1px solid {{{borderColor|#E39C79}}}; background-color:#ffFcF1;"| | | colspan="1" style="width:100%; vertical-align:top; border:1px solid {{{borderColor|#E39C79}}}; background-color:{{{backgroundColorTop|#ffFcF1}}};"| | ||
<div style="border-bottom:1px solid {{{borderColor|#E39C79}}}; background-color:{{{backgroundColor|Wheat}}}; padding:0.2em 0.9em 0.2em 0.5em; font-size:120%; font-weight:bold;">{{{title|Title}}}</div> | <div style="border-bottom:1px solid {{{borderColor|#E39C79}}}; background-color:{{{backgroundColor|Wheat}}}; padding:0.2em 0.9em 0.2em 0.5em; font-size:120%; font-weight:bold;">{{{title|Title}}}</div> | ||
<noinclude><div style="padding:0.75em 1.5em 0em 0.75em;"> | <noinclude><div style="padding:0.75em 1.5em 0em 0.75em;"> | ||
Line 14: | Line 14: | ||
|} | |} | ||
==Usage== | ==Usage== | ||
<pre> | |||
<nowiki>{{Box/open|title=Test title}} | |||
<div style="{{Box/pad}}"> | |||
Test box with no content. | |||
</div> | |||
{{Box/close}}</nowiki> | |||
</pre> | |||
produces: | produces: | ||
{{Box/open|title=Test title}} | {{Box/open|title=Test title}} | ||
Line 25: | Line 27: | ||
</div> | </div> | ||
{{Box/close}} | {{Box/close}} | ||
==Colors== | |||
[[Category:Utility templates]]</noinclude> | [[Category:Utility templates]]</noinclude> |
Latest revision as of 16:24, 11 March 2009
Title
Parameters:
Use the {{Box/close}} template to close the box!
|
Usage
{{Box/open|title=Test title}} <div style="{{Box/pad}}"> Test box with no content. </div> {{Box/close}}
produces:
Test title
Test box with no content. |