Template:Box/open: Difference between revisions

Jump to navigation Jump to search
no edit summary
(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==
<nowiki>{{Box/open|title=Test title}}
<pre>
  <div style="{{Box/pad}}">
<nowiki>{{Box/open|title=Test title}}
      Test box with no content.
  <div style="{{Box/pad}}">
  </div>
    Test box with no content.
  {{Box/close}}</nowiki>
  </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>

Navigation menu