Difference between revisions of "Development:Availability/OS"

From PCGamingWiki, the wiki about fixing PC games
m
(1:1 with live)
 
Line 1: Line 1:
{{#switch:{{{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>
 +
|Windows 3.x = <div class="svg-icon svg-25 os-win3x">[[File:Icon overlay.png|link=Windows|Windows 3.x]]</div>
 
  |OS X    = <div class="svg-icon svg-25 os-osx">[[File:Icon overlay.png|link=OS X|macOS (OS X)]]</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>
 
  |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>{{#ifeq:{{{2|}}}|Steam|{{#vardefine:Proton|no}}}}
+
  |Linux  = <div class="svg-icon svg-25 os-linux">[[File:Icon overlay.png|link=Linux|Linux]]</div>{{#ifeq:{{#var:store}}|Steam|{{#vardefine:Proton|false}}}}
 
  |DOS    = <div class="svg-icon svg-25 os-dos">[[File:Icon overlay.png|link=DOS|DOS]]</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>
+
  |PC booter = <div class="svg-icon svg-25 os-booter">[[File:Icon overlay.png|link=PC booter|PC booter]]</div>
}}{{#ifeq: {{NAMESPACE}} | | {{#if: {{#var:{{{1}}}}}||[[Category:Invalid template usage (availability)]]}}}}
+
}}{{#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