Template:Userbox os/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{Doc/subpage}} Userbox used for specifying a location for various purposes (e.g.: specifying your birthplace, current location of residence, e.t.c.) == Copy and Paste == {{C...")
 
mNo edit summary
Line 17: Line 17:
| String parameter for specifying the operating system that you use.
| String parameter for specifying the operating system that you use.
| {{CodeBlock|margin=5px|<nowiki>| type = Windows</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| type = Windows</nowiki>}}
| {{Userbox os|type=Windows}
| {{Userbox os|type=Windows|nocat=1}}
|}
|}


== Available Types ==
== Available Types ==
{{CodeBlock|<nowiki>{{Userbox os|type=Windows}} {{Userbox os|type=macos}} {{Userbox os|type=Linux}} {{Userbox os|type=openSUSE}}</nowiki>}}
{{CodeBlock|<nowiki>{{Userbox os|type=Windows}} {{Userbox os|type=macos}} {{Userbox os|type=Linux}} {{Userbox os|type=openSUSE}}</nowiki>}}
{{Capsule|{{Userbox os|type=Windows}} {{Userbox os|type=macos}} {{Userbox os|type=Linux}} {{Userbox os|type=openSUSE}}}}
{{Capsule|{{Userbox os|type=Windows}} {{Userbox os|type=macos}} {{Userbox os|type=Linux|nocat=1}} {{Userbox os|type=openSUSE|nocat=1}}}}
<includeonly>[[Category:Templates]][[Category:Userbox Templates]]</includeonly>
<includeonly>[[Category:Templates]][[Category:Userbox Templates]]</includeonly>

Revision as of 14:28, 24 April 2023

Edit-copy.png
This is a documentation subpage for Template:Userbox os.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Userbox used for specifying a location for various purposes (e.g.: specifying your birthplace, current location of residence, e.t.c.)

Copy and Paste

{{Userbox os | type = }}

Parameters and Examples

Parameter Description Example Preview
{{{type}}} String parameter for specifying the operating system that you use.
| type = Windows
Windows-11-Icon.png

This user contributes through Windows.

Available Types

{{Userbox os|type=Windows}} {{Userbox os|type=macos}} {{Userbox os|type=Linux}} {{Userbox os|type=openSUSE}}
Windows-11-Icon.png

This user contributes through Windows.

Logo-linux.png

This user contributes through Linux.

Logo-openSUSE.png

This user contributes through openSUSE.