Changes

m
1 revision imported
{{Documentation subpage}}
<!--
PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE
YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT
-->
==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. {{tl|Gallery}}, by contrast, creates rows of images and is used when the images should not run alongside the text but rather should serve as a break in the text.

==Usage==
<pre><nowiki>{{userboxtop
| align =
| left =
| backgroundcolor =
| bordercolor =
| extra-css =
| textcolor =
| toptext =
}}

[userboxes]

{{userboxbottom}}</nowiki></pre>

All of the parameters are '''optional'''.

===Customizing===
Detailed explanations of the parameters are below.

{| class="wikitable"
|-
! Parameter
! Valid values
|-
| <code>align</code>
| <code>left</code> or <code>right</code> (default) <!-- <code>center</code> does not work -->
|-
| <code>left</code>
| Any left margin value. Defaults to 1.
|-
| <code>backgroundcolor</code>
| Any [[Web colors|web color]] (name or <tt>#XXXXXX</tt> hex format). Defaults to <tt>#FFFFFF</tt>.
|-
| <code>bordercolor</code>
| Any [[Web colors|web color]] (name or <tt>#XXXXXX</tt> hex format). Defaults to <tt>#99B3FF</tt>.
|-
| <code>extra-css</code>
| Allows you to provide additional [[Cascading Style Sheets|CSS]] style information.
|-
| <code>textcolor</code>
| Any [[Web colors|web color]] (name or <tt>#XXXXXX</tt> hex format). Defaults to <tt>#000000</tt>.
|-
| <code>toptext</code>
| Overrides the standard [[Wikipedia:Userboxes|Userbox]] text and link. Can include wiki-markup.
|}

You may also insert breaks by using {{tl|userboxbreak}}. See that template for details.

==Hiding userboxes==
You can hide userboxes which use this (as well as a few other) forms of template-based userbox organization. Simply go to [[Special:Mypage/skin.css]], which redirects to your current [[WP:SKIN|skin]]'s CSS file, and add the following–

<code><nowiki>table.userboxes { display: none; }</nowiki></code>

==See also==
*{{tl|Userboxbreak}}
*{{tl|Userboxbottom}}
*{{tl|Userboxside}}

<includeonly>

<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
[[Category:User namespace templates]]

<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->

</includeonly>