Template:Generic box

Revision as of 04:37, 2 June 2016 by Ian Oliver (talk | contribs) (added options for color of text, border, and background)

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!