Rivesteka:Userboxes

A userbox (commonly abbreviated as UBX) is a small colored box (see examples to the right) designed to appear only on a Wikipedian's user page as a communicative notice about the user, in order to directly or indirectly help Wikipedians collaborate more effectively on articles.

The first userboxes were introduced to support the Babel inter-language effort by indicating the skills of users in other languages.

Be mindful that like anything else you add to Wikipedia, userboxes you add will likely be public forever, even if you later have your user page deleted. (Like other Wikipedia pages, your user page will be regularly archived in the database dumps and may be archived by third parties such as the Internet Archive.)

Using existing userboxes
Userboxes belong on their users' pages. In some cases, it may be considered uncivil to place userboxes on other users' pages without their permission (especially in a mean-spirited way—such as accusing a user of transphobia, homophobia, racism, sexism, etc.). However, userboxes may be placed on non-mainspace talk pages by anyone. (See also Talk page.) The template can be placed after the plain userbox if text is added on a new line immediately after it.

A gallery of existing userboxes can be found at Userboxes/Galleries.

Syntax
The standard syntax for adding a userbox to your user page (also known as transclusion) is:.

Optional substitution
You may decide to substitute the template code onto your user page using the syntax. 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). This method will lead to large amounts of code on your user page.

Creating a new userbox

 * If you wish to offer an idea for a userbox, do so on the ideas page.

If you have designed a userbox that you would like to make available to others, you may wish to first display it on the New Userboxes talk page for community comment.

Namespace
The namespace you place your userbox in matters. Userboxes may only be created or displayed in the User, Project (Wikipedia), or Template namespaces.

So which prefix is best for your userbox:,  , or  ?

Since content in space represents individual editors more than the community, they are traditionally given more leeway than in other namespaces. Thus, userboxes in space may not be as directly collaborative in nature as those in  or  namespaces, which are expected to adhere more tightly with certain policies and guidelines, especially Neutral point of view and What Wikipedia is not. This should also be considered before moving a userbox from userspace to any other namespace.


 * : To host a userbox in the user namespace, simply create a subpage of your own user page or User:UBX.
 * : Userboxes in the project namespace are generally for WikiProject or task force usage. Simply create it as a subpage of the WikiProject (e.g. ).
 * : In the template namespace, userbox names must begin with " " (e.g.  or  )

If you are uncertain if your userbox is in the correct namespace, consider presenting the userbox at the New Userboxes talk page for community comment.

Userboxes and category use
A userbox can be coded to autocategorise any user pages which transclude the userbox into one or more user categories. However, do not use autocategorisation without good reason.
 * Most userboxes refer to a single isolated characteristic of the user; unless the characteristic directly relates to the user's ability or willingness to collaborate on certain areas of or topics within Wikipedia, a user category should not exist for it and the userbox should not be used for categorisation.
 * Users of the userbox can be located using the Special:WhatLinksHere tool from the userbox template. Networking between editors with similar interests or views is best done using a projectspace essay with a signup section for editors interested in networking.
 * If there is a good reason for the user category, first create the category pages and include a description that explains its purpose and scope.
 * User categories must be sub-categories of Category:Wikipedians.
 * Names and descriptions of user categories are subject to the same rules and restrictions as userbox content.

Content restrictions

 * All userboxes are governed by the civility policy.
 * Userboxes must not include incivility or personal attacks.
 * Userboxes must not be inflammatory or substantially divisive.
 * Wikipedia is not an appropriate place for:
 * Propaganda, advocacy, or recruitment of any kind (commercial, political, religious, or otherwise)
 * Opinion pieces, particularly on current affairs or politics
 * Self-promotion or advertising

Simply: If content is not appropriate on other parts of a user page, it is not appropriate within userboxes.

Caution about image use
Wikimedia Commons has a large range of icons for use within boxes. However, if you select an image from somewhere else, make certain the image has a free license. Templates (which includes userboxes and topicons) on user pages may not contain any copyrighted content not under free license; so, for example, "fair use" images are explicitly forbidden. This is interpreted strictly and without exception. See Wikipedia's fair use policy guidelines for more details.

Caution about colours
Please be mindful of the colour contrast guidelines at WP:COLOUR – low-contrast colours present accessibility barriers to people with colour-blindness or other visual disabilities.

Content examples

 * The following section is not to be considered all-inclusive. As such, other word combinations (both appropriate and inappropriate) are obviously possible.

Typical userbox content:
 * This user &lt;verb phrase&gt; &lt;noun phrase&gt;.
 * This user &lt;verb phrase&gt; &lt;noun phrase&gt; &lt;prepositional phrase&gt;.

Typical verbs:
 * verbs of action: contributes (to), drives, eats, edits, plays, uses, watches
 * verbs of comprehension: reads, speaks, understands
 * verbs of preference: enjoys, likes, loves

Additional examples, using the linking verb is:
 * This user is &lt;noun phrase&gt;.
 * This user is a fan of &lt;noun phrase&gt;.
 * This user is a member of &lt;noun phrase&gt;.
 * This user is interested in &lt;noun phrase&gt;.

Another option is to allow changing the verb phrase using a template parameter. This is especially useful in location userboxes:
 * This user {{{1|lives in}}} &lt;location&gt;.

