Template:Box/open: Difference between revisions

From NET Wiki
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 difference)

Revision as of 19:09, 10 March 2009

Title

Parameters:

  • width: width of the table, default is 100%
  • borderColor: color of the border
  • backgroundColor:
  • title:

Use the {{Box/close}} template to close the box!
This template should be used together with {{Box/pad}} to pad out the box contents - see examples below.
Template originates from [1]

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.