This article's documentation is for anything that uses the Source engine. Click here for more information.

Template:This is a: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 11: Line 11:
|{{{sprite}}}}}|left|link=]]<!--
|{{{sprite}}}}}|left|link=]]<!--
-->}}<!--
-->}}<!--
    + Category for (non-)internal entitiy +
-->{{#switch:{{{type|}}}
|#default={{#switch:{{lc:{{{internal}}}}}
| 1
| true = {{main other|{{#if:{{{nocat|}}}||[[Category:Internal entities]]}}}}
| #default = {{main other|{{#if:{{{nocat|}}}||[[Category:Non-internal entities]]}}}} }}
|e2|brush={{main other|{{#if:{{{nocat|}}}||[[Category:Non-internal entities]]}}}}
|e1|e3|int point|int brush={{main other|{{#if:{{{nocat|}}}||[[Category:Internal entities]]}}}}
|vertex shader|pixel shader|s1|s0|c1|c0|c2|convar|command|QC command=}}<!--


     ++ Icon for game ++
     ++ Icon for game ++
Line 195: Line 184:


-->{{#ifeq:{{{type|}}}||{{Warning|{{Autolang|The necessary parameter {{Code|{{Param|[[Template:Entity|type]]}}}} has not been specified.|zh=必要的参数 {{Code|{{Param|[[Template:Entity|type]]}}}} 尚未指定。}}}}}}<!--
-->{{#ifeq:{{{type|}}}||{{Warning|{{Autolang|The necessary parameter {{Code|{{Param|[[Template:Entity|type]]}}}} has not been specified.|zh=必要的参数 {{Code|{{Param|[[Template:Entity|type]]}}}} 尚未指定。}}}}}}<!--
    + Category for (non-)internal entitiy +
-->{{#switch:{{{type|}}}
|#default={{#switch:{{lc:{{{internal}}}}}
| 1
| true = {{main other|{{#if:{{{nocat|}}}||[[Category:Internal entities]]}}}}
| #default = {{main other|{{#if:{{{nocat|}}}||[[Category:Non-internal entities]]}}}} }}
|e2|brush={{main other|{{#if:{{{nocat|}}}||[[Category:Non-internal entities]]}}}}
|e1|e3|int point|int brush={{main other|{{#if:{{{nocat|}}}||[[Category:Internal entities]]}}}}
|vertex shader|pixel shader|s1|s0|c1|c0|c2|convar|command|QC command=}}<!--


     + Entity Categories +
     + Entity Categories +

Revision as of 14:16, 15 August 2023

Note.pngNote:This template will be moved to Template:Format in order to unify all the formatting templates such as {{Console Command}}, {{Shader}}. (Discuss)

Template:Doc