Template:Userboxes

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:54, 17 October 2024 (Created page with "{| class="userboxes {{#switch:{{{collapsible|0}}}|0=|1=collapsible|2=collapsible collapsed}}" style="margin-left: {{{left|1}}}em; margin-right: {{{right|0}}}em; width: {{{width|{{#expr:{{{columns|1}}}*242+8}}px}}}; height: {{{height|auto}}}; margin-bottom: 0.5em; border: {{{bordercolor|#99B3FF}}} solid 1px; background-color: {{{backgroundcolor|#FFFFFF}}}; color: {{{textcolor|#000000}}}; float: {{{2|{{{align|right}}}}}}; {{{extra-css|}}}" !<div style="text-align:center; f..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:Userboxes/doc. [edit] [history] [purge]

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}}