In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Template:Userbox dev: Difference between revisions

From WiiBrew
Jump to navigation Jump to search
Added Gnu Hurd support
HomerJC (talk | contribs)
No edit summary
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Userbox
{{Userbox
| id      = {{{1}}}  
| id      = {{#switch: {{{1}}}
| id-c    = steelblue
| Win = [[File:Windows_Flag.png|32px|32px]]
| Mac = [[File:Apple.png|32px|32px]]
| Lin = [[File:Linux_thumb.png|32px|32px]]
| Hurd = [[File:GNU.png|32px|32px]]
| Scr = [[File:Scratch.png|32px|32px]]
| #default = {{{1}}}
}}  
| id-c    = {{#switch: {{{1}}}
| Hurd = #FFFFFF
| #default = steelblue
}}
| id-s    = 15
| id-s    = 15
| info    = This user develops using '''{{#switch: {{{1}}}  
| info    = This user develops using '''{{#switch: {{{1}}}  
Line 8: Line 18:
  | Lin = Linux
  | Lin = Linux
  | Hurd = Gnu Hurd
  | Hurd = Gnu Hurd
  | #default = ''OS definition is missing or parameter {{{1}}} is incorrect.''
| Scr = Scratch
}}'''
  | #default = ''OS definition is missing or parameter '''''{{{1}}}''''' is incorrect.''
}}'''.
| info-c  = powderblue
| info-c  = powderblue
| border-c = #44AAFF
| border-c = #44AAFF

Revision as of 04:15, 28 December 2015

{{{1}}} This user develops using OS definition is missing or parameter {{{1}}} is incorrect..



[edit] [purge] Template documentation

Usage

{{Userbox dev}}

Example

{{Userbox dev|Lin}} produces this:

This user develops using Linux.



Pre-defined Prefixes

The following operating system prefixes are recognized by this template:
NOTE: These prefixes are case sensitive.

Prefix Meaning Output
Lin Linux
This user develops using Linux.
Win Windows
This user develops using Windows.
Mac Apple Macintosh (OSX)
This user develops using Mac OS X.
Hurd GNU Hurd
This user develops using Gnu Hurd.
N/A Not applicable or no definition
{{{1}}} This user develops using OS definition is missing or parameter {{{1}}} is incorrect..