Template:Userbox dev: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Userbox
{{Userbox
| id      = {{#switch: {{{1}}}  
| id      = {{#switch: {{{1}}}  
  | Win = [[File:Windows_Flag.png|32px|32px]]
  | Win = [[File:Windows_Flag.png|41px]]
  | Mac = [[File:Apple.png|32px|32px]]
  | Mac = [[File:Apple.png|41px]]
  | Lin = [[File:Linux_thumb.png|32px|32px]]
  | Lin = [[File:Linux_thumb.png|41px]]
  | Hurd = [[File:GNU.png|32px|32px]]
  | Hurd = [[File:GNU.png|41px]]
  | BSD = [[File:Freebsd-devil.jpg|32px|32px]]
  | BSD = [[File:Freebsd-devil.jpg|41px]]
  | #default = {{{1}}}
  | #default = {{{1}}}
}}  
}}  
Line 23: Line 23:
| info-c  = powderblue
| info-c  = powderblue
| border-c = #44AAFF
| border-c = #44AAFF
}}<noinclude>
}}<noinclude>[[Category:Userboxes]]


{{Clear}}
{{Clear}}
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 08:47, 20 June 2013

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



[edit] Template documentation

Usage[edit source]

{{Userbox dev}}

Example[edit source]

{{Userbox dev|Lin}} produces this:

Linux thumb.png This user develops using Linux.



Pre-defined Prefixes[edit source]

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

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