Help:Userboxes
Jump to navigation
Jump to search
A userbox is a small, usually coloured box that users place on their user pages to give information about themselves. They tend to concern the preferences or habits of a user. Current Pikipedia userboxes are found at.
To create a custom userbox, there are a number of options:
- Use code from an existing userbox. This involves editing another userbox on the wiki to copy its code, then changing it to suit your needs. This should be saved as a subpage to your userpage (see Help:FAQ).
- Use Template:Userbox. Follow the documentation found at Template:Userbox to create a simple userbox.
- Otherwise, if you have knowledge of MediaWiki tables and CSS styles, create a userbox from scratch. These are the two basic elements used in userboxes, and are all that is needed.
Once saved, the finished userbox can be substituted into any page via the code {{User:Username/subpage}}.
Towers
Userboxes are most often arranged into columns, or "towers", on user pages, especially when there are quite a few to display. This can be achieved with the following code (change float: right to float: left if preferred):
{|style="border-spacing: 10px; float: right;" |- | The first userbox goes here |- | Another one could be here |- | And so on |}
This is a simple MediaWiki table, so it can be given styles and classes like any other table.