Difference between revisions of "Template:OS"
From PCGamingWiki, the wiki about fixing PC games
m |
(fixed vertical alignment, added macOS to OS X) |
||
Line 1: | Line 1: | ||
{{#switch:{{lc:{{{1}}}}} | {{#switch:{{lc:{{{1}}}}} | ||
− | |windows = <div class="svg-icon svg-25 os-windows"> | + | |windows = <div class="svg-icon svg-25 os-windows">[[File:Icon overlay.png|link={{{link|Windows}}}|Windows]]</div> |
− | |os x = <div class="svg-icon svg-25 os-osx"> | + | |os x = <div class="svg-icon svg-25 os-osx">[[File:Icon overlay.png|link={{{link|OS X}}}|macOS (OS X)]]</div> |
− | |mac os = [[File:Generic Mac OS icon.svg | + | |mac os = <div class="svg-icon svg-25">[[File:Generic Mac OS icon.svg|25px|link={{{link|Mac OS}}}|Mac OS]]</div> |
− | |linux = <div class="svg-icon svg-25 os-linux"> | + | |linux = <div class="svg-icon svg-25 os-linux">[[File:Icon overlay.png|link={{{link|Linux}}}|Linux]]</div> |
− | |dos = [[File:Generic DOS icon.svg | + | |dos = <div class="svg-icon svg-25">[[File:Generic DOS icon.svg|25px|link={{{link|DOS}}}|DOS]]</div> |
− | |android = [[File:Android logo.svg | + | |android = <div class="svg-icon svg-25">[[File:Android logo.svg|25px|link={{{link|Wikipedia:Android_(operating_system)}}}|Android]]</div> |
|#Default= <includeonly>[[Category:Invalid template usage]]</includeonly> | |#Default= <includeonly>[[Category:Invalid template usage]]</includeonly> | ||
}}<noinclude>{{documentation}}</noinclude> | }}<noinclude>{{documentation}}</noinclude> |
Revision as of 23:14, 6 July 2017
Documentation for the above template (sometimes hidden from view).
- Description
OS icons
- Arguments
1
- OS.
- Valid values
Pages not using one of the above values will be put into the invalid template usage category.
- Syntax
{{OS|1}}
- See also
- {{DLC}}
Visit Template:OS/Documentation to edit this text. (How does this work?)