Template:This is a: Difference between revisions
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=}} }}<!-- | |||
+ Icon for entity + | |||
-->{{#if:{{{ | -->{{#if:{{{sprite|}}} | ||
|[[File:{{#ifeq:{{{sprite}}}|1 | |||
|{{{name|{{PAGENAME}}}}}.png | |||
|{{{sprite}}}}}|left|link=]]<!-- | |||
-->}}<!-- | |||
}}<!-- | |||
++ Icon for game ++ | |||
-->{{ | -->{{#switch: {{{icon|0}}} | ||
|#default={{Game icon|{{{icon}}}}} | |||
|1={{Game icon|{{{game}}}}} | |||
|0= | |||
}}<!-- | }}<!-- | ||
++ "This is a ______ available in" ++ | |||
-->{{ | -->{{Autolang | ||
|{{#if:{{{name|}}} | |||
|{{Code|select=all| {{{name}}} }} | |||
}}<!-- | |{{#ifeq:{{{this|}}}|0||{{{this|This}}} }} | ||
}}<!-- | |||
--> is a<!-- | |||
-->{{#switch:{{{cut|}}}||0=| 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|}}}| on the {{Shader Name|{{{shader|}}}}} shader|}} in | |||
|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 | |||
|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|оттенения]] | |||
}}<!-- | |||
-->, доступный | |||
-->{{ | |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|}}}| |{{#if:{{{game1|}}}|| }}}}}}<!-- | |||
-->|hr={{#if:{{{name|}}} | |||
|{{Code|select=all| {{{name}}} }} | |||
|{{#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|}}}| |{{#if:{{{game1|}}}|| }}}}}}<!-- | |||
-->}}<!-- | |||
+ game series + | |||
-->{{#switch: {{{series|1}}} | |||
| 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 + | |||
-->{{#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= 以来}}) | |||
}} | |||
| {{#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|}}}|, | and }}{{#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|}}}| and {{#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|}}}|、| 和 }}{{#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|}}}| 和 {{#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|}}}|, | i }}{{#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|}}}| i {{#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|}}}|, | and }}{{#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|}}}| and {{#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|, |zh=、|hr=}}|{{Autolang| and |zh= 和 |hr= i }}}}<!-- | |||
-->{{#ifexist: Template:{{{game1|}}} | {{ {{{game1}}} |4}} | {{ {{game icon name|{{{game1}}} }}|4}} }}<!-- | |||
-->{{#if:{{{game2|}}}|{{#if:{{{game3|}}}|{{Autolang|, |zh=、}}|{{Autolang| and |hr= i |zh= 和 }}}}{{#ifexist: Template:{{{game2|}}} | {{ {{{game2}}} |4}} | {{ {{game icon name|{{{game2}}} }}|4}} }} }}<!-- | |||
-->{{#if:{{{game3|}}}|{{#if:{{{game4|}}}|{{Autolang|, |zh=、}}|{{Autolang| and |hr= i |zh= 和 }}}}{{#ifexist: Template:{{{game3|}}} | {{ {{{game3}}} |4}} | {{ {{game icon name|{{{game3}}} }}|4}} }} }}<!-- | |||
-->{{#if:{{{game4|}}}|{{#if:{{{game5|}}}|{{Autolang|, |zh=、}}|{{Autolang| and |hr= i |zh= 和 }}}}{{#ifexist: Template:{{{game4|}}} | {{ {{{game4}}} |4}} | {{ {{game icon name|{{{game4}}} }}|4}} }} }}<!-- | |||
-->{{#if:{{{game5|}}}|{{Autolang| and |eo= kaj |hr= i |zh= 和 }}{{#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|}}}|, | and }}{{#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|}}}| and {{#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|}}}|、| i }}{{#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|}}}| i {{#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|}}}|、| 和 }}{{#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|}}}| 和 {{#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.) | |||
-->{{Autolang | |||
| games<!-- | |||
-->{{#if:{{{except|}}}{{{except-multi|}}}| except {{{except-multi| {{#ifexist: Template:{{{except|}}} | {{ {{{except}}} |4}} | {{ {{game icon name|{{{except}}} }}|4}} }} }}} }} | |||
|eo= ludoj<!-- | |||
-->{{#if:{{{except|}}}{{{except-multi|}}}| krom {{{except-multi| {{#ifexist: Template:{{{except|}}} | {{ {{{except}}} |4}} | {{ {{game icon name|{{{except}}} }}|4}} }} }}} }} | |||
|hr= igrama<!-- | |||
-->{{#if:{{{except|}}}{{{except-multi|}}}| osim {{{except-multi| {{#ifexist: Template:{{{except|}}} | {{ {{{except}}} |4}} | {{ {{game icon name|{{{except}}} }}|4}} }} }}} }} | |||
|ru=<!-- | |||
-->{{#if:{{{except|}}}{{{except-multi|}}}|, за исключением {{{except-multi| {{#ifexist: Template:{{{except|}}} | {{ {{{except}}} |4}} | {{ {{game icon name|{{{except}}} }}|4}} }} }}} }} | |||
|zh= 游戏<!-- | |||
-->{{#if:{{{except|}}}{{{except-multi|}}}|,除了{{{except-multi| {{#ifexist: Template:{{{except|}}} | {{ {{{except}}} |4}} | {{ {{game icon name|{{{except}}} }}|4}} }} }}} 以外 }} | |||
}}<!-- | |||
-->{{#if: {{{since|}}} | |||
|{{Autolang | |||
| {{#if:{{{before|}}}|from|since}} | |||
|hr= od | |||
|eo= post | |||
|ru=, начиная с | |||
|zh=,自从 }}<!-- | |||
-->{{#ifexist: Template:{{{since|}}} | {{ {{{since}}} |4}} | {{ {{game icon name|{{{since}}} }}|4}} }} {{Autolang||zh=以来}} }}<!-- | |||
-->{{#if: {{{before|}}} | |||
| {{Autolang | |||
| {{#if:{{{since|}}}|until|before}} | |||
|hr= prije | |||
|eo= antaŭe | |||
|zh= (存在于 | |||
|ru=, до}} {{#ifexist: Template:{{{before|}}} | {{ {{{before}}} |4}} | {{ {{game icon name|{{{before}}} }}|4}} }} {{Autolang||zh=以前)}} }} | |||
}} | |||
}} | |||
}}<!-- | }}<!-- | ||
++ "." ++ | |||
-->{{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]]}}}} 尚未指定。}}}}}}<!-- | |||
- | + Category for (non-)internal entitiy + | ||
-->{{#ifeq:{{{nocat|0}}}|0| {{#switch:{{{1|}}} | |||
|#default=<!-- | |||
-->{{#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=<!-- | |||
-->}} }}<!-- | |||
+ Entity Categories + | |||
-->{{#ifeq:{{{nocat|0}}}|0|<!-- if nocat != 0, skip the following | |||
-->{{#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 | |||
}}]]}} | |||
}} | |||
}} | |||
}}<!-- | }}<!-- | ||
-->{{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<!-- | |||
-->}}]]}}}}}}<!-- | |||
++ Cut entities ++ | |||
-->{{# | -->{{#switch:{{{cut|}}}||0=|{{Main other|[[Category:Cut Entities]]|}}}}<!-- | ||
-->}}<!-- end if nocat != 0 | |||
-->< | --></onlyinclude></includeonly><!-- | ||
-->< | -->[[Category:Templates]]<!-- | ||
-->[[Category:Formatting templates]]<!-- | |||
-->[[Category:Entity Templates]]<!-- | |||
-->[[Category:FGD Templates]] |
Revision as of 20:41, 18 May 2024

This template is currently being rewritten.
The rewrite can be found at User:Pee/Sandbox/this is a. You can discuss the changes here.
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.
The above documentation is transcluded from Template:This is a/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.