To avoid the awkward third-person phrasing ("This user"), you can use " " (without the quotes) to insert the name of the user that includes it on their page (e.g. " " produces " uses second-person phrasing").

Potentially divisive words
Avoid verbs (often followed by the word "that") which may be used to suggest negative comparison and would thus be potentially divisive, such as:
 * believes, considers, finds, knows, prefers, thinks, wishes

Avoid negative verb phrases which can be potentially divisive, such as:
 * dislikes, despises, hates, loathes

Also avoid compound sentences which are positive and negative, such as:
 * This user likes &lt;noun phrase>, but does not like &lt;another noun phrase>.

Essentially: Express what you do like, rather than what you don't like. Express what you comprehend, rather than what you don't comprehend. Express what you do, rather than what you don't. Express who you are, rather than who you aren't.

Design: How to construct the box
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 typically made using maker-templates that have a number of parameters.

The id and info boxes can include text, links, and images using the usual Wikipedia syntax. Generally, the info box will contain a sentence with a link or two, while the id box will contain a few letters or a 43px image.

Userbox sampling templates
To make it easier to quote the generation code for a userbox in a uniform format, a template Userbox sample compact has been made available, which produces a picture of the userbox along with the code necessary to create it. To use it, just give it exactly the same parameters you would give the Userbox template. You must use subst:, or the template will not work properly. An example is shown below:

Produces:

There are not yet any similar templates available for userboxes created by the templates Userbox-r, Userbox-2 and Userbox-m.

Using the Userboxtop template
As with the Babel box, there is a box to group userboxes together. Just make a list of userboxes with at the top, followed by your list of userboxes, and Userboxbottom at the bottom. For example, the box to the right is created using the following list:

Example 1 User WikiProject Userboxes User:UBX/Rome User:Nihiltres/Userboxes/Friendly Userboxbottom

Using collapsible tables
If you wish to group your userboxes into expandable lists in the template, one way of doing this is by using collapsible tables with certain classes. Wikipedia's Mediawiki configuration attempts to make this happen through a combination of ECMAScript and CSS. This method is accessible to users with ECMAScript (jScript/JavaScript) disabled, and should work in most modern browsers (it is the method used by ).
 * Using the codes in Help:Collapsing works much better and simpler using normal wiki table markup!

Include ' ' if you want the box to start closed, omit it if you want the box to start open. You can also use multiple tables to get separate collapsible parts like in the example to the right.

You can now use to create this kind of box.

Using the Babel grouping system
The Babel grouping system can also be used, e.g., which generates:

However, it only works for user boxes with the "User" prefix, which must then be dropped for the arguments. Also, boxes that need arguments of their own (such as User:UBX/Monty Python) cannot be used with the Babel system.

Using tables
Another alternative would be to table your userboxes:

would produce the following:

To center one userbox use this coding:

which produces:

Users who make userboxes upon request

 * I will make you userbox if  you leave a request on my talk page.
 * I will make a userbox for you on request!
 * &thinsp;Buaidh&thinsp; (talk &bull; contribs) Please view some of my over 1,000 userboxes at User:Buaidh.
 * Cairo2k18 • (talk)  •  (contribs)  | Userboxes I have created - If you would like to request a userbox please leave a message on my talk page.
 * See my UserPage for weird userboxes, which I can make for you if you drop an idea on my talk page.
 * You want a userbox? I'll make you one in a week or less! Click this button if you want one! -->
 * Dr.Meepster( •  • < [ reply] >)
 * (Gallery)
 * (Gallery here)
 * (he/him | FAQ) Hey there! Happy to create some boxes for you. Leave a note at my talk page!
 * - Leave a request on my talk page
 * All you have to do is click here.
 * • User:MelecieDiancie - here's what I have done so far, specializing in userboxes with variants. leave a message in my talk page and I may make one for you. I mostly do stuff involving beautiful images from commons or interests.
 * Rdp060707 (Request here so I will know and make it for you.)
 * Request a userbox by clicking the button >
 * SportsFan007 (talk &bull; contribs)
 * Timothy Williamson - My Userbox Gallery
 * (Gallery here) - Or create your own userbox by copying the text/code from this page
 * WaddlesJP13 I make simple, clean , and f u n userboxes. You can view my gallery here. If you would like me to make you one, leave a message on my talk page. If you do not care for my style of userboxes I can make you a personalized one, just be descriptive when describing what you want it to look like. You can send a photo you like or I can find one for to put in there. I will reply to you with a few userboxes fitting your description. Have a good day.
 * I have created a few userboxes, but I feel like that I'm falling out. I would love to help you!!!
 * SportsFan007 (talk &bull; contribs)
 * Timothy Williamson - My Userbox Gallery
 * (Gallery here) - Or create your own userbox by copying the text/code from this page
 * WaddlesJP13 I make simple, clean , and f u n userboxes. You can view my gallery here. If you would like me to make you one, leave a message on my talk page. If you do not care for my style of userboxes I can make you a personalized one, just be descriptive when describing what you want it to look like. You can send a photo you like or I can find one for to put in there. I will reply to you with a few userboxes fitting your description. Have a good day.
 * I have created a few userboxes, but I feel like that I'm falling out. I would love to help you!!!