Template:UserBanner
Appearance
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.
Parameter | Definition | Default Value |
---|---|---|
Backgroundcolor | Background colour | White |
Bordersize | The line thickness of the top and bottom borders | 2px |
Borderstyle | The line design of the top and bottom borders | Solid |
Bordercolor | The line colour of the top and bottom borders | Navy |
font | The font of the link text | Californian FB |
fontsize | Ths size of the link text | 10pt |
paddingleft | The amount of whitespace on the left side | 5px |
paddingright | The amount of whitespace on the right side | 5px |
padding | The amount of whitespace on both sides | 5px |