Template:Userbox

From Tolkien Gateway
Revision as of 18:34, 7 October 2010 by Mith (talk | contribs) (Fixed categorisation)
id info

Usage

{{userbox
| float=
| border-c=
| border-w=
| border-s=
| id=
| id-a=
| id-c=
| id-lh=
| id=fc=
| id-fs=
| id-w=
| id-h=
| id-p=
| id-css=
| info=
| info-a=
| info-c=
| info-lh=
| info-fc=
| info-fs=
| info-p
| info-css=
| cat=
}}

float, set by default to float left. Can be left blank or omitted.
border-c, border-colour, default is grey (#999999). can be left blank or omitted.
border-w, border-width, in pixels, default is "1". Can be left blank or omitted.
border-s, border-style, default is "solid". Can be left blank or omitted.
id, contents of the left-hand id box, can contain text or image.
id-a, text-align, default is "center". Can be left blank or omitted.
id-c, background-color, default is grey (#DDDDDD). Can be left blank or omitted.
id-lh, line-height, default is "1.25em". Can be left blank or omitted.
id-fc, font-color, default is "black". Can be left blank or omitted.
id-fs, font-size, in points, default is "14". Can be left blank or omitted.
id-w, width, in pixels, default is "45". Can be left blank or omitted.
id-h, height, in pixels, default is "45". Can be left blank or omitted.
id-p, padding, in pixels, default is "0 1px 0 0". Can be left blank or omitted.
id-css, any extra css you wish to enter (such as font face or style). Can be left blank or omitted.
info, contents of the large informative description on the right-hand side.
info-a, text-align, default is "left". Can be left blank or omitted.
info-c, background-color, default is grey (#EEEEEE). Can be left blank or omitted.
info-lh, line-height, default is "1.25em". Can be left blank or omitted.
info-fc, font-color, default is "black". Can be left blank or omitted.
info-fs, font-size, in points, default is "8". Can be left blank or omitted.
info-p, padding, in pixels, default is "4px". Can be left blank or omitted.
info-css, any extra css you wish to enter (such as font face or style). Can be left blank or omitted.
cat, category for users to be placed in, blank by default. Include just the name of the category, e.g. "Gatekeepers who support Gondor".

Most users, will only need to use this:

{{userbox
| border-c=
| id=
| id-c=
| id-fc=
| info=
| info-c=
| info-fc=
}}