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
(rewrite should be complete!)
(Undo revision 402543 by Pee (talk) With enough parameters, this may push some pages over the max expansion depth of 40, i'll have to figure something out)
Tag: Undo
Line 1: Line 1:
<!--
{{rewrite|User:Pee/Sandbox/this is a}}
This rewrite is complete except for translations. You can help by adding translations to its [[User:Pee/Sandbox/this is a/strings|strings page]].
{{Doc}}
<includeonly><onlyinclude><!--
-->{{#if:{{{name|}}}|{{#if:{{{notitlechange|}}}||{{#switch:{{{1|}}}|#default={{DISPLAYTITLE:{{Code|preset=0|style=color:white|select=all|background=transparent|{{{name}}}}}|noreplace}}}}|cvar|convar|command=|shader|s0|s1=}} }}<!--


    Page display name
+ Icon for entity +


-->{{#if:{{{name|}}}
-->{{#if:{{{sprite|}}}
  |{{yesno|{{{notitlechange|no}}}
|[[File:{{#ifeq:{{{sprite}}}|1
      |yes =
|{{{name|{{PAGENAME}}}}}.png
      |no = {{#switch:{{{1}}}
|{{{sprite}}}}}|left|link=]]<!--
          |#default = {{DISPLAYTITLE:{{Code|preset=0|style=color:white|select=all|background=transparent|{{{name}}} }}|noreplace}}
-->}}<!--
          |console command|console variable|pixel shader|vertex shader =
        }}
    }}
}}<!--


    Icon for entity
++ Icon for game ++


-->{{yesno|{{{sprite|no}}}
-->{{#switch: {{{icon|0}}}
  |yes = [[File:{{{name|{{PAGENAME}} }}}.png|left|link=]]
|#default={{Game icon|{{{icon}}}}}&nbsp;
  |def = [[File:{{{sprite}}}|left|link=]]
|1={{Game icon|{{{game}}}}}&nbsp;
|0=
}}<!--
}}<!--


    Icon for game
++ "This is a ______ available in" ++


-->{{yesno|{{{icon|no}}}
-->{{Autolang
  |yes = {{Game icon|{{{game}}} }}&nbsp;
|{{#if:{{{name|}}}
  |def = {{Game icon|{{{icon}}} }}&nbsp;
|{{Code|select=all| {{{name}}} }}
}}<!--
|{{#ifeq:{{{this|}}}|0||{{{this|This}}} }}
}}<!--
--> is a<!--
-->{{#switch:{{{cut|}}}||0=|&nbsp;cut}} {{#switch:{{{internal|}}}
|#default=
|1|true=[[internal entity|internal]]
}}<!--
--> {{#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 =  {{{1|}}}
|point entity = [[point entity]]
|brush entity = [[brush entity]]
|mesh entity = [[mesh entity]]
|path  entity = [[path entity]]
|QC command = [[:Category:QC Commands|QC command]]
|console command = [[Developer console#submitting|console command]]
|console variable = [[Console variable|console variable]]
|pixel shader=[[Shader#Pixel shaders|pixel shader]]
|vertex shader=[[Shader#vertex shaders|vertex shader]]
|shader parameter=[[material]] [[shader]] parameter
}}<!--
--> available{{#if:{{{shader|}}}|&nbsp;on the {{Shader Name|{{{shader|}}}}} shader|}} in&nbsp;
 
|eo={{#if:{{{name|}}}
|{{Code|select=all| {{{name}}} }}
|{{#ifeq:{{{this|}}}|0||ĉi tio}}
}}<!--
--> estas<!--
--><!--TODO: add translation for cut --> {{#switch:{{{internal|}}}
|#default=
|1|true=[[internal entity|internan estaĵon]]
}}<!--
--> {{#switch:{{{1}}}
|#default =  {{{1|}}}
|point entity = [[point entity|punktan estaĵon]]
|brush entity = [[brush entity|superaĵan estaĵon]]
|mesh entity = [[mesh entity|retan estaĵon]]
|path entity = [[path entity|vojan estaĵon]]
|QC command = [[:Category:QC Commands|QC command]]
|console command = [[Developer console#submitting|console command]]
|console variable = [[Console variable|console variable]]
|pixel shader=[[Shader#Pixel shaders|pixel shader]]
|vertex shader=[[Shader#vertex shaders|vertex shader]]
|shader parameter=[[material]] [[shader]] parameter
}}<!--
--> uzeblan en&nbsp;


    All the actual text
|ru={{#if:{{{name|}}}
|{{Code|select=all| {{{name}}} }}
|{{#ifeq:{{{this|}}}|0||{{{this|Это}}} }}
}} {{#if:{{{name|}}}|— это}}<!--
--> <!--TODO: add translation for cut --> {{#switch:{{{internal|}}}
|#default=
|1|true=[[internal entity|внутренний]]
}} <!--
-->{{#switch:{{{1}}}
|#default = {{{1|}}}
|point entity = [[point entity|точечный объект мира]]
|brush entity = [[brush entity|объёмный объект мира]]
|mesh entity = [[mesh entity|сеточный объект мира]]
|path entity = [[path entity|объект пути]]
|QC command = [[:Category:QC Commands|QC команда]]
|console command = [[Developer console#submitting|консольная команда]]
|console variable = [[console variable|консольная переменная]]
|pixel shader=[[Shader#Pixel shaders|пиксельное оттенение]]
|vertex shader=[[Shader#vertex shaders|вершинное оттенение]]
|shader parameter=[[material|материальный]] параметр [[shader|оттенения]]
}}<!--
-->, доступный&nbsp;


-->{{this is a/strings|this is a
|zh={{#if:{{{name|}}}
|{{Code|select=all| {{{name}}} }}
|{{#ifeq:{{{this|}}}|0||{{{this|这}}} }}
}}<!--
-->是一个<!--
-->{{#switch:{{{cut|}}}||0=|被移除的}}{{#switch:{{{internal|}}}
|#default=
|1|true=[[internal entity|内部的]]
}}{{#switch:{{{1}}}
|#default = {{{1|}}}
|point entity = [[point entity|点实体]]
|brush entity = [[brush entity|固实体]]
|mesh entity = [[mesh entity|网格实体]]
|path entity = [[path entity|路径实体]]
|QC command = [[:Category:QC Commands|QC 命令]]
|console command = [[Developer console#submitting|控制台命令]]
|console variable = [[Console variable|控制台变量]]
|pixel shader=[[Shader#Pixel shaders|像素着色器]]
|vertex shader=[[Shader#vertex shaders|顶点着色器]]
|shader parameter=[[material|材质]][[shader|着色器]]参数
}}<!--
-->存在于{{#if:{{{game|}}}{{{series|}}}|{{#if:{{{series|}}}|&nbsp;|{{#if:{{{game1|}}}||&nbsp;}}}}}}<!--


  |this = {{#if:{{{name|}}}
-->|hr={{#if:{{{name|}}}
      |{{Code|select=all| {{{name}}} }}
|{{Code|select=all| {{{name}}} }}
      |{{yesno|{{{this}}}|yes={{{this|{{this is a/strings|this}} }}} }} <!-- If the parameter "this" is defined as anything except a 0, no etc., then it reads as a translation of the word "this" -->
|{{#ifeq:{{{this|}}}|0||{{{this|ovo}}} }}
    }}
}}<!--
--> je <!--
-->{{#switch:{{{cut|}}}||0=|uklonjeno}} {{#switch:{{{internal|}}}
|#default=
|1|true=[[internal entity|unutarnji entitet]]
}}{{#switch:{{{1}}}
|#default = {{{1|}}}
|point entity = [[point entity|pokazački entitet]]
|brush entity = [[brush entity|četkasti entitet]]
|mesh entity = [[mesh entity|mrežasti entitet]]
|path entity = [[path entity|putni entitet]]
|QC command = [[:Category:QC Commands|QC naredba]]
|console command = [[Developer console#submitting|konzolna naredba]]
|console variable = [[Console variable|konzolna varijabla]]
|pixel shader=[[Shader#Pixel shaders|piksel shader]]
|vertex shader=[[Shader#vertex shaders|vertex shader]]
|shader parameter=[[material|materijal]] [[shader|shader]] parametar
}}<!--
--> dostupan u{{#if:{{{game|}}}{{{series|}}}|{{#if:{{{series|}}}|&nbsp;|{{#if:{{{game1|}}}||&nbsp;}}}}}}<!--
-->}}<!--


+ game series +


  |internal = {{yesno|{{{internal|}}}|yes={{this is a/strings|internal}} }}
-->{{#switch: {{{series|1}}}
  |cut = {{yesno|{{{cut|}}}|yes={{this is a/strings|cut}} }}
| l4ds
| l4d
| Left 4 Dead={{Autolang|the|hr=|ru=в|zh=}} {{l4dseries|{{#ifeq:{{{icon|0}}}|0|4|3}}|suf={{Autolang||zh=:zh-cn}}}}
| portal
| Portal
| portal2
| p2
| Portal 2={{Autolang|the|hr=|ru=в|zh=}} {{portalserieslinked|4|nt=1}}
| #default={{Autolang|the|hr=|ru=в серии игр|zh=}} [[{{{series}}}]] {{Autolang|series|hr=seriji|ru=|zh=系列}}
| 1={{#if: {{{seriescs|}}}
  | {{Autolang|the|ru=в серии игр|hr=|zh=}} [[{{{seriescs}}}]] {{Autolang|series|ru=|hr=seriji|zh=系列}} <!--


+ games +


  |type = {{if empty|{{this is a/strings|type|{{{1}}} }} |{{{1}}} }} <!-- if not a valid type, default to whatever the parameter says -->
-->{{#if:{{{game|}}}
| ({{Autolang|since|hr=od|eo=post|ru=начиная с|zh=自从}} {{#ifexist: Template:{{{game|}}} | {{ {{{game}}} |{{#ifeq:{{{icon|0}}}|0|4|3}}}} | {{ {{game icon name|{{{game}}} }}|{{#ifeq:{{{icon|0}}}|0|4|3}}}} }}{{Autolang||zh=&nbsp;以来}})
}}
  | {{#if: {{{game|}}}
| <!-- Multiple games -->{{#if:{{{game1|}}}
  | {{Autolang
|the following {{#switch:{{{engine|}}}
|#default={{{engine|{{Source|4.1}}}}}
|1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4.1}}
|0|2|source|Source={{source|4.1}}
|3|source2|Source2|Source 2={{source2|4.1}}}}<!--
-->{{#if:{{{engine1|}}}|{{#if:{{{engine2|}}}|,&nbsp;|&nbsp;and&nbsp;}}{{#switch:{{{engine1|}}}|#default={{{engine1|{{source|4}}}}}
|1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4}}
|0|2|source|Source={{source|4}}
|3|source2|Source2|Source 2={{source2|4}}
}}{{#if:{{{engine2|}}}|&nbsp;and&nbsp;{{#switch:{{{engine2|}}}|#default={{{engine2|{{source|4}}}}}
|1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4}}
|0|2|source|Source={{source|4}}
|3|source2|Source2|Source 2={{source2|4}}
}}}}}}<!--
--> games or engine branches:<br><!--
-->|zh=以下 {{#switch:{{{engine|}}}
|#default={{{engine|{{Source|4.1}}}}}
|1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4.1}}
|0|2|source|Source={{source|4.1}}
|3|source2|Source2|Source 2={{source2|4.1}}}}<!--
-->{{#if:{{{engine1|}}}|{{#if:{{{engine2|}}}|、|&nbsp;和&nbsp;}}{{#switch:{{{engine1|}}}|#default={{{engine1|{{source|4}}}}}
|1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4}}
|0|2|source|Source={{source|4}}
|3|source2|Source2|Source 2={{source2|4}}
}}{{#if:{{{engine2|}}}|&nbsp;和&nbsp;{{#switch:{{{engine2|}}}|#default={{{engine2|{{source|4}}}}}
|1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4}}
|0|2|source|Source={{source|4}}
|3|source2|Source2|Source 2={{source2|4}}
}}}}}}<!--
--> 游戏:<br><!--
-->|hr=sljedećem {{#switch:{{{engine|pogonu}}}
|#default={{{engine|{{Source|4.1}}}}}
|1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4.1}}
|0|2|source|Source={{source|4.1}}
|3|source2|Source2|Source 2={{source2|4.1}}}}<!--
-->{{#if:{{{engine1|}}}|{{#if:{{{engine2|}}}|,&nbsp;|&nbsp;i&nbsp;}}{{#switch:{{{engine1|}}}|#default={{{engine1|{{source|4}}}}}
|1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4}}
|0|2|source|Source={{source|4}}
|3|source2|Source2|Source 2={{source2|4}}
}}{{#if:{{{engine2|}}}|&nbsp;i&nbsp;{{#switch:{{{engine2|}}}|#default={{{engine2|{{source|4}}}}}
|1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4}}
|0|2|source|Source={{source|4}}
|3|source2|Source2|Source 2={{source2|4}}
}}}}}}<!--
--> igrama ili pogonskim granama<br>
|ru=в следующих {{#switch:{{{engine|}}}
|#default={{{engine|{{Source|4.1}}}}}
|1|goldsrc|gldsrc={{gldsrc|4.1}}
|0|2|source={{source|4.1}}
|3|source2={{source2|4.1}}}}<!--
-->{{#if:{{{engine1|}}}|{{#if:{{{engine2|}}}|,&nbsp;|&nbsp;and&nbsp;}}{{#switch:{{{engine1|}}}|#default={{{engine1|{{source|4}}}}}
|1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4}}
|0|2|source|Source={{source|4}}
|3|source2|Source2|Source 2={{source2|4}}
}}{{#if:{{{engine2|}}}|&nbsp;and&nbsp;{{#switch:{{{engine2|}}}|#default={{{engine2|{{source|4}}}}}
|1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4}}
|0|2|source|Source={{source|4}}
|3|source2|Source2|Source 2={{source2|4}}
}}}}}}<!--
--> играх:<br>
}}<!--
  -->{{#ifexist: Template:{{{game|}}} | {{ {{{game}}} |4}} | {{ {{game icon name|{{{game}}} }}|4}} }}<!--
  -->{{#if:{{{game2|}}}|{{Autolang|,&nbsp;|zh=、|hr=}}|{{Autolang|&nbsp;and&nbsp;|zh=&nbsp;和&nbsp;|hr=&nbsp;i&nbsp;}}}}<!--
  -->{{#ifexist: Template:{{{game1|}}} | {{ {{{game1}}} |4}} | {{ {{game icon name|{{{game1}}} }}|4}} }}<!--
  -->{{#if:{{{game2|}}}|{{#if:{{{game3|}}}|{{Autolang|,&nbsp;|zh=、}}|{{Autolang|&nbsp;and&nbsp;|hr=&nbsp;i&nbsp;|zh=&nbsp;和&nbsp;}}}}{{#ifexist: Template:{{{game2|}}} | {{ {{{game2}}} |4}} | {{ {{game icon name|{{{game2}}} }}|4}} }} }}<!--
  -->{{#if:{{{game3|}}}|{{#if:{{{game4|}}}|{{Autolang|,&nbsp;|zh=、}}|{{Autolang|&nbsp;and&nbsp;|hr=&nbsp;i&nbsp;|zh=&nbsp;和&nbsp;}}}}{{#ifexist: Template:{{{game3|}}} | {{ {{{game3}}} |4}} | {{ {{game icon name|{{{game3}}} }}|4}} }} }}<!--
  -->{{#if:{{{game4|}}}|{{#if:{{{game5|}}}|{{Autolang|,&nbsp;|zh=、}}|{{Autolang|&nbsp;and&nbsp;|hr=&nbsp;i&nbsp;|zh=&nbsp;和&nbsp;}}}}{{#ifexist: Template:{{{game4|}}} | {{ {{{game4}}} |4}} | {{ {{game icon name|{{{game4}}} }}|4}} }} }}<!--
  -->{{#if:{{{game5|}}}|{{Autolang|&nbsp;and&nbsp;|eo=&nbsp;kaj&nbsp;|hr=&nbsp;i&nbsp;|zh=&nbsp;和&nbsp;}}{{#ifexist: Template:{{{game5|}}} | {{ {{{game5}}} |4}} | {{ {{game icon name|{{{game5}}} }}|4}} }} }}<!--
  Single game
  -->|{{Autolang||ru=в}} {{#ifexist: Template:{{{game|}}} | {{ {{{game}}} |{{#ifeq:{{{icon|0}}}|0|4|3}}}} | {{ {{game icon name|{{{game}}} }}|{{#ifeq:{{{icon|0}}}|0|4|3}}}} }}
  }}
| {{Autolang|all|eo=ĉiuj|ru=во всех играх на платформе|zh=所有的|hr=svim}} {{#switch:{{{engine|}}}|#default={{{engine|{{source|4}}}}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
|goldSrc|GoldSrc={{gldsrc|4}}{{#if:{{{nocat|}}}||{{gldsrc topicon|nocat=1}}}}
|source|Source={{source|4}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
|source 2|Source 2={{source2|4}}{{#if:{{{nocat|}}}||{{source 2 topicon|nocat=1}}}}
}}<!--
-->{{Autolang|1={{#if:{{{engine1|}}}|{{#if:{{{engine2|}}}|,&nbsp;|&nbsp;and&nbsp;}}{{#switch:{{{engine1|}}}|#default={{{engine1|{{source|4}}}}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
|1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4}}{{#if:{{{nocat|}}}||{{gldsrc topicon|nocat=1}}}}
|0|2|source|Source={{source|4}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
|3|source2|Source2|Source 2={{source2|4}}{{#if:{{{nocat|}}}||{{source 2 topicon|nocat=1}}}}
}}{{#if:{{{engine2|}}}|&nbsp;and&nbsp;{{#switch:{{{engine2|}}}|#default={{{engine2|{{source|4}}}}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
|1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4}}{{#if:{{{nocat|}}}||{{gldsrc topicon|nocat=1}}}}
|0|2|source|Source={{source|4}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
|3|source2|Source2|Source 2={{source2|4}}{{#if:{{{nocat|}}}||{{source 2 topicon|nocat=1}}}}
}}}}}}
  |hr={{#if:{{{engine1|}}}|{{#if:{{{engine2|}}}|、|&nbsp;i&nbsp;}}{{#switch:{{{engine1|}}}|#default={{{engine1|{{source|4}}}}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
|1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4}}{{#if:{{{nocat|}}}||{{gldsrc topicon|nocat=1}}}}
|0|2|source|Source={{source|4}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
|3|source2|Source2|Source 2={{source2|4}}{{#if:{{{nocat|}}}||{{source 2 topicon|nocat=1}}}}
}}{{#if:{{{engine2|}}}|&nbsp;i&nbsp;{{#switch:{{{engine2|}}}|#default={{{engine2|{{source|4}}}}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
|1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4}}{{#if:{{{nocat|}}}||{{gldsrc topicon|nocat=1}}}}
|0|2|source|Source={{source|4}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
|3|source2|Source2|Source 2={{source2|4}}{{#if:{{{nocat|}}}||{{source 2 topicon|nocat=1}}}}
}}}}}}
  |zh={{#if:{{{engine1|}}}|{{#if:{{{engine2|}}}|、|&nbsp;和&nbsp;}}{{#switch:{{{engine1|}}}|#default={{{engine1|{{source|4}}}}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
|1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4}}{{#if:{{{nocat|}}}||{{gldsrc topicon|nocat=1}}}}
|0|2|source|Source={{source|4}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
|3|source2|Source2|Source 2={{source2|4}}{{#if:{{{nocat|}}}||{{source 2 topicon|nocat=1}}}}
}}{{#if:{{{engine2|}}}|&nbsp;和&nbsp;{{#switch:{{{engine2|}}}|#default={{{engine2|{{source|4}}}}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
|1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4}}{{#if:{{{nocat|}}}||{{gldsrc topicon|nocat=1}}}}
|0|2|source|Source={{source|4}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
|3|source2|Source2|Source 2={{source2|4}}{{#if:{{{nocat|}}}||{{source 2 topicon|nocat=1}}}}
}}}}}}}}<!--


"games, except/since/before" (todo: finish moving these all into a single autolang.)


  |in = {{#if:{{{game|}}}<!--
-->{{Autolang
    -->|{{this is a/strings|list
|   &nbsp;games<!--
          |{{game icon|{{{game}}}|4}}<!--
-->{{#if:{{{except|}}}{{{except-multi|}}}|&nbsp;except {{{except-multi| {{#ifexist: Template:{{{except|}}} | {{ {{{except}}} |4}} | {{ {{game icon name|{{{except}}} }}|4}} }} }}} }}
        -->|{{game icon|{{{game1}}}|4}}<!--
        -->|{{game icon|{{{game2}}}|4}}<!--
        -->|{{game icon|{{{game3}}}|4}}<!--
        -->|{{game icon|{{{game4}}}|4}}<!--
        -->|{{game icon|{{{game5}}}|4}}<!--
    -->}}
      |{{#if:{{{series|}}}
          |{{series icon|{{{series}}}|4}}
          |{{this is a/strings|all games
              |engine = {{this is a/strings|list
                  |{{ {{{engine|Source}}}|4}}<!--
                -->|{{#if:{{{engine1|}}}|{{ {{{engine1}}}|4}} }}<!--
                -->|{{#if:{{{engine2|}}}|{{ {{{engine2}}}|4}} }}<!--
            -->}}
            }}
        }}
    }}


|eo=&nbsp;ludoj<!--
-->{{#if:{{{except|}}}{{{except-multi|}}}|&nbsp;krom {{{except-multi| {{#ifexist: Template:{{{except|}}} | {{ {{{except}}} |4}} | {{ {{game icon name|{{{except}}} }}|4}} }} }}} }}


  |since = {{#if:{{{since|}}}|{{this is a/strings|since|since={{game icon|{{{since}}}|4}} }} }}
|hr=&nbsp;igrama<!--
  |before = {{#if:{{{before|}}}|{{this is a/strings|before|before={{game icon|{{{before}}}|4}} }} }}
-->{{#if:{{{except|}}}{{{except-multi|}}}|&nbsp;osim {{{except-multi| {{#ifexist: Template:{{{except|}}} | {{ {{{except}}} |4}} | {{ {{game icon name|{{{except}}} }}|4}} }} }}} }}
  |except = {{#if:{{{except|}}}|{{this is a/strings|except|except={{game icon|{{{except}}}|4}} }} }}


  |except-multi = {{#if:{{{except-multi|}}}|{{this is a/strings|except|except={{{except-multi}}} }} }}
|ru=<!--
-->{{#if:{{{except|}}}{{{except-multi|}}}|, за исключением {{{except-multi| {{#ifexist: Template:{{{except|}}} | {{ {{{except}}} |4}} | {{ {{game icon name|{{{except}}} }}|4}} }} }}} }}


|zh=&nbsp;游戏<!--
-->{{#if:{{{except|}}}{{{except-multi|}}}|,除了{{{except-multi| {{#ifexist: Template:{{{except|}}} | {{ {{{except}}} |4}} | {{ {{game icon name|{{{except}}} }}|4}} }} }}} 以外 }}
}}<!--
  -->{{#if: {{{since|}}}
|{{Autolang
|&nbsp;{{#if:{{{before|}}}|from|since}}&nbsp;
|hr=&nbsp;od&nbsp;
|eo=&nbsp;post&nbsp;
|ru=, начиная с
|zh=,自从&nbsp;}}<!--
-->{{#ifexist: Template:{{{since|}}} | {{ {{{since}}} |4}} | {{ {{game icon name|{{{since}}} }}|4}} }} {{Autolang||zh=以来}} }}<!--
  -->{{#if: {{{before|}}}
| {{Autolang
|&nbsp;{{#if:{{{since|}}}|until|before}}
|hr=&nbsp;prije
|eo=&nbsp;antaŭe
|zh=&nbsp;(存在于
|ru=, до}} {{#ifexist: Template:{{{before|}}} | {{ {{{before}}} |4}} | {{ {{game icon name|{{{before}}} }}|4}} }} {{Autolang||zh=以前)}} }}
}}
  }}
}}<!--
}}<!--


    Categories
++ "." ++
 
-->{{Dictionary/common|.}}<!--
 
  + Warning (if {{{1}}} is not specified) +
 
-->{{#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]]}}}} 尚未指定。}}}}}}<!--


-->{{yesno|{{{nocat|no}}}
+ Category for (non-)internal entitiy +
|yes =
|no = {{#if:{{this is a/strings|type|{{{1}}} }}
      |{{#if:{{{game|}}} |{{this is a/category|{{{1}}}|type={{{type}}}|in={{{game}}} |cut={{{cut|}}}|internal={{{internal|}}} }} }}<!--
    -->{{#if:{{{game1|}}}|{{this is a/category|{{{1}}}|type={{{type}}}|in={{{game1}}}|cut={{{cut|}}}|internal={{{internal|}}} }} }}<!--
    -->{{#if:{{{game2|}}}|{{this is a/category|{{{1}}}|type={{{type}}}|in={{{game2}}}|cut={{{cut|}}}|internal={{{internal|}}} }} }}<!--
    -->{{#if:{{{game3|}}}|{{this is a/category|{{{1}}}|type={{{type}}}|in={{{game3}}}|cut={{{cut|}}}|internal={{{internal|}}} }} }}<!--
    -->{{#if:{{{game4|}}}|{{this is a/category|{{{1}}}|type={{{type}}}|in={{{game4}}}|cut={{{cut|}}}|internal={{{internal|}}} }} }}<!--
    -->{{#if:{{{game5|}}}|{{this is a/category|{{{1}}}|type={{{type}}}|in={{{game5}}}|cut={{{cut|}}}|internal={{{internal|}}} }} }}<!--


    -->{{#if:{{{engine|}}} |{{this is a/category|{{{1}}}|type={{{type}}}|in={{{engine}}} base |cut={{{cut|}}}|internal={{{internal|}}} }} }}<!--
-->{{#ifeq:{{{nocat|0}}}|0| {{#switch:{{{1|}}}
    -->{{#if:{{{engine1|}}}|{{this is a/category|{{{1}}}|type={{{type}}}|in={{{engine1}}} base|cut={{{cut|}}}|internal={{{internal|}}} }} }}<!--
|#default=<!--
    -->{{#if:{{{engine2|}}}|{{this is a/category|{{{1}}}|type={{{type}}}|in={{{engine2}}} base|cut={{{cut|}}}|internal={{{internal|}}} }} }}<!--
-->{{#switch:{{lc:{{{internal}}}}}
| 1
| true = {{main other|[[Category:Internal entities]]}}
| #default = {{main other|[[Category:Non-internal entities]]}}<!--
-->}}
|e2|brush|brush entity={{main other|[[Category:Non-internal entities]]}}
|e1|e3|int point|int brush={{main other|[[Category:Internal entities]]}}
|vertex shader|pixel shader|s1|s0|s2|shader parameter|c1|c0|c2|cvar|convar|console variable|command|console command|QC command=<!--
-->}} }}<!--


    -->{{#if:{{{series|}}}|{{this is a/category|{{{1}}}|type={{{type}}}|in={{{series}}} series|cut={{{cut|}}}|internal={{{internal|}}} }} }}<!--
+ Entity Categories +


    Add to Category:Source base (type) if game, engine, and series are all unspecified
-->{{#ifeq:{{{nocat|0}}}|0|<!-- if nocat != 0, skip the following


    -->{{#if:{{{game|}}}{{{engine|}}}{{{series|}}}||{{this is a/category|{{{1}}}|type={{{type}}}|in=source base|cut={{{cut|}}}|internal={{{internal|}}} }} }}
-->{{#if: {{{game|}}}
    }}
| {{Main other|[[Category:{{{game}}} {{{topic|<!--
-->{{#switch:{{{1|}}}
|#default=entities
|c2|cvar|convar|console variable=console variables
|c1|command|console command=console commands
|c0|QC command=QC Commands
|s0|pixel shader=pixel shaders
|s1|vertex shader=vertex shaders
|s2|shader parameter=shader parameters
}}<!---->}}}]]}}
{{Main other|<!--
-->{{#if:{{{game1|}}}|<!--
-->[[Category:{{{game1}}} {{{topic|<!--
-->{{#switch:{{{1|}}}
|#default=entities
|c2|cvar|convar|console variable=console variables
|c1|command|console command=console commands
|c0|QC command=QC Commands
|s0|pixel shader=pixel shaders
|s1|vertex shader=vertex shaders
|s2|shader parameter=shader parameters<!--
-->}}<!--
-->}}}]]<!--
-->}}<!--
-->{{#if:{{{game2|}}}|<!--
-->[[Category:{{{game2}}} {{{topic|<!--
-->{{#switch:{{{1|}}}
|#default=entities
|c2|cvar|convar|console variable=console variables
|c1|command|console command=console commands
|c0|QC command=QC Commands
|s0|pixel shader=pixel shaders
|s1|vertex shader=vertex shaders
|s2|shader parameter=shader parameters<!--
-->}}<!--
-->}}}]]<!--
-->}}<!--
-->{{#if:{{{game3|}}}|<!--
-->[[Category:{{{game3}}} {{{topic|<!--
-->{{#switch:{{{1|}}}
|#default=entities
|c2|cvar|convar|console variable=console variables
|c1|command|console command=console commands
|c0|QC command=QC Commands
|s0|pixel shader=pixel shaders
|s1|vertex shader=vertex shaders
|s2|shader parameter=shader parameters<!--
-->}}<!--
-->}}}]]<!--
-->}}<!--
-->{{#if:{{{game4|}}}|<!--
-->[[Category:{{{game4}}} {{{topic|<!--
-->{{#switch:{{{1|}}}
|#default=entities
|c2|cvar|convar|console variable=console variables
|c1|command|console command=console commands
|c0|QC command=QC Commands
|s0|pixel shader=pixel shaders
|s1|vertex shader=vertex shaders
|s2|shader parameter=shader parameters<!--
-->}}<!--
-->}}}]]<!--
-->}}<!--
-->{{#if:{{{game5|}}}|<!--
-->[[Category:{{{game5}}} {{{topic|<!--
-->{{#switch:{{{1|}}}
|#default=entities
|c2|cvar|convar|console variable=console variables
|c1|command|console command=console commands
|c0|QC command=QC Commands
|s0|pixel shader=pixel shaders
|s1|vertex shader=vertex shaders
|s2|shader parameter=shader parameters<!--
-->}}<!--
-->}}}]]<!--
-->}}
|}}
<!-- else if not {{{game}}}: -->
| {{#if: {{{series|}}}
  | {{Main other|[[Category:{{{series}}} series {{{topic|<!--
-->{{#switch:{{{1|}}}<!--
-->|#default=entities<!--
-->|c2|cvar|convar|console variable=console variables<!--
-->|c1|command|console command=console commands<!--
-->|c0|QC command=QC commands<!--
-->|s0|pixel shader=pixel shaders<!--
-->|s1|vertex shader=vertex shaders<!--
-->|s2|shader parameter=shader parameters<!--
-->}}<!---->}}}]]<!--
Game Specific
-->{{#switch:{{{series|}}}<!--
-->|#default=<!--
-->|l4d|l4ds|Left 4 Dead|Left 4 Dead series=[[Category:Left 4 Dead <!--
-->{{#switch:{{{1|}}}<!--
-->|#default=entities<!--
-->|c2|cvar|convar|console variable=console variables<!--
-->|c1|command|console command=console commands<!--
-->|c0|QC command=QC commands<!--
-->|s0|pixel shader=pixel shaders<!--
-->|s1|vertex shader=vertex shaders<!--
-->|s2|shader parameter=shader parameters<!--
-->}}]] [[Category:Left 4 Dead 2 <!--
-->{{#switch:{{{1|}}}<!--
-->|#default=entities<!--
-->|c2|cvar|convar|console variable=console variables<!--
-->|c1|command|console command=console commands<!--
-->|c0|QC command=QC commands<!--
-->|s0|pixel shader=pixel shaders<!--
-->|s1|vertex shader=vertex shaders<!--
-->|s2|shader parameter=shader parameters<!--
-->}}]]<!--
-->}}<!--
-->}}
<!-- else if not {{{series}}} -->
  | {{#if: {{{seriescs|}}}
| {{Main other|[[Category:{{{seriescs}}}: Source <!--
-->{{#switch:{{{1|}}}
|#default=entities
|c2|cvar|convar|console variable=console variables
|c1|command|console command=console commands
|c0|QC command=QC commands
|s0|pixel shader=pixel shaders
|s1|vertex shader=vertex shaders
|s2|shader parameter=shader parameters
}}]]}}
}}
  }}
}}<!--
}}<!--


     Top icons
-->{{main other|<!--
-->{{#switch:{{{1|}}}
|e0|point|point entity    =[[Category:Point Entities]]
|e1|int point=[[Category:Point Entities]]
|e2|brush|brush entity    =[[Category:Brush Entities]]
|e3|int point=[[Category:Brush Entities]]
|e4|mesh|mesh entity     =[[Category:Mesh Entities]]
|e5|path|path entity    =[[Category:Path Entities]]
|s0|pixel shader  =[[Category:Pixel Shaders]]
|s1|vertex shaders=[[Category:Vertex Shaders]]
}}<!--
-->{{#switch:{{{1|}}}<!--
-->|#default=[[Category:Entities]]<!--
-->|c1|c2|c0|QC command|cvar|convar|command|console command|console variable|s0|s1|pixel shader|vertex shader=|s2|shader parameter=<!--
-->}}<!--
-->}}<!--
  ++ Engines Categories ++
-->{{#ifeq:{{{game|}}}||{{Main other|[[Category:<!--
-->{{#switch:{{{engine|}}}<!--
-->|#default={{{engine|Source}}}<!--
-->|0|2|source|Source=Source<!--
-->|1|goldsrc|gldsrc|GoldSrc=GoldSrc<!--
-->|3|source2|Source 2=Source 2<!--
-->}} base <!--
-->{{#switch:{{{1|}}}<!--
-->|#default=entities<!--
-->|c2|cvar|convar|console variable=console variables<!--
-->|c1|command|console command=console commands<!--
-->|c0|QC command=QC commands<!--
-->|s0|pixel shader=pixel shaders<!--
-->|s1|vertex shader=vertex shaders<!--
-->|s2|shader parameter=shader parameters<!--
-->}}]]}}<!--
-->{{#if:{{{engine1|}}}|{{Main other|[[Category:<!--
-->{{#switch:{{{engine1|}}}<!--
-->|#default={{{engine1|Source}}}<!--
-->|0|2|source=Source<!--
-->|1|goldsrc|gldsrc=GoldSrc<!--
-->|3|source2=Source 2<!--
-->}} base <!--
-->{{#switch:{{{1|}}}<!--
-->|#default=entities<!--
-->|c2|cvar|convar|console variable=console variables<!--
-->|c1|command|console command=console commands<!--
-->|c0|QC command=QC commands<!--
-->|s0|pixel shader=pixel shaders<!--
-->|s1|vertex shader=vertex shaders<!--
-->|s2|shader parameter=shader parameters<!--
-->}}]]}}}}<!--
-->{{#if:{{{engine2|}}}|{{Main other|[[Category:<!--
-->{{#switch:{{{engine2|}}}<!--
-->|#default={{{engine2|Source}}}<!--
-->|0|2|source|Source=Source<!--
-->|1|goldsrc|gldsrc|GoldSrc=GoldSrc<!--
-->|3|source2|Source 2=Source 2<!--
-->}} base <!--
-->{{#switch:{{{1|}}}<!--
-->|#default=entities<!--
-->|c2|cvar|convar|console variable=console variables<!--
-->|c1|command|console command=console commands<!--
-->|c0|QC command=QC commands<!--
-->|s0|pixel shader=pixel shaders<!--
-->|s1|vertex shader=vertex shaders<!--
-->|s2|shader parameter=shader parameters<!--
-->}}]]}}}}}}<!--


-->{{#if:{{{engine|}}}|{{ {{{engine}}} topicon|nocat=1}} }}<!--
++ Cut entities ++
-->{{#if:{{{engine1|}}}|{{ {{{engine1}}} topicon|nocat=1}} }}<!--
-->{{#if:{{{engine2|}}}|{{ {{{engine2}}} topicon|nocat=1}} }}<!--


-->{{#if:{{{engine|}}}{{{game|}}}{{{series|}}}||{{source topicon|nocat=1}} }}<!--
-->{{#switch:{{{cut|}}}||0=|{{Main other|[[Category:Cut Entities]]|}}}}<!--


    Warning if {{{1}}} is not present
-->}}<!-- end if nocat != 0


--><includeonly>{{#if:{{{1|}}}||{{warning|{{this is a/strings|missing parameter }} }} }}</includeonly><!--
--></onlyinclude></includeonly><!--


--><noinclude>{{doc}}</noinclude>
-->[[Category:Templates]]<!--
-->[[Category:Formatting templates]]<!--
-->[[Category:Entity Templates]]<!--
-->[[Category:FGD Templates]]

Revision as of 20:41, 18 May 2024

Icon-edit.png
This template is currently being rewritten.
The rewrite can be found at User:Pee/Sandbox/this is a. You can discuss the changes here.

This rewrite is complete except for translations. You can help by adding translations to its strings page.

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)

#switch: