Template:Box3/doc
- Description
- This template is used to encapsulate something in a box.
- Options
-
- text = This is defaults the the first parameter and should contain the contents of the box.
- align = if sent to
centerit will center the box. It default to the second parameter. - text-align = Will govern the alignment of
text. Will default to whatalignis set to or the second parameter. - width = set the width of the box. It defaults to 100% or the third parameter.
- corner = if set to
roundwill round the corners of the box. It will default to the fourth parameter.
- Syntax
- Type
{{Box3}}somewhere. - Sample output
{{Box3|foo}}gives...
foo
{{Box3|foo|corner=round}}gives...
foo
{{Box3|foo|center}}gives...
foo
{{Box3|foo|center|80%}}gives...
foo
{{Box3|foo|center|80%|round}}gives...
foo
{{Box3
| text = foo
| align= center
| width = 80%
}}gives...
foo
{{Box3
| text = foo
| align= center
| text-align = left
| width = 80%
| corner = round
}}gives...
foo