FANDOM


Template documentation

Template for collecting userboxes into a single (or multiple) column grouping easily.

Usage

{{Userboxes|boxes=
{{Brigadier light/en}}
{{Babel|en|N}}
{{User timezone|+0}}
}}

Parameters

bg
Main background color of the box. Accepts standard HTML color names or RGB hex triplets.
border color
Color of the box border. Accepts standard HTML color names or RGB hex triplets.
boxes
The userboxes which should be displayed within this template.
clear
Sets CSS "clear" attribute for the box. Basically, this is used to "reset" floats (see below). For example, setting this to "left" will cause the box to appear at the left margin of the page even if there are left-floating elements before it (which would normally cause the box to appear to their right).
Available options:
  • left: Resets floats to the left.
  • right: Resets floats to the right.
  • both: Resets all floats.
  • none: Resets no floats.
color
Color of the text within the box. Colors set for specific userboxes override this setting. Accepts standard HTML color names or RGB hex triplets.
columns
The number of columns the userboxes should be displayed in.
extra-css
Any additional CSS you wish to apply to the box.
float
CSS "float".
Available options:
  • none: Text does not flow around the box.
  • left: Subsequent text floats around the box on the right.
  • right: Subsequent text floats around the box on the left.
title
The title of the template, i.e. the text which appears above the userboxes.

Example

Simple

Big-en This user is an English
Wikia Language Brigadier.
en-N
This user is a native speaker of English.
UTC±0.00 This user's time zone is UTC+0.
{{Userboxes
|boxes   =
{{Brigadier light/en}}
{{Babel|en|N|float=left}}
{{User timezone|+0}}
}}

Multiple columns

Big-en This user is an English
Wikia Language Brigadier.
en-N
This user is a native speaker of English.
UTC±0.00 This user's time zone is UTC+0.
World This user's favorite continent is shrouded in mystery.
{{Userboxes
|columns =2
|boxes   =
{{Brigadier light/en}}
{{Babel|en|N|float=left}}
{{User timezone|+0}}
{{Continent userbox}}
}}

Altered alignment

Big-en This user is an English
Wikia Language Brigadier.
en-N
This user is a native speaker of English.
UTC±0.00 This user's time zone is UTC+0.
{{Userboxes
|float   =left
|boxes   =
{{Brigadier light/en}}
{{Babel|en|N|float=left}}
{{User timezone|+0}}
}}

Altered background & title

My userboxes
Big-en This user is an English
Wikia Language Brigadier.
en-N
This user is a native speaker of English.
UTC±0.00 This user's time zone is UTC+0.
{{Userboxes
|bg      =#F9F9F9
|title   =My userboxes
|boxes   =
{{Brigadier light/en}}
{{Babel|en|N|float=left}}
{{User timezone|+0}}
}}

See also


End of template documentation
This template may be (partially) invisible. • Edit base documentationEdit English documentation
Community content is available under CC-BY-SA unless otherwise noted.