Difference between revisions of "Development:Availability/OS"

From PCGamingWiki, the wiki about fixing PC games
(new catch test)
(1:1 with live)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch:{{lc:{{{1}}}}}
+
<includeonly>{{#switch:{{{1}}}
  |windows = <div class="svg-icon svg-25 os-windows">[[File:Icon overlay.png|link=Windows|Windows]]</div>
+
  |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>
+
  |Windows 3.x = <div class="svg-icon svg-25 os-win3x">[[File:Icon overlay.png|link=Windows|Windows 3.x]]</div>
  |mac os = <div class="svg-icon svg-25 os-macos">[[File:Icon overlay.png|link=Mac OS|Mac OS]]</div>
+
|OS X   = <div class="svg-icon svg-25 os-osx">[[File:Icon overlay.png|link=OS X|macOS (OS X)]]</div>
  |linux   = <div class="svg-icon svg-25 os-linux">[[File:Icon overlay.png|link=Linux|Linux]]</div>
+
  |Mac OS = <div class="svg-icon svg-25 os-macos">[[File:Icon overlay.png|link=Mac OS|Mac OS]]</div>
  |dos     = <div class="svg-icon svg-25 os-dos">[[File:Icon overlay.png|link=DOS|DOS]]</div>
+
  |Linux   = <div class="svg-icon svg-25 os-linux">[[File:Icon overlay.png|link=Linux|Linux]]</div>{{#ifeq:{{#var:store}}|Steam|{{#vardefine:Proton|false}}}}
  |booter  = <div class="svg-icon svg-25 os-booter">[[File:Icon overlay.png|link=PC booter|PC booter]]</div>
+
  |DOS     = <div class="svg-icon svg-25 os-dos">[[File:Icon overlay.png|link=DOS|DOS]]</div>
}}{{#ifeq: {{NAMESPACE}} | | {{#if: {{#var:{{{1}}}}}||[[Category:Invalid template usage (availability)]]}}}}
+
  |PC booter  = <div class="svg-icon svg-25 os-booter">[[File:Icon overlay.png|link=PC booter|PC booter]]</div>
 +
}}{{#if:{{#var:Game}}|{{#if: {{#var:{{{1}}}}}{{#var:{{{1}}} cancelled}}||<div class="svg-icon svg-25 os-error">[[File:Icon overlay.png|link=|Error: OS '{{{1|}}}' not found in infobox]]</div>{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage ({{#var:section}})]]}}}}}}</includeonly>

Latest revision as of 09:42, 18 September 2021