Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

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

From PCGamingWiki, the wiki about fixing PC games
(corrected decimal handling)
m (added error handling for 4.0)
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<includeonly>{{#switch: {{lc:{{{1|}}}}}
 
<includeonly>{{#switch: {{lc:{{{1|}}}}}
 +
|1.0
 +
|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=[[Direct3D versions::2]]
 +
|3.0
 +
|3=[[Direct3D versions::3]]
 +
|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)]]
 
|5.0
 
|5.0
 
|5=[[Direct3D versions::5]]
 
|5=[[Direct3D versions::5]]
Line 12: Line 20:
 
|10.0
 
|10.0
 
|10=[[Direct3D versions::10]]
 
|10=[[Direct3D versions::10]]
 +
|10.1=[[Direct3D versions::10.1]]
 
|11.0
 
|11.0
 
|11=[[Direct3D versions::11]]
 
|11=[[Direct3D versions::11]]
 +
|11.1=[[Direct3D versions::11.1]]
 +
|11.2=[[Direct3D versions::11.2]]
 +
|11.3=[[Direct3D versions::11.3]]
 +
|11.4=[[Direct3D versions::11.4]]
 
|12.0
 
|12.0
 
|12=[[Direct3D versions::12]]
 
|12=[[Direct3D versions::12]]
Line 20: Line 33:
 
|8.1
 
|8.1
 
|9.0b
 
|9.0b
|9.0c
+
|9.0c=[[Direct3D versions::{{{1|}}}]]
|10.1=[[Direct3D versions::{{{1|}}}]]
+
|#Default = {{{1|}}}{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (API)]] }}
|unknown=<div title="Unknown" class="svg-icon svg-25 tickcross-unknown"></div>
 
|#Default = {{{1|}}}[[Category:Invalid template usage (API)]]
 
 
}}</includeonly><noinclude>{{documentation}}</noinclude>
 
}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 22:17, 10 July 2020

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