Template:Box
The {{box}}
template may be used to add a colored box with title (optional) and text.
Usage
{{Box |color= <blue|green|grey|purple|red|yellow> |width= |height= |title= |text= }}
Parameters
- color
- The color of the box. Default:
grey
. Options:blue
,green
,grey
,purple
,red
,yellow
- width
- If specified, the width of the box. It must be specified in pixels (px) or percentage (%).
- height
- If specified, the height of the box. It must be specified in pixels (px).
- title
- If specified, a title will be shown. Templates and transcluded pages can be used.
- text
- The text in the box. Templates and transcluded pages can be used.
Examples
{{Box|color=blue|width=500px|height=150px|title=This is the title|text=Here comes the text.}}
|