| advertise add site services publishers database health videos | ![]() | about toolbar stats live show health store more stuff JOIN/LOGIN |
Keeping Wikipedia Spick and Span fightaging.org | Doctor Eugene Lipov, M.D. - Biography and Wikipedia Entry eugenelipovmd.org | Tubal Reversal Information on Wikipedia tubal-reversal.net |
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 even indirectly) help Wikipedians collaborate more effectively on articles. The first userboxes were introduced to support the Babel inter-language effort, to indicate users' skills in other languages.
[edit] Using existing userboxesMain article: Wikipedia:Userboxes/Using existing Userboxes belong on their user's pages. It may be considered uncivil to place userboxes on other users' pages without their permission. However, userboxes may be placed on non-mainspace talk/discussion pages by anyone. (See also Wikipedia:Talk page.) [edit] SyntaxThe standard syntax for adding a userbox to your user page (also known as transclusion) is: [edit] Optional substitutionYou may decide to substitute the template code onto your user page using the syntax [edit] Displaying a random userboxTo limit the number of userboxes on display, you may consider using Template:Ubxdisplay/random (or Ubxrand for short) to display a random userbox from a given selection. See the template for full documentation. Example:
[edit] Creating a new userboxMain article: Wikipedia:Userboxes/Design and construct
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. [edit] Which namespace?See also: Wikipedia:Namespace Userboxes may only be created or displayed in the User, Project, or Template namespaces. So should your userbox be prefixed with As content in User: space is traditionally given more leeway than in other namespaces, userboxes in User: space may not be as directly collaborative in nature as those in Template: or Wikipedia: namespaces, which are expected to adhere more tightly with policies and guidelines, such as neutral point of view and what Wikipedia is. (This should also be considered before moving a userbox from userspace to any other namespace.) If in doubt, consider presenting the userbox at New Userboxes talk page for community comment.
[edit] Caution about image useThe 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 license is free. Templates (which includes userboxes) or 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. [edit] Caution about user categoriesMain article: Wikipedia:User categories
[edit] Content restrictions
Simply: If content is not appropriate on a user page, it is not appropriate within userboxes. [edit] Content examples
Typical userbox content:
Typical verbs:
Additional examples, using the linking verb is:
Avoid verbs (often followed by the word "that") which may be used to suggest negative comparison and would thus be potentially divisive, such as:
Avoid negative verb phrases which can be potentially divisive, such as:
Also avoid compound sentences which are positive and negative, such as:
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. [edit] Constructing a userbox[edit] How to construct the boxThere 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 id box will contain a few letters or a 43px image, while the info box will contain a sentence with a link or two. [edit] Userbox types
[edit] Userbox sampling templatesTo 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. [edit] Grouping userboxesMain article: Wikipedia:Userboxes/Grouping [edit] Using the Userboxtop template
As with the Babel box, there is a box to group userboxes together. Just make a list of userboxes with {{Userboxtop|box-name}} 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: {{Userboxtop|Example 1}} {{Wikipedia:WikiProject Userboxes/Userbox}} {{User:UBX/Rome}} {{User:Nihiltres/Userboxes/Friendly}} {{Userboxbottom}} [edit] Using collapsible tables
If you wish to group your userboxes into expandable lists in the {{Userboxtop}} 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 {{Navbox}}).
{{Userboxtop|Example 2}} <table class="collapsible autocollapse" cellspacing="0" style="width:100%;background:transparent;color:inherit;;"> <tr><th class="navbox-title">Caption</th></tr> <tr><td> Place your userboxes here... </td></tr> </table> {{Userboxbottom}} Include 'autocollapse' if you want the box to start closed, omit it if you want the box to start open. [edit]
If you wish to group your userboxes into expandable lists in the {{Userboxtop}} template, one way of doing this is by using divs with certain classes. Wikipedia's Mediawiki configuration attempts to make this happen through a combination of ECMAScript and CSS. Right now, this method should not be used because it only works properly in Internet Explorer (although works to a degree in other browsers), and makes the boxes inaccessible to users with ECMAScript (jScript/JavaScript) disabled! If you would like to use this method anyway, use the following syntax: {{Userboxtop|Example 3}} <div class="NavFrame" style="padding:0;border-style:none;"> <div class="NavHead" style="style">Caption</div> <div class="NavContent" style="display:none;"> Place your userboxes here... </div> </div> {{Userboxbottom}} A recomended value for 'style' is 'background:#EDF1F1;text-align:left;text-style:normal' (Of course you can put more than one of these collapsible sections inside a box, see Example 3 at right.) [edit] Using the Babel grouping systemSimilar results can be achieved with either of the following:
{{Babel-X|Mac Pro|Rome/2|:Nihiltres/Userboxes/Friendly}}
{{UBX-X|Mac Pro|Rome/2|:Nihiltres/Userboxes/Friendly}} The older Babel grouping system can also be used, e.g. {{Babel-3|sv|no-4|rome}}. 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. [edit] Using tablesAnother alternative would be to table your userboxes: {| style="margin: 1em auto 1em auto" |+ example 6 |- | {{User:AusTerrapin/Box:Jazz Fusion}} {{User_USAFo5}} |- | {{user helper}} {{User:The Raven's Apprentice/Userboxes/User Warm}} |} would produce the following:
To center one userbox use this coding: {| style="margin: 1em auto 1em auto" |+ example 7 |- | {{User:Saoshyant/Userboxes/User oops}} |} which produces:
[edit] Combining tables and the boxboxtop templateYet another method of grouping boxes is done by combining Examples 2 and 4 together. Example 2 breaks DHTML interoperability. It works as intended on Internet Explorer; however, it does not work well with Firefox, Google Chrome or Opera when additional hide/show sections are added. This solution provides proper rendering on all three web browsers and scales much better when it comes to the number of groups you want to have. The table property can be adjusted by adding width="100%" (adjusting its percentage or by using a pixel width multiple of the userbox) to add more than one column. Another property align="right" can be changed to place the userboxes left, right, or center of the page.
{|align="right" width="160px" style="background-color: transparent;" [edit] GalleryMain article: Wikipedia:Userboxes/Gallery [edit] Languages
[edit] Interests and tastes
[edit] Life, status, and situation
[edit]
[edit] Others/Misc.
[edit] See also[edit] External links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ↑ top of page ↑ | about thumbshots |