Template:Userboxes: Difference between revisions
Jump to navigation
Jump to search
illerai>Habblet 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: {{{widt..." |
m 1 revision imported |
(No difference)
|
Latest revision as of 21:54, 4 November 2024
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}}