Template:User OS/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

Usage

{{User OS|Windows}} will give you the following result

Supported OS's

Microsoft

Apple

OS X El Capitan logo.svg User OS uses a computer running macOS.

Mobile devices

Ubuntu™ Linux-based distributions

Other specific Linux distributions

Unix

Logo256x185.png User OS uses an adJ-based computer.
NetBSD logo.svg User OS uses a NetBSD-based computer.
Daemon-phk.svg User OS uses a FreeBSD-based computer.
Unix Logo.gif User OS uses a Unix-based computer.

Unspecified Linux or GNU-based

Tux.svg User OS uses a Linux-based computer.
Official gnu.svg User OS uses a GNU-based computer.

Any other (or unsupported)

Computer.png User OS uses a 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

Name of user's operating system

Suggested values
Windows 11 Windows 10X Windows 10 Windows Phone Windows 10 Mobile Windows 8 Windows 7 Windows Vista Windows XP Windows macOS Mac OS X OS X Mac Mac OS Macintosh iOS OpenSolaris NetBSD adJ OpenBSD Unix Android Arch Alpine CentOS Debian Devuan Fedora Gentoo Manjaro Mint OpenSUSE Slackware Solus Void Linux Kubuntu Lubuntu Xubuntu Ubuntu Touch Ubuntu Budgie Ubuntu MATE Ubuntu Studio Ubuntu Kylin Ubuntu Linux FreeBSD GNU
Default
computer
Example
Kubuntu
Linerequired
Border colorborder-color id-c

Userbox border color as a three or six character hexadecimal value in the format #RGB or #RRGGBB

Default
#999
Example
#ccc
Lineoptional
Left panel backgroundicon-color

Background color behind the operating system icon given as three or six character hexadecimal value in the format #RGB or #RRGGBB

Default
#fff
Example
#fc8ea0
Lineoptional
Right panel backgroundbackground-color

Background color for the message panel on right side, given as a three or six character hexadecimal value in the format #RGB or #RRGGBB

Default
#eee
Example
#fefef0
Lineoptional
Languagelang

The language in which to render the message text

Suggested values
de en fr zh-hans
Default
en
Example
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

See also