Commons:Boîtes utilisateur
Une userbox (généralement abrégée en UBX) est une petite boîte colorée conçue pour apparaître sur la page utilisateur d'un utilisateur de Wikimedia Commons comme un avis concernant l'utilisateur. Les boîtes utilisateur (userbox) comprennent généralement un ou deux petits graphiques et quelques courtes lignes de texte. Parfois, ils incluent également un balisage wiki qui place l'utilisateur dans une catégorie. Les boîtes utilisateur sont généralement créées sous forme de modèles et intégrées sur les pages utilisateur, bien que leur balisage puisse être remplacé directement sur les pages utilisateur. Les boîtes utilisateur ne doivent pas être utilisées dans les galeries ou sur les pages d'images. Elles sont destinées à l'usage des utilisateurs sur leurs propres pages utilisateur.
Les premières boîtes utilisateur ont été instaurées pour soutenir l'effort inter-langues Babel, afin d'indiquer les compétences des utilisateurs dans d'autres langues.
Utiliser les boîtes utilisateur
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}}
.
Créer des boîtes utilisateur
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
".
Emplacement
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.
Catégories
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 - catégorie principale ; contient toutes les boîtes utilisateur qui ne rentrent pas dans une sous-catégorie.
- 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 - les boîtes utilisateur qui renseignent sur la localisation de l'utilisateur. ({{User Germany}}, {{User Ukraine}})
- UTC box templates - les boîtes utilisateur qui renseignent sur le fuseau horaire de l'utilisateur. ({{User UTC}}, {{User UTC+5}})
- Babel box templates - Babel box meta-templates used in creation of specific language boxes.
Voir aussi
- 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.
Boîtes utilisateur
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}} |
La catégorie dépend du paramètre 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}} |
|