This userbox template, {{User OS}}, provides a fast and convenient way for users to visibly identify as a user/proponent/supporter/die-hard of a particular operating system on their user page, if they wish to do so; it is intended solely for purposes of self-expression and not marketing, and should only be used on pages within the User: namespace.
Usage
This template performs a simple function and is most commonly invoked with only a single, unnamed parameter consisting of a valid keyword for the operating system to note in the message. For example:
Adding this wikitext to a page, {{User OS|Windows}}, will add the userbox shown at right to that location in the page:
Numerous other named parameters may also be included to alter the userbox's appearance or behavior as needed. The valid operating system keywords and those additional parameters are described along with instructions on how to make use of them in the § TemplateData section below.
Custom text used to identify the user rather than the name of the transcluding page
Default
{{BASEPAGENAME}}
Example
This user
String
optional
Border color
border-colorid-c
Userbox outer border color as any valid CSS3 color value
Default
var(--border-color-subtle), which defaults to #c8ccd1 (light mode) or #54595d (dark mode)
Example
#ccc
Line
optional
Border thickness
border-width
Defines the thickness of the outer border in pixels; integer values only, do not append the unit suffix.
Default
2
Example
1
Number
optional
Font color
text-color
Defines the font color of the message text inside the userbox, as any valid CSS3 color value
Default
var(--color-notice), which defaults to #202122 (light mode) or #f8f9fa (dark mode)
Example
indigo
Line
optional
Text size
font-size
Defines the size of the text shown inside the userbox using the typographical unit 'points'; numeric values only, do not include the unit suffix.
Default
10
Example
11
Number
optional
Icon background color
icon-coloricon-bg
Background color behind the operating system icon given as any valid CSS3 color value
Default
The value of the 'background-color' parameter, if set, or var(--background-color-notice-subtle), which defaults to #eaecf0 (light mode) or #27292d (dark mode)
Example
#fc8ea0
Line
optional
Message background color
background-color
Background color for the textual message in right side of the userbox, given as any valid CSS3 color value
Default
var(--background-color-notice-subtle), which defaults to #eaecf0 (light mode) or #27292d (dark mode)
Example
#fefef0
Line
optional
Line spacing
line-height
Defines the spacing between lines of text to the right of the logo image as a ratio of the height of a capital M, do not include a unit suffix
Default
normal
Example
1.6
Number
optional
Page alignment
align
Selects the page margin that the userbox will align itself against
Suggested values
noneleftrightinline-startinline-end
Default
left
Line
optional
Language
lang
The language in which to render the message text, specified by its IETF or BCP-37 language code
Suggested values
deenfrzh-cn
Default
en
Line
suggested
Disable categorization
nocat
Disables the addition of the page to one or more default categories when assigned a truthy Boolean value