Template:Box-start

From WikiAlpha
Revision as of 15:36, 24 August 2011 by Govind (Talk | contribs)

Jump to: navigation, search

It is possible to create boxes using the {{Box-start}} and {{Box-end}} templates, like this:
{{Box-start|border-color|box-color}}
Text you want displayed in the box
{{Box-end}}

Examples

{{Box-start|green|red}}
This will create a red box with a green border.
{{Box-end}}

This will create a red box with a green border.

{{Box-start|#000000|#c0c0c0}}
HTML #XXXXXX colors are also permitted.
{{Box-end}}

HTML #XXXXXX colors are also permitted.

{{Box-start}}
If no colors are specified, the box defaults to white background and black border.
{{Box-end}}

If no colors are specified, the box defaults to white background and black border.