Template:User page/sandbox
This is a Wikipedia user page. This is not an encyclopedia article or the talk page for an encyclopedia article. If you find this page on any site other than Wikipedia, you are viewing a mirror site. Be aware that the page may be outdated and that the user in whose space this page is located may have no personal affiliation with any site other than Wikipedia. The original page is located at https://en.wikipedia.org/wiki/Template:User_page/sandbox. |
This is the template sandbox page for Template:User page (diff). See also the companion subpage for test cases. |
This template is used on approximately 45,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template should be substituted to ensure its display on mirror sites that may not utilize this template. |
This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
Usage
[edit]This template is specifically intended for usage on pages within the user space, aiming to distinguish them from Wikipedia pages that contain encyclopedic content or related content (such as encyclopedic talk pages). It is recommended that it be substituted via {{subst:user page}}
to ensure its display on mirror sites that may not utilize this template.
Parameters
[edit]{{User page|logo=yes|noindex=yes}}
|logo=yes
– shows the Wikipedia logo on the left (default hidden)|logo2=yes
- shows the Wikimedia logo on the right (default hidden)- (
|logo=right
also shows the Wikimedia logo on the right –|logo2=
was added so that both logos could be made to appear)
- (
|noindex=yes
– when used on pages other than in User: namespace, prevents external search engines from indexing the page (default no). This parameter is ineffective in User: namespace, where search engines have been prevented from indexing userspace on enwiki since November 2015.|rounded=yes
- makes the container's border rounded (default no)|border-radius=15px
- changes the border radius, ifrounded=yes
is also set (default 15px)|border-s=1
- the size of the border (default 1)|border-c=#a66200
- the color of the border (default #a66200)|background=#fef6e7
- changes the background color (default #fef6e7)|style=no
- sets the style to the default {{Ombox}} style|short=yes
- centers and makes the template smaller
This template is specifically intended for usage on pages within the user space, aiming to distinguish them from Wikipedia pages that contain encyclopedic content or related content (such as encyclopedic talk pages).
Parameter | Description | Type | Status | |
---|---|---|---|---|
Wikipedia logo | logo | Shows the Wikipedia logo on the left; assign ‘right’ to show the logo on the right.
| Line | optional |
Wikimedia logo | logo2 | Shows the Wikimedia logo on the left; assign ‘right’ to show the logo on the right.
| Line | optional |
Ombox style | style | Sets the style to the default {{Ombox}} style if ‘no’.
| String | optional |
Smaller version | short | Makes the template smaller and centered.
| String | optional |
Border thickness | border-s | Sets thickness of the border | Number | optional |
Border color | border-c | Sets the color of the border | String | optional |
Background color | background | Sets the background color | String | optional |
Rounded border | rounded | Makes the border rounded.
| Line | optional |
Rounded border's radius | border-radius | Sets the radius of the rounded border, applicable only when 'rounded=yes' is also assigned; value must end in ‘px’.
| String | optional |
Margin style | margin-style | Change the margin style.
| String | optional |
Prevent search engine indexing | noindex | In namespaces outside the userspace, applying this prevents external search engines from indexing the page. However, its use in the userspace is inconsequential, as the indexing of userspace on enwiki has been disabled since 2015.
| Line | optional |
This is a Wikipedia user page. This is not an encyclopedia article or the talk page for an encyclopedia article. If you find this page on any site other than Wikipedia, you are viewing a mirror site. Be aware that the page may be outdated and that the user in whose space this page is located may have no personal affiliation with any site other than Wikipedia. The original page is located at https://en.wikipedia.org/wiki/Template:User_page/sandbox. |