Template:KV DXLevelChoice: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (slight tidying-up of formatting.)
(Add new formatting version of this template.)
Line 1: Line 1:
{{lang|Template:KV DXLevelChoice}}<onlyinclude>{{minititle|DXLevelChoice}}
{{lang|{{FULLPAGENAME}}}}[[Category:Keyvalue Templates|DXLevelChoice]]
 
{{KV DXLevelChoice}}
 
== Tests ==
{{KV|start}}
{{KV DXLevelChoice|new=1}}
{{KV|end}}
 
<includeonly><onlyinclude>{{#if:{{{new|}}}
|
{{KV|sectiontitle=DXLevelChoice}}
{{KV|new=1|mindxlevel|choices|Minimum DX Level|The entity will not exist if the engine is running outside the given range of [[DirectX Versions]].
: {{warning|If these are used, the object may break when the user switches their DirectX settings.}}|removed={{l4d}}}}
{{KV|new=1|maxdxlevel|choices|Maximum DX Level|
:*Default (no bounding)
:*[[DirectX_Versions#DirectX_7|DX7]]
:*[[DirectX_Versions#DirectX_8.0|DX8]]
:*[[DirectX_Versions#DirectX_8.1|DX8.1]]
:*[[DirectX_Versions#DirectX_9_.28Shader_Model_2.29|DX9 SM2]]
:*[[DirectX_Versions#DX9_Shader_Model_3|DX9 SM3]]
|removed={{l4d}}
}}
|}}<!--
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
==================================================================
DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED:
==================================================================
 
-->{{#if:{{{new|}}}
|
| {{minititle|DXLevelChoice}}
{{KV|Minimum DX Level|intn=mindxlevel|choices|The entity will not exist if the engine is running outside the given range of [[DirectX Versions]].
{{KV|Minimum DX Level|intn=mindxlevel|choices|The entity will not exist if the engine is running outside the given range of [[DirectX Versions]].
: {{warning|If these are used, the object may break when the user switches their DirectX settings.}}|removed={{l4d}}}}
: {{warning|If these are used, the object may break when the user switches their DirectX settings.}}|removed={{l4d}}}}
Line 9: Line 58:
:*[[DirectX_Versions#DirectX_9_.28Shader_Model_2.29|DX9 SM2]]
:*[[DirectX_Versions#DirectX_9_.28Shader_Model_2.29|DX9 SM2]]
:*[[DirectX_Versions#DX9_Shader_Model_3|DX9 SM3]]
:*[[DirectX_Versions#DX9_Shader_Model_3|DX9 SM3]]
|removed={{l4d}}}}</onlyinclude>[[Category:Keyvalue Templates|DXLevelChoice]]
|removed={{l4d}}
}}
}}</onlyinclude></includeonly>

Revision as of 21:33, 9 December 2023


DXLevelChoice:

Minimum DX Level (mindxlevel) <choices> (removed since Left 4 Dead)
The entity will not exist if the engine is running outside the given range of DirectX Versions.
Warning.pngWarning:If these are used, the object may break when the user switches their DirectX settings.
Maximum DX Level (maxdxlevel) <choices> (removed since Left 4 Dead)

Tests

start ([todo internal name (i)])
{{{1}}} ([todo internal name (i)])
mindxlevel ([todo internal name (i)]) <choices> (removed since Left 4 Dead)
Minimum DX Level
maxdxlevel ([todo internal name (i)]) <choices> (removed since Left 4 Dead)
Maximum DX Level
end ([todo internal name (i)])