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
m (Pee moved page Template:Format to Template:This is a)
No edit summary
Line 1: Line 1:
{{moveto|Template:this is a}}{{Doc}}
{{Doc}}
<includeonly><onlyinclude><!--
<includeonly><onlyinclude><!--
-->{{#if:{{{1|}}}|{{#if:{{{notitlechange|}}}||{{#switch:{{{type|}}}|#default={{DISPLAYTITLE:{{Code|preset=0|style=color:white|select=all|background=transparent|{{{1}}}}}|noreplace}}}}|convar|command=|shader|s0|s1=}} }}<!--
-->{{#if:{{{name|}}}|{{#if:{{{notitlechange|}}}||{{#switch:{{{1|}}}|#default={{DISPLAYTITLE:{{Code|preset=0|style=color:white|select=all|background=transparent|{{{name}}}}}|noreplace}}}}|convar|command=|shader|s0|s1=}} }}<!--
-->{{#ifeq:{{{notext}}}|1||<!--
-->{{#ifeq:{{{notext}}}|1||<!--


Line 8: Line 8:
-->{{#if:{{{sprite|}}}
-->{{#if:{{{sprite|}}}
|[[File:{{#ifeq:{{{sprite}}}|1
|[[File:{{#ifeq:{{{sprite}}}|1
|{{{1|{{PAGENAME}}}}}.png
|{{{name|{{PAGENAME}}}}}.png
|{{{sprite}}}}}|left|link=]]<!--
|{{{sprite}}}}}|left|link=]]<!--
-->}}<!--
-->}}<!--
Line 22: Line 22:
     + "This" +
     + "This" +


-->{{#if:{{{1|}}}
-->{{#if:{{{name|}}}
|{{Code|select=all| {{{1}}} }}
|{{Code|select=all| {{{name}}} }}
|{{#switch:{{{this|}}}|#default={{Autolang|{{{this|This}}}|eo=ĉi tio|ru={{{this|Это}}}|zh={{{this|这}}} }}|0=}}
|{{#switch:{{{this|}}}|#default={{Autolang|{{{this|This}}}|eo=ĉi tio|ru={{{this|Это}}}|zh={{{this|这}}} }}|0=}}
}}<!--
}}<!--
Line 30: Line 30:


-->{{Autolang
-->{{Autolang
|&nbsp;is a{{#ifeq:{{{cut}}}|1|&nbsp;cut}} {{#switch:{{{type}}}<!-- Please leave it like this, it's infinitely easier to edit. (also, allows languages that would've had incompatible sentence ordering to be added.) -->
|&nbsp;is a{{#ifeq:{{{cut}}}|1|&nbsp;cut}} {{#switch:{{{1}}}<!-- Please leave it like this, it's infinitely easier to edit. (also, allows languages that would've had incompatible sentence ordering to be added.) -->
|#default = {{#switch:{{{internal|}}}
|#default = {{#switch:{{{internal|}}}
|#default=
|#default=
|1|true=[[internal entity|internal]]
|1|true=[[internal entity|internal]]
}} {{{type|}}}
}} {{{1|}}}
|e0|point = [[point entity]]
|e0|point = [[point entity]]
|e1|int point = [[internal entity|internal]] [[point entity]]
|e1|int point = [[internal entity|internal]] [[point entity]]
Line 48: Line 48:
                 |s2|shader parameter=[[material]] [[shader]] parameter
                 |s2|shader parameter=[[material]] [[shader]] parameter
}} available in&nbsp;
}} available in&nbsp;
|eo=&nbsp;estas<!--TODO: add translation for cut --> {{#switch:{{{type}}}
|eo=&nbsp;estas<!--TODO: add translation for cut --> {{#switch:{{{1}}}
|#default = {{#switch:{{{internal|}}}
|#default = {{#switch:{{{internal|}}}
|#default=
|#default=
|1|true=[[internal entity|internan estaĵon]]
|1|true=[[internal entity|internan estaĵon]]
}} {{{type|}}}
}} {{{1|}}}
|e0|point = [[point entity|punktan estaĵon]]
|e0|point = [[point entity|punktan estaĵon]]
|e1|int point = [[internal entity|internan]] [[point entity|punktan estaĵon]]
|e1|int point = [[internal entity|internan]] [[point entity|punktan estaĵon]]
Line 66: Line 66:
                 |s2|shader parameter=[[material]] [[shader]] parameter
                 |s2|shader parameter=[[material]] [[shader]] parameter
}} uzeblan en&nbsp;
}} uzeblan en&nbsp;
|ru=&nbsp;{{#if:{{{1|}}}|— это}}&nbsp;<!--TODO: add translation for cut -->{{#switch:{{{type}}}
|ru=&nbsp;{{#if:{{{name|}}}|— это}}&nbsp;<!--TODO: add translation for cut -->{{#switch:{{{1}}}
|#default = {{#switch:{{{internal|}}}
|#default = {{#switch:{{{internal|}}}
|#default=
|#default=
|1|true=[[internal entity|internal]]
|1|true=[[internal entity|internal]]
}} {{{type|}}}
}} {{{1|}}}
|e0|point = [[point entity|точечная сущность]]
|e0|point = [[point entity|точечная сущность]]
|e1|int point = [[internal entity|внутренняя]] [[point entity|точечная сущность]]
|e1|int point = [[internal entity|внутренняя]] [[point entity|точечная сущность]]
Line 84: Line 84:
                 |s2|shader parameter=[[material]] [[shader]] parameter
                 |s2|shader parameter=[[material]] [[shader]] parameter
}}, доступная&nbsp;
}}, доступная&nbsp;
|zh=是一个{{#ifeq:{{{cut}}}|1|被移除的}}{{#switch:{{{type}}}
|zh=是一个{{#ifeq:{{{cut}}}|1|被移除的}}{{#switch:{{{1}}}
|#default = {{#switch:{{{internal|}}}
|#default = {{#switch:{{{internal|}}}
|#default=
|#default=
|1|true=[[internal entity|内部的]]
|1|true=[[internal entity|内部的]]
}}{{{type|}}}
}}{{{1|}}}
|e0|point = [[point entity|点实体]]
|e0|point = [[point entity|点实体]]
|e1|int point = [[internal entity|内部的]][[point entity|点实体]]
|e1|int point = [[internal entity|内部的]][[point entity|点实体]]
Line 172: Line 172:
-->}}<!--
-->}}<!--


   + Warning (if {{{type}}} is not specified +
   + Warning (if {{{1}}} is not specified +


-->{{#ifeq:{{{type|}}}||{{Warning|{{Autolang|The necessary parameter {{Code|{{Param|[[Template:Entity|type]]}}}} has not been specified.|zh=必要的参数 {{Code|{{Param|[[Template:Entity|type]]}}}} 尚未指定。}}}}}}<!--
-->{{#ifeq:{{{1|}}}||{{Warning|{{Autolang|The necessary parameter {{Code|{{Param|[[Template:This is a|1]]}}}} has not been specified.|zh=必要的参数 {{Code|{{Param|[[Template:This is a|1]]}}}} 尚未指定。}}}}}}<!--


     + Category for (non-)internal entitiy +
     + Category for (non-)internal entitiy +


-->{{#switch:{{{type|}}}
-->{{#switch:{{{1|}}}
|#default={{#switch:{{lc:{{{internal}}}}}
|#default={{#switch:{{lc:{{{internal}}}}}
| 1
| 1
Line 191: Line 191:
-->{{#if: {{{game|}}}
-->{{#if: {{{game|}}}
| {{Main other|{{#if:{{{nocat|}}}||[[Category:{{{game}}} {{{topic|<!--
| {{Main other|{{#if:{{{nocat|}}}||[[Category:{{{game}}} {{{topic|<!--
-->{{#switch:{{{type|}}}
-->{{#switch:{{{1|}}}
|#default=entities
|#default=entities
|c2|convar=console variables
|c2|convar=console variables
Line 204: Line 204:
-->{{#if:{{{game1|}}}|<!--
-->{{#if:{{{game1|}}}|<!--
-->[[Category:{{{game1}}} {{{topic|<!--
-->[[Category:{{{game1}}} {{{topic|<!--
-->{{#switch:{{{type|}}}
-->{{#switch:{{{1|}}}
|#default=entities
|#default=entities
|c2|convar=console variables
|c2|convar=console variables
Line 218: Line 218:
-->{{#if:{{{game2|}}}|<!--
-->{{#if:{{{game2|}}}|<!--
-->[[Category:{{{game2}}} {{{topic|<!--
-->[[Category:{{{game2}}} {{{topic|<!--
-->{{#switch:{{{type|}}}
-->{{#switch:{{{1|}}}
|#default=entities
|#default=entities
|c2|convar=console variables
|c2|convar=console variables
Line 232: Line 232:
-->{{#if:{{{game3|}}}|<!--
-->{{#if:{{{game3|}}}|<!--
-->[[Category:{{{game3}}} {{{topic|<!--
-->[[Category:{{{game3}}} {{{topic|<!--
-->{{#switch:{{{type|}}}
-->{{#switch:{{{1|}}}
|#default=entities
|#default=entities
|c2|convar=console variables
|c2|convar=console variables
Line 246: Line 246:
-->{{#if:{{{game4|}}}|<!--
-->{{#if:{{{game4|}}}|<!--
-->[[Category:{{{game4}}} {{{topic|<!--
-->[[Category:{{{game4}}} {{{topic|<!--
-->{{#switch:{{{type|}}}
-->{{#switch:{{{1|}}}
|#default=entities
|#default=entities
|c2|convar=console variables
|c2|convar=console variables
Line 260: Line 260:
-->{{#if:{{{game5|}}}|<!--
-->{{#if:{{{game5|}}}|<!--
-->[[Category:{{{game5}}} {{{topic|<!--
-->[[Category:{{{game5}}} {{{topic|<!--
-->{{#switch:{{{type|}}}
-->{{#switch:{{{1|}}}
|#default=entities
|#default=entities
|c2|convar=console variables
|c2|convar=console variables
Line 276: Line 276:
| {{#if: {{{series|}}}
| {{#if: {{{series|}}}
   | {{Main other|{{#if:{{{nocat|}}}||[[Category:{{{series}}} series {{{topic|<!--
   | {{Main other|{{#if:{{{nocat|}}}||[[Category:{{{series}}} series {{{topic|<!--
-->{{#switch:{{{type|}}}<!--
-->{{#switch:{{{1|}}}<!--
-->|#default=entities<!--
-->|#default=entities<!--
-->|c2|convar=console variables<!--
-->|c2|convar=console variables<!--
Line 289: Line 289:
-->|#default=<!--
-->|#default=<!--
-->|l4d|l4ds|Left 4 Dead|Left 4 Dead series=[[Category:Left 4 Dead <!--
-->|l4d|l4ds|Left 4 Dead|Left 4 Dead series=[[Category:Left 4 Dead <!--
-->{{#switch:{{{type|}}}<!--
-->{{#switch:{{{1|}}}<!--
-->|#default=entities<!--
-->|#default=entities<!--
-->|c2|convar=console variables<!--
-->|c2|convar=console variables<!--
Line 298: Line 298:
                         -->|s2|shader parameter=shader parameters<!--
                         -->|s2|shader parameter=shader parameters<!--
-->}}]] [[Category:Left 4 Dead 2 <!--
-->}}]] [[Category:Left 4 Dead 2 <!--
-->{{#switch:{{{type|}}}<!--
-->{{#switch:{{{1|}}}<!--
-->|#default=entities<!--
-->|#default=entities<!--
-->|c2|convar=console variables<!--
-->|c2|convar=console variables<!--
Line 310: Line 310:
   | {{#if: {{{seriescs|}}}
   | {{#if: {{{seriescs|}}}
     | {{Main other|{{#if:{{{nocat|}}}||[[Category:{{{seriescs}}}: Source <!--
     | {{Main other|{{#if:{{{nocat|}}}||[[Category:{{{seriescs}}}: Source <!--
-->{{#switch:{{{type|}}}
-->{{#switch:{{{1|}}}
|#default=entities
|#default=entities
|c2|convar=console variables
|c2|convar=console variables
Line 326: Line 326:
-->|3|source2=Source 2<!--
-->|3|source2=Source 2<!--
-->}} base <!--
-->}} base <!--
-->{{#switch:{{{type|}}}<!--
-->{{#switch:{{{1|}}}<!--
-->|#default=entities<!--
-->|#default=entities<!--
-->|c2|convar=console variables<!--
-->|c2|convar=console variables<!--
Line 338: Line 338:
   }}
   }}
}}<!--
}}<!--
-->{{main other|{{#switch:{{{type|}}}
-->{{main other|{{#switch:{{{1|}}}
|e0|point={{#if:{{{nocat|}}}||[[Category:Point Entities]]}}
|e0|point={{#if:{{{nocat|}}}||[[Category:Point Entities]]}}
|e1|int point={{#if:{{{nocat|}}}||[[Category:Point Entities]]}}
|e1|int point={{#if:{{{nocat|}}}||[[Category:Point Entities]]}}
Line 349: Line 349:
}}<!--
}}<!--
-->{{#if:{{{nocat|}}}||<!--
-->{{#if:{{{nocat|}}}||<!--
-->{{#switch:{{{type|}}}<!--
-->{{#switch:{{{1|}}}<!--
-->|#default=[[Category:Entities]]<!--
-->|#default=[[Category:Entities]]<!--
-->|c1|c2|c0|QC command|convar|command|s0|s1|pixel shader|vertex shader=|s2|shader parameter=<!--
-->|c1|c2|c0|QC command|convar|command|s0|s1|pixel shader|vertex shader=|s2|shader parameter=<!--

Revision as of 16:50, 6 September 2023