Difference between revisions of "Template:Availability/OS"

From PCGamingWiki, the wiki about fixing PC games
(fixed Steam Proton check)
m (added exception for {{#var:{{{1}}} cancelled}})
 
Line 7: Line 7:
 
  |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>
 
  |PC 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>
}}{{#if:{{#var:Game}}|{{#if: {{#var:{{{1}}}}}||<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>
+
}}{{#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 01:28, 29 March 2020