Difference between revisions of "Template:Availability/OS"
From PCGamingWiki, the wiki about fixing PC games
(Created page with "{{#switch:{{{1}}} |Windows = <div class="svg-icon svg-25 os-windows">link=Windows|Windows</div> |OS X = <div class="svg-icon svg-25 os-osx">Fi...") |
(changed to case-insensitive checks for consistency) |
||
Line 1: | Line 1: | ||
− | {{#switch:{{{1}}} | + | {{#switch:{{lc:{{{1}}}}} |
− | | | + | |windows = <div class="svg-icon svg-25 os-windows">[[File:Icon overlay.png|link=Windows|Windows]]</div> |
− | | | + | |os x = <div class="svg-icon svg-25 os-osx">[[File:Icon overlay.png|link=OS X|macOS (OS X)]]</div> |
− | | | + | |mac os = <div class="svg-icon svg-25 os-macos">[[File:Icon overlay.png|link=Mac OS|Mac OS]]</div> |
− | | | + | |linux = <div class="svg-icon svg-25 os-linux">[[File:Icon overlay.png|link=Linux|Linux]]</div> |
− | | | + | |dos = <div class="svg-icon svg-25 os-dos">[[File:Icon overlay.png|link=DOS|DOS]]</div> |
− | | | + | |booter = <div class="svg-icon svg-25 os-booter">[[File:Icon overlay.png|link=PC booter|PC booter]]</div> |
− | }}{{#ifeq: {{NAMESPACE}} | | {{#switch:{{{1}}} | + | }}{{#ifeq: {{NAMESPACE}} | | {{#switch:{{lc:{{{1}}}}} |
− | |Windows | + | |windows = [[Category:Windows]] |
− | |OS X | + | |os x = [[Category:OS X]] |
− | |Mac OS | + | |mac os = [[Category:Mac OS]] |
− | |Linux | + | |linux = [[Category:Linux]] |
− | | | + | |dos = [[Category:DOS]] |
− | | | + | |booter = [[Category:PC booter]] |
|#Default= [[Category:Invalid template usage (availability)]] | |#Default= [[Category:Invalid template usage (availability)]] | ||
}}}} | }}}} |