Template:Def: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
<onlyinclude><includeonly>;{{#switch:{{{state|}}}|deprecated=<del>}}{{#if:{{{num|}}}|[ <code style="padding:0">{{{num}}}</code> ] &#58;&nbsp;|}}{{#if:{{{code|}}}|<code style="padding:0">|}}{{{1}}}</code>{{#if:{{{intn|}}}|&nbsp;<code style="padding:0">({{Hover info|{{#switch:{{{suf|}}}|#default=The internal name for this keyvalue|:ru=Внутреннее имя ключевого значения}}|{{{intn}}}}})</code>|}}{{#if:{{{2|}}}|&ensp;–&ensp;{{#if:{{{code|}}}|<code style="padding:0">|}}{{{2}}}</code>{{#if:{{{intn2|}}}|&nbsp;<code style="padding:0">({{Hover info|{{#switch:{{{suf|}}}|#default=The internal name for this keyvalue|:ru=Внутреннее имя ключевого значения}}|{{{intn2}}}}})</code>|}}|}}{{#if:{{{type|}}}|&ensp;<code style="padding:0"><[[{{{typel|{{{type}}}}}}{{{suf|}}}|{{{type}}}]]></code>|}}</del>{{#switch:{{{state|}}}|deprecated=&ensp;{{obs|4|suf={{{suf|}}}}}|nofgd=&ensp;[[Non-FGD features{{{suf|}}}|!FGD]]|dx8=&ensp;{{dx8}}|dx9=&ensp;{{dx9}}}} {{{add|}}}
<onlyinclude><includeonly>;{{#switch:{{{state|}}}|deprecated=<del>}}{{#if:{{{num|}}}|[ <code style="padding:0">{{{num}}}</code> ] &#58;&nbsp;|}}{{#if:{{{code|}}}|<code style="padding:0">|}}{{{1}}}</code>{{#if:{{{intn|}}}|&nbsp;<code style="padding:0">({{Hover info|{{#switch:{{{suf|}}}|#default=The internal name for this keyvalue|:ru=Внутреннее имя ключевого значения}}|{{{intn}}}}})</code>|}}{{#if:{{{2|}}}|&ensp;–&ensp;{{#if:{{{code|}}}|<code style="padding:0">|}}{{{2}}}</code>{{#if:{{{intn2|}}}|&nbsp;<code style="padding:0">({{Hover info|{{#switch:{{{suf|}}}|#default=The internal name for this keyvalue|:ru=Внутреннее имя ключевого значения}}|{{{intn2}}}}})</code>|}}|}}{{#if:{{{type|}}}|&ensp;<code style="padding:0"><[[{{{typel|{{{type}}}}}}{{{suf|}}}|{{{type}}}]]></code>|}}</del>{{#switch:{{{state|}}}|deprecated=&ensp;{{obs|4|suf={{{suf|}}}}}|nofgd=&ensp;[[Non-FGD features{{{suf|}}}|!FGD]]|dx8=&ensp;{{dx8}}|dx9=&ensp;{{dx9}}}} {{{add|}}}<br>{{#if:{{{shaders|}}}| {{shaders|s={{{s|}}}|suf={{{suf|}}}|{{{shaders}}}}}
{{#if:{{{shaders|}}}| {{shaders|s={{{s|}}}|suf={{{suf|}}}|{{{shaders}}}}}
:|
:|
:}}</includeonly></onlyinclude>
:}}</includeonly></onlyinclude>

Revision as of 11:32, 27 July 2022

Note.pngNote:def - definition

Some Examples

Name (removed since Counter-Strike: Global Offensive) (not in Half-Life)
This is test.
Name <string> (in all games since Portal 2)
This is test.
Name (Code_Name)
This is test.
Name (Code_Name)<string>
This is test.
Name (Code_Name) – Name_4 <string>
This is test.
Name (Code_Name) – Name_4 (Code_Name_4)
This is test.
Name (Code_Name) – Name_4 (Code_Name_4)<boolean>
This is test.
Name (Code_Name) – Name_4 (Code_Name_4)<boolean>Obsolete Obsolete
Perfect text crossing out.
Name – Name_4 (Code_Name_4)<string>
This is test.
Name – Name_4 <string>
This is test.
[ 2 ] : Name
This is FLAG.
Name (Code_Name)Obsolete Obsolete
This is deprecated.
Name (Code_Name)!FGD
This is not in FGD.
Name (Code_Name) – Name_4 !FGD (removed since Team Fortress Classic)
This is not in FGD.
Name (Code_Name)(DX8)
Text Text Text.
Name (DX9 SM2)
Text Text Text.
Name1
Name2
text for two params.
Name (test)Obsolete Obsolete (not in Alien Swarm)
This is test.
[ 8 ] : Test Flag
This is FLAG.
Spoon (round_thing) – Fork (sharp_thing)<matrix>
Shaders: LightmappedGeneric, WorldVertexTransition
Correct link to article Matrix3x4_t, not Matrix. + shaders
islocked <Main Page>
Sombreador: one_shader
Text.
Note.pngNote:Text
Warning.pngWarning:Text
New line.