Template:UserBanner/doc
![]() | This is a documentation subpage for Template:UserBanner. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
Basic Template Usage
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
This banner can be customised by adding various parameters to the template. To use these parameters, just place <syntaxhighlight lang="wikitext">
</syntaxhighlight> 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 |
See also