Template:Generic box

Revision as of 04:41, 2 June 2016 by Ian Oliver (talk | contribs) (forgot to close noinclude)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Use this template to put text in a box for whatever purpose you need. The text to put in the box is given in positional argument 1. The text, border, and background colors are configurable using optional textcolor, bordercolor, and bgcolor arguments. (Because these are named, their positions don't matter. But the text needs to be the first argument.)

Examples

Code Result
{{generic box|Hello there!}}
Hello there!
{{generic box|Go away!|textcolor=red|bordercolor=orange|bgcolor=black}}
Go away!