Jump to content

Template:UserBanner/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Basic Template Usage

[edit]

To display the template, just place {{UserBanner|[username]}} on the relevant page where the item in squared brackets is replaced by the relevant value.


The banner options will apply throughout the entire page the banner is on. To prevent this, set the off parameter to yes.

Standard Options

[edit]

This banner can be customised by adding various parameters to the template. To use these parameters, just place

{{UserBanner
 |[username]
 |[wikiproject abbreviation of choice]
 |[image of choice to display for wikiproject]
 |backgroundcolor=[backgroundcolor]
 |bordersize=[bordersize]
 |borderstyle=[borderstyle]
 |bordercolor=[bordercolor]
 |font=[font]
 |font size=[fontsize]
 |padding=[padding]
 |paddingleft=[paddingleft]
 |paddingright=[paddingright]
 |off=yes
}}

on the relevant page where the item in squared brackets is replaced by the relevant value.

ParameterDefinitionDefault Value
BackgroundcolorBackground colourWhite
BordersizeThe line thickness of the top and bottom borders2px
BorderstyleThe line design of the top and bottom bordersSolid
BordercolorThe line colour of the top and bottom bordersNavy
fontThe font of the link textCalifornian FB
fontsizeThs size of the link text10pt
paddingleftThe amount of whitespace on the left side5px
paddingrightThe amount of whitespace on the right side5px
paddingThe amount of whitespace on both sides5px

See also

[edit]