Template:Genericbox
Jump to navigation
Jump to search
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!}}
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 .
|