Wikipedia:Userboxes
|
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 users' 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 want to create a new template, you should first read How to make a Userbox, below.
Existing 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 countries, states, and regional geographic disputes.
- 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 and hobbies.
- Wikipedia:Userboxes/Books, for favorite books and graphic novels.
- Wikipedia:Userboxes/Computing, for computing, such as browsers and hardware.
- Wikipedia:Userboxes/Food, for favorite foods, beverages, and eating habits.
- Wikipedia:Userboxes/Games, for favorite board, card, and video games.
- Wikipedia:Userboxes/Media, for favorite radio, television, movies and newspapers.
- Wikipedia:Userboxes/Music, for musical taste and interests.
- Wikipedia:Userboxes/Pets, for pets.
- Wikipedia:Userboxes/Sports, for favorite 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/Health, for your physical and mental health.
- Wikipedia:Userboxes/Religion, for religious beliefs and religions.
- Wikipedia:Userboxes/Sexuality, 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.
- 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/Personality, to view userboxes about your personality.
- 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.
Note to Editors
- If a userbox does not belong in a category, please note its removal in your edit summary, and re-add the box to its appropiate category.
- Issues concerning point of view and political correctness in userboxes have yet been resolved, so do not use this as criteria for deletion.
- 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.
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 above.
- If you wish to put your userbox in a template (and list it here), evaluate whether there is a need for your userbox.
Naming the userbox
- All userbox 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.
A note on substitution
- The subst: prefix must be used to transform template code to wiki markup if you are saving the userbox to a template, i.e. {{subst:userbox|...}}. See avoid using meta templates.
- This can also be done on your userpage at your discretion.
Content
- Userboxes are distributed user page content, and as such, are to follow Wikipedia's 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.
- All items in template space are governed by the civility policy.
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 substitution above.
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 | Width in pixels |
id-c | The background color of the id box | CSS color value |
id-s | The font size of the id box | Size in PostScript points |
id-fc | The font color of the id box text | CSS color value |
info-c | The background color of info box | CSS color value |
info-s | The font size of info box | Size in PostScript points |
info-fc | The font color of info box | CSS color value |
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 | ||||
{{Userbox |border-c = #000 |border-s = 1 |id-c = #fff |id-s = 12 |id-fc = #000 |info-c = #039 |info-s = 8 |info-fc = #fff |id = ID |info = info box content }} or {{Userbox|side-box colour|main box colour|side-box content|main box content}} |
| |||
Reverse box | ||||
{{Userbox-r |border-c = #000 |border-s = 1 |id-c = #fff |id-s = 12 |id-fc = #000 |info-c = #039 |info-s = 8 |info-fc = #fff |id = ID |info = info box content }} or {{Userbox-r|side-box colour|main box colour|side-box content|main box content}} |
| |||
Double box | ||||
{{Userbox-2 |border-c = #000 |border-s = 1 |id1-c = #fff |id1-s = 12 |id1-fc = #000 |id2-c = #000 |id2-s = 12 |id2-fc = #fff |info-c = #039 |info-s = 8 |info-fc = #fff |id1 = ID 1 |id2 = ID 2 |info = info box content }} or {{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}}
|
| |||
Mini box | ||||
{{Userbox-m |border-c = #000 |border-s = 1 |id-c = #fff |id-s = 12 |id-fc = #000 |id = ID }} or {{Userbox-m|box color|box content}} |
|
Grouping userboxes
Example 1
|
As with the Babel box, there is a box to group userboxes together. Just make a list of userboxes with {{Boxboxtop|box-name}} at the top and {{Boxboxbottom}} at the bottom. For example, 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 may 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}}.)
See also
- Wikipedia:WikiProject_Userboxes
- Wikipedia:List of userboxes
- RSS feed of user pages on the English Wikipedia ordered by the number of userbox templates on them