Wikipedia:Userboxes/Using existing
Using existing userboxes
Userboxes are for the use of users on their own user 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.)
Syntax
The standard syntax for adding a userbox to your user page (also known as transclusion) is: {{user name_of_box}}
.
Optional substitution
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. This method will lead to large amounts of code on your user page.
Displaying a random userbox
To 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: {{Ubxrand|User en|User fr}}
results in:
|