Difference between revisions of "Template:API/switch Direct3D"

From PCGamingWiki, the wiki about fixing PC games
(added vardefines for Cargo)
(removed Semantic MediaWiki property tagging (migrated to Cargo))
 
Line 3: Line 3:
 
|1.0=<div title="Error: '{{{1|}}}' not an acceptable value. DirectX 1.0 does not include Direct3D at all." class="svg-icon svg-16 os-error"></div> [[Category:Invalid template usage (infobox game)]]
 
|1.0=<div title="Error: '{{{1|}}}' not an acceptable value. DirectX 1.0 does not include Direct3D at all." class="svg-icon svg-16 os-error"></div> [[Category:Invalid template usage (infobox game)]]
 
|2.0
 
|2.0
|2=[[Direct3D versions::2]]{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},2|2}}}}
+
|2=2{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},2|2}}}}
 
|3.0
 
|3.0
|3=[[Direct3D versions::3]]{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},3|3}}}}
+
|3=3{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},3|3}}}}
 
|4.0
 
|4.0
 
|4=<div title="Error: '{{{1|}}}' not an acceptable value as this version was cancelled and its features rolled into Direct3D 5." class="svg-icon svg-16 os-error"></div> [[Category:Invalid template usage (infobox game)]]
 
|4=<div title="Error: '{{{1|}}}' not an acceptable value as this version was cancelled and its features rolled into Direct3D 5." class="svg-icon svg-16 os-error"></div> [[Category:Invalid template usage (infobox game)]]
 
|5.0
 
|5.0
|5=[[Direct3D versions::5]]{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},5|5}}}}
+
|5=5{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},5|5}}}}
 
|6.0
 
|6.0
|6=[[Direct3D versions::6]]{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},6|6}}}}
+
|6=6{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},6|6}}}}
 
|7.0
 
|7.0
|7=[[Direct3D versions::7]]{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},7|7}}}}
+
|7=7{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},7|7}}}}
 
|8.0
 
|8.0
|8=[[Direct3D versions::8]]{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},8|8}}}}
+
|8=8{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},8|8}}}}
 
|9.0
 
|9.0
|9=[[Direct3D versions::9]]{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},9|9}}}}
+
|9=9{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},9|9}}}}
 
|10.0
 
|10.0
|10=[[Direct3D versions::10]]{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},10|10}}}}
+
|10=10{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},10|10}}}}
|10.1=[[Direct3D versions::10.1]]{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},10.1|10.1}}}}
+
|10.1=10.1{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},10.1|10.1}}}}
 
|11.0
 
|11.0
|11=[[Direct3D versions::11]]{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},11|11}}}}
+
|11=11{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},11|11}}}}
|11.1=[[Direct3D versions::11.1]]{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},11.1|11.1}}}}
+
|11.1=11.1{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},11.1|11.1}}}}
|11.2=[[Direct3D versions::11.2]]{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},11.2|11.2}}}}
+
|11.2=11.2{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},11.2|11.2}}}}
|11.3=[[Direct3D versions::11.3]]{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},11.3|11.3}}}}
+
|11.3=11.3{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},11.3|11.3}}}}
|11.4=[[Direct3D versions::11.4]]{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},11.4|11.4}}}}
+
|11.4=11.4{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},11.4|11.4}}}}
 
|12.0
 
|12.0
|12=[[Direct3D versions::12]]{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},12|12}}}}
+
|12=12{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},12|12}}}}
 
|6.1
 
|6.1
 
|7.0a
 
|7.0a
 
|8.1
 
|8.1
 
|9.0b
 
|9.0b
|9.0c=[[Direct3D versions::{{{1|}}}]]{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},{{{1|}}}|{{{1|}}}}}}}
+
|9.0c={{{1|}}}{{#vardefine:Direct3D versions|{{#if:{{#var:Direct3D versions}}|{{#var:Direct3D versions}},{{{1|}}}|{{{1|}}}}}}}
 
|#Default = {{{1|}}}{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (API)]] }}
 
|#Default = {{{1|}}}{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (API)]] }}
 
}}</includeonly><noinclude>{{documentation}}</noinclude>
 
}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 02:15, 3 October 2021

Documentation for the above template (sometimes hidden from view).