Template:Infobox

From VrlWiki
Revision as of 00:48, 11 February 2009 by Jadrian Miles (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
{{{1}}}

The following parameters to this template are defined:

  • content: the contents of the box. No default value is defined.
  • background: the background color.
  • border: a CSS-format border style string.
  • padding: box padding.
  • margin: box margin.

You can also give the specify the contents of the box in an unnamed parameter; see the examples below.

Examples

Code Result
{{Infobox|content=Hello world!}}
Hello world!
{{Infobox|Hello world!}}
Hello world!
{{Infobox|background=yellow|Hello world!}}
Hello world!
{{Infobox|border=2px solid red|Hello world!}}
Hello world!