Wikipedia:Userboxes
It has been suggested that List of userboxes be merged into this page. (Discuss) |
A very large amount of the userboxes concerning personal beliefs (politics, religion, beliefs sections here) have been nominated for deletion. Your input on the matter is appreciated. |
Three requests for comment have been filed regarding the deletion of a number of userbox templates: |
Wikipedia:Proposed policy on userboxes has been created to foster consensus on what the right approach to userboxes is. Your input on these matters is appreciated. |
A request for arbitration has been filed regarding the deletion of a number of userbox templates as well as blocks of users involved in WikiProject Userboxes against policy. This is a followup from the two previous requests for comment (1 2). Your input on the matter is appreciated. |
|
A userbox is a small coloured box which allow users to add small messages on their user page. It is an extension of the babel boxes used for user's language abilities. The Wikimedia Commons has a large range of icons for use within boxes.
Common uses for boxes include user interests, user skills, technical information, Wikipedia activities, or just for fun. There are four types of userbox templates. A gallery of example boxes is shown below.
You can either create your own userbox using the four templates below, or use the existing userboxes templates.
If you create a new template, you should prefix the name with 'User', i.e. Template:User wikipedia.
How to make a Userbox
Before making a userbox
- Check to make sure the userbox you want to make does not already exist by going through the categories listed blow.
- If you wish to put your user box in a template and list it here, evaluate whether there is a need for your userbox.
Naming the userbox
All userboxes made using templates should be named using the prefix User . When naming a template, strive not to make the name too ambiguous. Names such as {{User code}} could mean anything. {{User lost(TV Series)}} would be more fitting.
Designing the userbox
There are a number of box types to select from when deciding to make a userbox. The most commonly used design is the "Standard box". It has one square shaped area on the left ("id") and a rectangular area on the right ("info").
For ease of use, userboxes are made using maker-templates that have a number of parameters. Once the maker-template is saved, it is automatically transformed to HTML. See #A_note_on_subst: below.
Template Parameters | Meaning | Value type |
---|---|---|
border-c | The border color of the userbox | CSS color value (#hex or color name) |
border-s | The border size of the userbox | Number |
id-c | The background color of the id box | CSS color value (#hex or color name) |
id-s | The font size of the id box | Number |
id-fc | The font color of the id box text | CSS color value (#hex or color name) |
info-c | The background color of info box | CSS color value (#hex or color name) |
info-s | The font size of info box | Number |
info-fc | The font color of info box | CSS color value (#hex or color name) |
id | This is the content of the id box | Text |
info | This is the content of info box | Text |
Userbox types
Code | Appearance | |||
---|---|---|---|---|
Standard box | ||||
{{subst:Userbox |border-c = #000 |id-c = #fff |id-s = 9 |id-fc = #000 |info-c = #990000 |info-s = 8 |info-fc = #fff |id = ID |info = info box content }}or {{subst:Userbox|side-box colour|main box colour|side-box content|main box content}} |
| |||
Reverse box | ||||
{{subst:Userbox-r |border-c = #000 |id-c = #fff |id-s = 9 |id-fc = #000 |info-c = #990000 |info-s = 8 |info-fc = #fff |id = ID |info = info box content }}or {{subst:Userbox-r|side-box colour|main box colour|side-box content|main box content}} |
| |||
Double box | ||||
{{subst:Userbox-2 |border-c = #000 |border-s = 4 |id1-c = #fff |id1-s = 9 |id1-fc = #000 |info-c = #009900 |info-s = 8 |info-fc = #fff |id1 = ID 1 |info = info box content |id2-c = #000 |id2-s = 9 |id2-fc = #fff |id2 = ID 2 }}or {{subst:Userbox-2|side-box 1 color|main box color|side-box 1 content|message|side-box 2 content|border color|side-box 2 color|main box font-color|box border thickness}} Note: If omitted, border color and side-box 2 color default to the same color as side-box 1, and font color is black. Default border thickness is 1. |
| |||
Mini box | ||||
{{subst:Userbox-m |border-c = #9f9 |border-s = 1 |id-c = #fff |id-s = 8 |id-fc = #000 |id = ID }}or {{subst:Userbox-m|box color|box content}} |
|
A note on subst:
The subst: prefix is used to transform template code to HTML upon saving the article you are coding in (be it a template or your user page). Avoid using meta templates.
A note on content
- Userboxes are distributed user page content and are as such to follow Wikipedia guidelines concerning user pages.
- If you choose to put an image in a userbox, make sure the image license is free. Wikipedia policy does not allow templates or user pages to have copyrighted works on them. The use of copyrighted work as fair use is not allowed on templates. See Wikipedia's Fair use policy guidlines for more details.
Note to Editors
If a userbox does not belong in a category, please note its removal in your edit summary. Also make sure to re-add the box to its appropiate category. If there is a userbox that does not belong here, please list it on Wikipedia:Templates_for_deletion. Do not orphan or speedy delete these boxes until a consensus has been reached. To do so will only cause more controversy. Thank you.
Userboxes
Languages
Wikipedia:Babel, for real-world languages.
Wikipedia:Userboxes/Non-ISO_Languages, for constructed and non-ISO languages.
Wikipedia:Userboxes/Programming, for programming languages.
Wikipedia:Userboxes/Grammar, for stances on grammatical controversies.
Places
Wikipedia:Userboxes/Location, for userboxes related to country and state, as well as regional geographic disputes
Wikipedia:Userboxes/International Politics, for international organisations and non-geographic political opinions.
Wikipedia:Userboxes/Political Parties, for membership political parties, by region.
Wikipedia:Userboxes/Education, for educational qualifications, schools, colleges and universities.
Wikipedia:Userboxes/Timezones, for time zone userboxes.
Interests
Wikipedia:Userboxes/Interests, for universal human interests such as food, beverages, and media or pop culture.
Wikipedia:Userboxes/Computing, for computing, such as browsers and hardware.
Wikipedia:Userboxes/Hobbies, for hobbies including arts and crafts, electronics, games, and outdoor activities.
Wikipedia:Userboxes/Music, for music.
Wikipedia:Userboxes/Pets, for pets.
Wikipedia:Userboxes/Sports, for sports.
Beliefs, Orientations and Preferences
Wikipedia:Userboxes/Beliefs, for beliefs in terms of ethics, political ideologies, and liberty.
Wikipedia:Userboxes/Colours, for your favorite colour(s).
Wikipedia:Userboxes/Mental Health, for mental health.
Wikipedia:Userboxes/Religion, for religious beliefs and religions.
Wikipedia:Userboxes/Sexual orientation, gender and status, for sexual orientation, gender and status.
Wikipedia:Userboxes/Zodiac, for zodiac symbol userboxes.
Wikipedia Users
Wikipedia:Userboxes/Wikipedia, for user category, association, editing philosophy and preferences userboxes.
Wikipedia:Userboxes/WikiProjects, for userboxes related to WikiProjects.
Other userboxes
Wikipedia:Userboxes/Emoticons, to view userboxes about your current mood.
Wikipedia:Userboxes/Funny, to view userboxes that are considered humorous.
Wikipedia:Userboxes/Life, for userboxes about age, ancestry and profession.
Wikipedia:Userboxes/Seasonal, for userboxes about holidays.
Wikipedia:Userboxes/Userboxes, for userboxes about userboxes and userbox policy
Wikipedia:Userboxes/Other, for userboxes that don't seem to fit in any of the above categories/uncategorised.
Grouping userboxes
Example 1
|
As with Babel, there is a box to group user boxes together. Just make a list of userboxes with {{Boxboxtop|box-name}} at the top and {{Boxboxbottom}} at the bottom. Eg., the box to the right is created using the following list:
{{Boxboxtop|Example 1}} {{User wikipedia|administrator}} {{User wikipedia|welcoming committee}} {{User browser}} {{User Rome}} {{User friendly}} {{Boxboxbottom}}
You can also change the alignment by using 'right' or 'left' as the 2nd parameter, or explicitly using parameter align. Thus, it is possible to create the same boxbox on the right, but positioned on the left side of the page, by changing the the first line from {{Boxboxtop|Example 1}} to {{Boxboxtop|Example 1|left}}.
The actual Babel grouping system can also be used, e.g. {{Babel-4|sv|no-4|browser|rome}}. However it only works for user boxes with a "User "-prefix, which must then be dropped for the arguments. Also, boxes that need arguments of their own can not be used with Babel, e.g. {{User wikipedia|administrator}}.)