Difference between revisions of "Template:API/switch Direct3D"
From PCGamingWiki, the wiki about fixing PC games
m (removed category) |
m (added error handling for 4.0) |
||
(3 intermediate revisions by 2 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.0 | ||
|2=[[Direct3D versions::2]] | |2=[[Direct3D versions::2]] | ||
Line 5: | Line 7: | ||
|3=[[Direct3D versions::3]] | |3=[[Direct3D versions::3]] | ||
|4.0 | |4.0 | ||
− | |4=[[ | + | |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 32: | Line 34: | ||
|9.0b | |9.0b | ||
|9.0c=[[Direct3D versions::{{{1|}}}]] | |9.0c=[[Direct3D versions::{{{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> |
Revision as of 22:17, 10 July 2020
Documentation for the above template (sometimes hidden from view).
Visit Template:API/switch Direct3D/Documentation to edit this text. (How does this work?)