Template:Generic box

From Protospace Wiki
Jump to navigation Jump to search

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!