Difference between revisions of "Template:Genericbox"

From Complexity Zoo
Jump to navigation Jump to search
m (1 revision: Complexity zoo import.)
 
(No difference)

Latest revision as of 03:10, 18 November 2012

Template Documentation

Wraps its content in a <div> and applies box-like formatting.

This template should not be used directly, but rather is intended for use in more specific box templates like Template:Menubox or Template:Theorem.

Example

{{Genericbox|background=yellow|Hello, world!}}

Template:Renders-As

Parameters

Order/Name Description
1 Content to be placed inside the box.
background (optional) Background color of the box, specified as a CSS color. Defaults to #e0e0e0.
bordercolor (optional) Color of the box's border, specified as a CSS color. Defaults to black.
margin (optional) Spacing to the left and right of the box, specified in CSS unit notation. Defaults to 3em.

Raw Template