Template:Userboxes/doc

From RuneRealm Wiki
Jump to navigation Jump to search
This is a documentation subpage for Template:Userboxes.
It contains usage information, categories, and other content that is not part of the original template page.

Purpose

To collect images or userboxes into a single column grouping easily. This template is not just for userboxes; it is also an efficient way of creating a column of images to run along the side of an article.

Usage

{{Userboxes
| align           = Alignment (left or right). Default is right.
| left            = Any left margin value. Default is 1.
| right           = Any right margin value. Default is 0.
| backgroundcolor = Any web colour (name or #XXXXXX hex format). Default is #FFFFFF.
| bordercolor     = Any web colour (name or #XXXXXX hex format). Default is #99B3FF.
| extra-css       = Allows you to provide additional CSS style information.
| textcolor       = Any web colour (name or #XXXXXX hex format). Default is #000000.
| toptext         = Changes the standard Userbox text and link. Can include wiki-markup.
| columns         = Number of columns (default is 1).
| width           = Width of Userboxes (in pixels, %, em or other css unit, does not have to be defined)
| height          = Height of Userboxes (in pixels, %, em or other css unit, does not have to be defined)
| collapsible     = Collapsibility of the box. "0" (default) returns not collapsible, "1" returns collapsible but uncollapsed, and "2" returns collapsible and collapsed.
}}
{{Userbox}} 1
{{Userbox}} 2
{{Userbox}} etc.
{{Userboxesend}}