We've Moved! Just as Gamepedia has joined forces with Fandom, this wiki had joined forces with our Fandom equivalent. The wiki has been archived and we ask that readers and editors move to the now combined wiki on Fandom. Click to go to the new wiki.

Template:Userboxes

From The Vault - Fallout Wiki
Jump to: navigation, search
Userboxes
Template documentation (for the template shown above, sometimes hidden or invisible)

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

Usage

{{Userboxes|boxes=
{{User Fallout}}
{{User Fallout 2}}
{{User Fallout 3}}
}}

Parameters

OptionalIcon optional.png
(default: "#E7EADA")
bg

Main background color of the box. Accepts standard HTML color names or RGB hex triplets.

OptionalIcon optional.png
(default: "#AAAAAA")
border color

Color of the box border. Accepts standard HTML color names or RGB hex triplets.

Sometimes required or at least one requiredIcon semi-required.png
boxes

The userboxes which should be displayed within this template.

OptionalIcon optional.png
(default: none)
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.
OptionalIcon optional.png
(default: "#000000")
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.

OptionalIcon optional.png
(default: "1")
columns

The number of columns the userboxes should be displayed in.

OptionalIcon optional.png
extra-css

Any additional CSS you wish to apply to the box.

OptionalIcon optional.png
(default: "right")
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.
OptionalIcon optional.png
(default: "Userboxes")
title

The title of the template, i.e. the text which appears above the userboxes.

Example

Simple

Userboxes
Gametitle-FO1.pngThis user is knowledgeable about the original Fallout.
Gametitle-FO2.pngThis user is knowledgeable about Fallout 2.
Gametitle-FO3.pngThis user is knowledgeable about Fallout 3.
{{Userboxes
|boxes   =
{{User Fallout}}
{{User Fallout 2}}
{{User Fallout 3}}
}}

Multiple columns

Userboxes
Gametitle-FO1.pngThis user is knowledgeable about the original Fallout.
Gametitle-FO2.pngThis user is knowledgeable about Fallout 2.
Gametitle-FO3.pngThis user is knowledgeable about Fallout 3.
Gametitle-FOT.pngThis user is knowledgeable about Fallout Tactics.
{{Userboxes
|columns =2
|boxes   =
{{User Fallout}}
{{User Fallout 2}}
{{User Fallout 3}}
{{User Fallout Tactics}}
}}

Altered alignment

Userboxes
Gametitle-FO1.pngThis user is knowledgeable about the original Fallout.
Gametitle-FO2.pngThis user is knowledgeable about Fallout 2.
Gametitle-FO3.pngThis user is knowledgeable about Fallout 3.
{{Userboxes
|float   =left
|boxes   =
{{User Fallout}}
{{User Fallout 2}}
{{User Fallout 3}}
}}

Altered background & title

My userboxes
Gametitle-FO1.pngThis user is knowledgeable about the original Fallout.
Gametitle-FO2.pngThis user is knowledgeable about Fallout 2.
Gametitle-FO3.pngThis user is knowledgeable about Fallout 3.
{{Userboxes
|bg      =#F9F9F9
|title   =My userboxes
|boxes   =
{{User Fallout}}
{{User Fallout 2}}
{{User Fallout 3}}
}}
Documentation transcluded from Template:Userboxes/doc.