Jump to content

Template:User page/doc

From Wikipedia, the free encyclopedia

Usage

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

  • {{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, if rounded=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).

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Wikipedia logologo

Shows the Wikipedia logo on the left; assign ‘right’ to show the logo on the right.

Suggested values
yes right
Example
yes
Lineoptional
Wikimedia logologo2

Shows the Wikimedia logo on the left; assign ‘right’ to show the logo on the right.

Suggested values
yes right
Lineoptional
Ombox stylestyle

Sets the style to the default {{Ombox}} style if ‘no’.

Suggested values
no
Example
no
Stringoptional
Smaller versionshort

Makes the template smaller and centered.

Suggested values
yes
Example
yes
Stringoptional
Border thicknessborder-s

Sets thickness of the border

Numberoptional
Border colorborder-c

Sets the color of the border

Stringoptional
Background colorbackground

Sets the background color

Stringoptional
Rounded borderrounded

Makes the border rounded.

Suggested values
yes
Example
yes
Lineoptional
Rounded border's radiusborder-radius

Sets the radius of the rounded border, applicable only when 'rounded=yes' is also assigned; value must end in ‘px’.

Default
15px
Example
20px
Stringoptional
Margin stylemargin-style

Change the margin style.

Example
1em auto
Stringoptional
Prevent search engine indexingnoindex

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.

Suggested values
yes
Example
yes
Lineoptional