Commons:Userboxes
A userbox (commonly abbreviated as UBX) is a small colored box designed to appear on a Commoner's user page as a notice about the user. Userboxes generally include one or two small graphics and a few short lines of text. Sometimes they also include wiki markup that places the user in a category. Userboxes are generally created as templates and transcluded onto userpages, although their markup may be substituted directly onto userpages instead. Userboxes should not be used in galleries or on image pages. They are for the use of users on their own user pages.
The first userboxes were introduced to support the Babel inter-language effort, to indicate users' skills in other languages.
Using userboxes[edit]
The standard syntax for adding a userbox to your user page (also known as transclusion) is: {{user name_of_box}}
. You may decide to substitute the template code onto your user page using the syntax {{subst:user name_of_box}}
. The use of "subst:" will ensure that the template is always displayed in its form when you add it to your user page, i.e. it will not reflect subsequent edits to the template. However, this method may lead to large amounts of code on your user page.
Many people like to display their userboxes on the right-hand side of their user pages. For language userboxes, use the {{#babel}}
extension. For other userboxes, you can use Babel or use the template-pair {{Boxboxtop}}
and {{Userboxbottom}}
.
Creating userboxes[edit]
When creating new userboxes, they should follow the standard naming scheme of "user something
". This requirement only applies to those in the template namespace. This allows them to work with certain templates, such as {{Babel}}, and for easy recognition of the template's purpose. It also helps avoid naming conflicts. Outside the template namespace, other naming conventions may be used. Common ones include "ubx something
" or as a subpage "userboxes/something
".
Location[edit]
Userboxes exist in both the template namespace and the user namespace. All personal userboxes should be made as a subpage of the creator's userpage (e.g. User:Example/userbox). The advantage of this is that it keeps the template namespace manageable and helps avoid other problems that certain Wikimedia projects have encountered in the past. The disadvantage is that it's slightly less convenient in that the user must include the namespace to use it (e.g. {{user something}} vs. {{User:Example/user something}}).
If the template namespace is used, it's strongly encouraged that the boxes in some way aid in collaboration. Exceptions are allowed as long as these are kept to a minimum. For example, things like {{User rock}} are usually acceptable since you can't stop the rock it is at least in someway related to Commons (that being a recent meme of some sort). However, generally these type of userboxes should be kept to the userspace. Note that this is not a policy or even a guideline, just some advice to avoid the need for one. Let's learn from our sister projects. We're better anyway.
Categories[edit]
All userboxes should at least be categorized in Category:Userbox templates or one of its subcategories. Userboxes outside the template namespace may be categorized there also. Like anywhere else, subcategories should never be created in advance and only if the parent category gets too large.
Currently, the userbox category scheme is as follows:
- Userbox templates - main category; contains all userboxes that don't fit in a subcategory.
- Babel box templates - Babel box meta-templates used in creation of specific language boxes.
- Language user templates - only for "real" spoken languages, i.e. those listed on Commons:Babel ({{User en}}, {{User de-4}}, {{User zh-1}})
- Location user templates - userboxes which signify the user's location. ({{User Germany}}, {{User Ukraine}})
- UTC box templates - userboxes which signify the user's timezone. ({{User UTC}}, {{User UTC+5}})
- Babel box templates - Babel box meta-templates used in creation of specific language boxes.
See also[edit]
- w:Wikipedia:Userboxes - explains the standard format and links to a billion userboxes.
- Commons:Babel - information related to Babel boxes.
- Category:Graphics abilities - information on userboxes related to graphics abilities.
Userboxes[edit]
For the location-userboxes see Commons:Userboxes/Location.
Template | Result | ||
---|---|---|---|
{{User bureaucrat}} |
| ||
{{User admin}} |
| ||
{{User checkuser}} |
| ||
| |||
{{User patroller}} |
| ||
{{User rollbacker}} |
| ||
{{User filemover}} |
| ||
{{User reviewer}} |
| ||
{{User AWB}} |
| ||
{{User OTRS}} |
| ||
{{User bot}} |
| ||
{{User bot owner}} |
| ||
{{User flickr}} |
| ||
{{User Pixelfed}} |
| ||
{{User Ipernity}} |
| ||
| |||
{{User geocoder}} |
| ||
| |||
{{User Heraldry}} |
| ||
| |||
{{User Fashion}} |
| ||
{{User Flags}} |
| ||
{{Iheritage}} |
| ||
{{User Firefox}} |
| ||
{{User linux}} |
| ||
| |||
| |||
| |||
{{User commons 2.0}} |
| ||
{{User civil}} |
| ||
{{User mapmaster}} |
| ||
{{User mellow}} |
| ||
{{User not mellow}} |
| ||
| |||
{{User Opera}} |
| ||
{{User ot}} |
| ||
{{User contrib|5000}} |
| ||
{{User since}} |
| ||
{{W edits|0}} |
| ||
{{Userbox thanks}} |
| ||
| |||
{{User Wikimania|Holding year|your ID|occupation}} |
Category depends on parameter 1. (Category:Wikimania {{{1}}} User)
| ||
{{User Animation}} |
| ||
{{User Alternate Acct|Username}} |
| ||
| |||
{{User Wikipedia bureaucrat|En}} |
| ||
{{User Wikipedia admin|En}} |
| ||
{{User Wikipedia checkuser|En}} |
| ||
{{User Wikipedia autopatrolled|En}} |
| ||
{{User Wikipedia rollbacker|En}} |
| ||
{{User Wikipedia file mover|En}} |
| ||
{{User Wikipedia reviewer|En}} |
| ||
{{User camera}} |
| ||
{{User Monobook}} |
| ||
{{User Inkscape}} |
| ||
{{User Darktable}} |
| ||
{{User Blender}} |
| ||
{{User RawTherapee}} |
| ||
{{User Scribus}} |
| ||
{{User GIMP}} |
| ||
{{User SVG}} |
| ||
{{User IRC}} |
| ||
| |||
{{User signs posts}} |
| ||
{{My sandbox}} |
| ||
{{User CID}} |
| ||
{{User panoramio}} |
| ||
{{User FP}} |
| ||
{{User QI}} |
| ||
| |||
{{User Files}} |
| ||
{{User own photos}} |
| ||
{{User Maps}} |
| ||
{{User Images}} |
| ||
{{User GeoCoding}} |
| ||
{{User Sounds}} |
| ||
{{User QGIS}} |
|