Template:User OS/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

This is a documentation subpage for Template:User OS.
It contains usage information, categories and other content or metadata that is not part of the original template.

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:

operating system icon
Windows logo
User OS uses Windows

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.

Supported OS's

Microsoft

operating system icon
Windows 11 logo
This user uses Windows 11
operating system icon
Windows 10 logo
This user uses Windows 10
operating system icon
Windows 8 logo
This user uses Windows 8
operating system icon
Windows 7 logo
This user uses Windows 7
operating system icon
Windows Vista logo
This user uses Windows Vista
operating system icon
Windows XP logo
This user uses Windows XP
operating system icon
Windows logo
This user uses Windows

Apple

operating system icon
MacOS logo
This user uses macOS
operating system icon
Mac logo
This user uses Classic Mac OS

Mobile devices

operating system icon
Android logo
This user uses Android
operating system icon
iOS logo
This user uses iOS
operating system icon
Ubuntu Touch logo
This user uses Ubuntu Touch
operating system icon
Windows Phone logo
This user uses Windows Phone

Ubuntu™ Linux-based distributions

operating system icon
Ubuntu logo
This user uses Ubuntu
operating system icon
Kubuntu logo
This user uses Kubuntu
operating system icon
Lubuntu logo
This user uses Lubuntu
operating system icon
Xubuntu logo
This user uses Xubuntu
operating system icon
Ubuntu Budgie logo
This user uses Ubuntu Budgie
operating system icon
Ubuntu MATE logo
This user uses Ubuntu MATE
operating system icon
Ubuntu Studio logo
This user uses Ubuntu Studio
operating system icon
Ubuntu Kylin logo
This user uses Ubuntu Kylin

Other specific Linux distributions

operating system icon
Arch logo
This user uses Arch Linux
operating system icon
Alpine logo
This user uses Alpine Linux
operating system icon
CentOS logo
This user uses CentOS Stream
operating system icon
Debian logo
This user uses Debian GNU/Linux
operating system icon
Devuan logo
This user uses Devuan Linux
operating system icon
Fedora logo
This user uses Fedora Linux
operating system icon
Gentoo logo
This user uses Gentoo Linux
operating system icon
Manjaro logo
This user uses Manjaro Linux
operating system icon
Mint logo
This user uses Linux Mint
operating system icon
OpenSUSE logo
This user uses OpenSUSE Linux
operating system icon
SailfishOS logo
This user uses Sailfish OS
operating system icon
Slackware logo
This user uses Slackware Linux
operating system icon
Solus logo
This user uses Solus Linux
operating system icon
Void Linux logo
This user uses Void Linux

Unix

operating system icon
OpenSolaris logo
This user uses OpenSolaris
operating system icon
adJ logo
This user uses adJ
operating system icon
NetBSD logo
This user uses NetBSD
operating system icon
OpenBSD logo
This user uses OpenBSD
operating system icon
FreeBSD logo
This user uses FreeBSD
operating system icon
Unix logo
This user uses a Unix‑based operating system

Unspecified Linux or GNU-based

operating system icon
Linux logo
This user uses Linux
operating system icon
GNU Hurd logo
This user uses GNU Hurd
operating system icon
GNU logo
This user uses a GNU‑made operating system

Any other (or unsupported)

operating system icon
Fuchsia logo
This user uses Fuchsia
operating system icon
Computer logo
This user uses a real computer

TemplateData

This is the TemplateData for this template used by VisualEditor.
TemplateData for User OS

Displays a userbox declaring an operating system preference

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Operating system1

The name of the operating system to identify in the message

Suggested values
adJ Alpine Android Arch CentOS Computer Debian Devuan Fedora FreeBSD Fuschia Gentoo GNU GNU Guix GNU Hurd Guix illumos iOS Kubuntu Linux Lubuntu Mac Mac OS Mac OS X Macintosh macOS Manjaro Mint NetBSD OpenBSD OpenSolaris OpenSUSE OS X Sailfish OS SailfishOS Slackware Solus Ubuntu Ubuntu Budgie Ubuntu Kylin Ubuntu MATE Ubuntu Studio Ubuntu Touch Unix Void Linux Windows Windows 10 Windows 10 Mobile Windows 11 Windows 7 Windows 8 Windows Mobile Windows Phone Windows Vista Windows XP Xubuntu
Default
a Top Secret operating system
Linerequired
User identificationautonym

Custom text used to identify the user rather than the name of the transcluding page

Default
{{BASEPAGENAME}}
Example
This user
Stringoptional
Border colorborder-color id-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
Lineoptional
Border thicknessborder-width

Defines the thickness of the outer border in pixels; integer values only, do not append the unit suffix.

Default
2
Example
1
Numberoptional
Font colortext-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
Lineoptional
Text sizefont-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
Numberoptional
Icon background coloricon-color icon-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
Lineoptional
Message background colorbackground-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
Lineoptional
Line spacingline-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
Numberoptional
Page alignmentalign

Selects the page margin that the userbox will align itself against

Suggested values
none left right inline-start inline-end
Default
left
Lineoptional
Languagelang

The language in which to render the message text, specified by its IETF or BCP-37 language code

Suggested values
de en fr zh-cn
Default
en
Linesuggested
Disable categorizationnocat

Disables the addition of the page to one or more default categories when assigned a truthy Boolean value

Example
yes
Booleanoptional