Template:This is a/sandbox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
1416006136 (talk | contribs) (an experiment) |
||
Line 1: | Line 1: | ||
{{This is a|s2|name= | {{todo|Use a strings subpage to reduce duplication, aswell to clean up Autolang in the code, moving all translations to strings subpage.}} | ||
< | {{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:{{{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:{{{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= | |||
|1|true=[[internal entity|internal]] | |||
}} {{{1|}}} | |||
|e0|point = [[point entity]] | |||
|e1|int point = [[internal entity|internal]] [[point entity]] | |||
|e2|brush = [[brush entity]] | |||
|e3|int brush = [[internal entity|internal]] [[brush entity]] | |||
|e4|mesh = [[mesh entity]] | |||
|e5|path = [[path entity]] | |||
|c0|QC command = [[:Category:QC Commands|QC command]] | |||
|c1|command = [[Developer console#submitting|console command]] | |||
|c2|cvar|convar = [[Console variable|console variable]] | |||
|s0|pixel shader=[[Shader#Pixel shaders|pixel shader]] | |||
|s1|vertex shader=[[Shader#vertex shaders|vertex shader]] | |||
|s2|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:{{{1}}} | |||
|#default = {{#switch:{{{internal|}}} | |||
|#default= | |||
|1|true=[[internal entity|internan estaĵon]] | |||
}} {{{1|}}} | |||
|e0|point = [[point entity|punktan estaĵon]] | |||
|e1|int point = [[internal entity|internan]] [[point entity|punktan estaĵon]] | |||
|e2|brush = [[brush entity|superaĵan estaĵon]] | |||
|e3|int brush = [[internal entity|internan]] [[brush entity|superaĵan estaĵon]] | |||
|e4|mesh = [[mesh entity|retan estaĵon]] | |||
|e5|path = [[path entity|vojan estaĵon]] | |||
|c0|QC command = [[:Category:QC Commands|QC command]] | |||
|c1|command = [[Developer console#submitting|console command]] | |||
|c2|cvar|convar = [[Console variable|console variable]] | |||
|s0|pixel shader=[[Shader#Pixel shaders|pixel shader]] | |||
|s1|vertex shader=[[Shader#vertex shaders|vertex shader]] | |||
|s2|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:{{{1}}} | |||
|#default = {{#switch:{{{internal|}}} | |||
|#default= | |||
|1|true=[[internal entity|internal]] | |||
}} {{{1|}}} | |||
|e0|point = [[point entity|точечная сущность]] | |||
|e1|int point = [[internal entity|внутренняя]] [[point entity|точечная сущность]] | |||
|e2|brush = [[brush entity|брашевая сущность]] | |||
|e3|int brush = [[internal entity|внутренняя]] [[brush entity|брашевая сущность]] | |||
|e4|mesh = [[mesh entity|мешевая сущность]] | |||
|e5|path = [[path entity]] | |||
|c0|QC command = [[:Category:QC Commands|QC команда]] | |||
|c1|command = [[Developer console#submitting|консольная команда]] | |||
|c2|cvar|convar = [[console variable|консольная переменная]] | |||
|s0|pixel shader=[[Shader#Pixel shaders|пиксельный шейдер]] | |||
|s1|vertex shader=[[Shader#vertex shaders|вертексный шейдер]] | |||
|s2|shader parameter=[[material|материальный]] [[shader|шейдерный]] параметр | |||
}}<!-- | |||
-->, доступная | |||
|zh={{#if:{{{name|}}} | |||
|{{Code|select=all| {{{name}}} }} | |||
|{{#ifeq:{{{this|}}}|0||{{{this|这}}} }} | |||
}}<!-- | |||
-->是一个<!-- | |||
-->{{#switch:{{{cut|}}}||0=|被移除的}}{{#switch:{{{1}}} | |||
|#default = {{#switch:{{{internal|}}} | |||
|#default= | |||
|1|true=[[internal entity|内部的]] | |||
}}{{{1|}}} | |||
|e0|point = [[point entity|点实体]] | |||
|e1|int point = [[internal entity|内部的]][[point entity|点实体]] | |||
|e2|brush = [[brush entity|固实体]] | |||
|e3|int brush = [[internal entity|内部的]][[brush entity|固实体]] | |||
|e4|mesh = [[mesh entity|网格实体]] | |||
|e5|path = [[path entity|路径实体]] | |||
|c0|QC command = [[:Category:QC Commands|QC 命令]] | |||
|c1|command = [[Developer console#submitting|控制台命令]] | |||
|c2|cvar|convar = [[Console variable|控制台变量]] | |||
|s0|pixel shader=[[Shader#Pixel shaders|像素着色器]] | |||
|s1|vertex shader=[[Shader#vertex shaders|顶点着色器]] | |||
|s2|shader parameter=[[material|材质]][[shader|着色器]]参数 | |||
}}<!-- | |||
-->存在于{{#if:{{{game|}}}{{{series|}}}|{{#if:{{{series|}}}| |{{#if:{{{game1|}}}|| }}}}}}<!-- | |||
-->}}<!-- | |||
+ game series + | |||
-->{{#switch: {{{series|1}}} | |||
| l4ds | |||
| l4d | |||
| Left 4 Dead={{Autolang|the|ru=в|zh=}} {{l4dseries|{{#ifeq:{{{icon|0}}}|0|4|3}}|suf={{Autolang||zh=:zh-cn}}}} | |||
| #default={{Autolang|the|ru=в серии игр|zh=}} [[{{{series}}}]] {{Autolang|series|ru=|zh=系列}} | |||
| 1={{#if: {{{seriescs|}}} | |||
| {{Autolang|the|ru=в серии игр|zh=}} [[{{{seriescs}}}]] {{Autolang|series|ru=|zh=系列}} <!-- | |||
+ games + | |||
-->{{#if:{{{game|}}} | |||
| ({{Autolang|since|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|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|4}} | |||
|2|source={{source|4}} | |||
|3|source2={{source2|4}} | |||
}}{{#if:{{{engine2|}}}| and {{#switch:{{{engine2|}}}|#default={{{engine2|{{source|4}}}}} | |||
|1|goldsrc|gldsrc={{gldsrc|4}} | |||
|2|source={{source|4}} | |||
|3|source2={{source2|4}} | |||
}}}}}}<!-- | |||
--> games or engine branches:<br><!-- | |||
-->|zh=以下 {{#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|}}}|、| 和 }}{{#switch:{{{engine1|}}}|#default={{{engine1|{{source|4}}}}} | |||
|1|goldsrc|gldsrc={{gldsrc|4}} | |||
|2|source={{source|4}} | |||
|3|source2={{source2|4}} | |||
}}{{#if:{{{engine2|}}}| 和 {{#switch:{{{engine2|}}}|#default={{{engine2|{{source|4}}}}} | |||
|1|goldsrc|gldsrc={{gldsrc|4}} | |||
|2|source={{source|4}} | |||
|3|source2={{source2|4}} | |||
}}}}}}<!-- | |||
--> 游戏:<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|4}} | |||
|2|source={{source|4}} | |||
|3|source2={{source2|4}} | |||
}}{{#if:{{{engine2|}}}| and {{#switch:{{{engine2|}}}|#default={{{engine2|{{source|4}}}}} | |||
|1|goldsrc|gldsrc={{gldsrc|4}} | |||
|2|source={{source|4}} | |||
|3|source2={{source2|4}} | |||
}}}}}}<!-- | |||
--> играх:<br> | |||
}}<!-- | |||
-->{{#ifexist: Template:{{{game|}}} | {{ {{{game}}} |4}} | {{ {{game icon name|{{{game}}} }}|4}} }}<!-- | |||
-->{{#if:{{{game2|}}}|{{Autolang|, |zh=、}}|{{Autolang| and |zh= 和 }}}}<!-- | |||
-->{{#ifexist: Template:{{{game1|}}} | {{ {{{game1}}} |4}} | {{ {{game icon name|{{{game1}}} }}|4}} }}<!-- | |||
-->{{#if:{{{game2|}}}|{{#if:{{{game3|}}}|{{Autolang|, |zh=、}}|{{Autolang| and |zh= 和 }}}}{{#ifexist: Template:{{{game2|}}} | {{ {{{game2}}} |4}} | {{ {{game icon name|{{{game2}}} }}|4}} }} }}<!-- | |||
-->{{#if:{{{game3|}}}|{{#if:{{{game4|}}}|{{Autolang|, |zh=、}}|{{Autolang| and |zh= 和 }}}}{{#ifexist: Template:{{{game3|}}} | {{ {{{game3}}} |4}} | {{ {{game icon name|{{{game3}}} }}|4}} }} }}<!-- | |||
-->{{#if:{{{game4|}}}|{{#if:{{{game5|}}}|{{Autolang|, |zh=、}}|{{Autolang| and |zh= 和 }}}}{{#ifexist: Template:{{{game4|}}} | {{ {{{game4}}} |4}} | {{ {{game icon name|{{{game4}}} }}|4}} }} }}<!-- | |||
-->{{#if:{{{game5|}}}|{{Autolang| and |eo= kaj |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=所有的}} {{#switch:{{{engine|}}}|#default={{{engine|{{source|4}}}}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}} | |||
|1|goldsrc|gldsrc={{gldsrc|4}}{{#if:{{{nocat|}}}||{{gldsrc topicon|nocat=1}}}} | |||
|2|source={{source|4}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}} | |||
|3|source2={{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|4}}{{#if:{{{nocat|}}}||{{gldsrc topicon|nocat=1}}}} | |||
|2|source={{source|4}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}} | |||
|3|source2={{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|4}}{{#if:{{{nocat|}}}||{{gldsrc topicon|nocat=1}}}} | |||
|2|source={{source|4}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}} | |||
|3|source2={{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|4}}{{#if:{{{nocat|}}}||{{gldsrc topicon|nocat=1}}}} | |||
|2|source={{source|4}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}} | |||
|3|source2={{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|4}}{{#if:{{{nocat|}}}||{{gldsrc topicon|nocat=1}}}} | |||
|2|source={{source|4}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}} | |||
|3|source2={{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}} }} }}} }} | |||
|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}} | |||
|eo= post | |||
|ru=, начиная с | |||
|zh=,自从 }}<!-- | |||
-->{{#ifexist: Template:{{{since|}}} | {{ {{{since}}} |4}} | {{ {{game icon name|{{{since}}} }}|4}} }} {{Autolang||zh=以来}} }}<!-- | |||
-->{{#if: {{{before|}}} | |||
| {{Autolang | |||
| {{#if:{{{since|}}}|until|before}} | |||
|eo= antaŭe | |||
|zh= (存在于 | |||
|ru=, до}} {{#ifexist: Template:{{{before|}}} | {{ {{{before}}} |4}} | {{ {{game icon name|{{{before}}} }}|4}} }} {{Autolang||zh=以前)}} }} | |||
}} | |||
}} | |||
}}<!-- | |||
++ "." ++ | |||
-->{{Autolang | |||
|. | |||
|zh=。}}<!-- | |||
+ 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={{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|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 variables | |||
|c1|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 variables | |||
|c1|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 variables | |||
|c1|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 variables | |||
|c1|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 variables | |||
|c1|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 variables | |||
|c1|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 variables<!-- | |||
-->|c1|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 variables<!-- | |||
-->|c1|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 variables<!-- | |||
-->|c1|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 variables | |||
|c1|command=console commands | |||
|c0|QC command=QC commands | |||
|s0|pixel shader=pixel shaders | |||
|s1|vertex shader=vertex shaders | |||
|s2|shader parameter=shader parameters | |||
}}]]}} | |||
}} | |||
}} | |||
}}<!-- | |||
++ Engines Categories ++ | |||
-->{{#if:{{{game|}}}|{{#if:{{{engine|}}}{{{engine1|}}}{{{engine2|}}}|{{Main other|[[Category:<!-- | |||
-->{{#switch:{{{engine|}}}<!-- | |||
-->|#default={{{engine|Source}}}<!-- | |||
-->|0|2|source=Source<!-- | |||
-->|1|goldsrc|gldsrc=GoldSrc<!-- | |||
-->|3|source2=Source 2<!-- | |||
-->}} base <!-- | |||
-->{{#switch:{{{1|}}}<!-- | |||
-->|#default=entities<!-- | |||
-->|c2|cvar|convar=console variables<!-- | |||
-->|c1|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|[[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 variables<!-- | |||
-->|c1|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|[[Category:<!-- | |||
-->{{#switch:{{{engine2|}}}<!-- | |||
-->|#default={{{engine2|Source}}}<!-- | |||
-->|0|2|source=Source<!-- | |||
-->|1|goldsrc|gldsrc=GoldSrc<!-- | |||
-->|3|source2=Source 2<!-- | |||
-->}} base <!-- | |||
-->{{#switch:{{{1|}}}<!-- | |||
-->|#default=entities<!-- | |||
-->|c2|cvar|convar=console variables<!-- | |||
-->|c1|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|[[Category:<!-- | |||
-->{{#switch:{{{engine|}}}<!-- | |||
-->|#default={{{engine|Source}}}<!-- | |||
-->|0|2|source=Source<!-- | |||
-->|1|goldsrc|gldsrc=GoldSrc<!-- | |||
-->|3|source2=Source 2<!-- | |||
-->}} base <!-- | |||
-->{{#switch:{{{1|}}}<!-- | |||
-->|#default=entities<!-- | |||
-->|c2|cvar|convar=console variables<!-- | |||
-->|c1|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|[[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 variables<!-- | |||
-->|c1|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|[[Category:<!-- | |||
-->{{#switch:{{{engine2|}}}<!-- | |||
-->|#default={{{engine2|Source}}}<!-- | |||
-->|0|2|source=Source<!-- | |||
-->|1|goldsrc|gldsrc=GoldSrc<!-- | |||
-->|3|source2=Source 2<!-- | |||
-->}} base <!-- | |||
-->{{#switch:{{{1|}}}<!-- | |||
-->|#default=entities<!-- | |||
-->|c2|cvar|convar=console variables<!-- | |||
-->|c1|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 =[[Category:Point Entities]] | |||
|e1|int point=[[Category:Point Entities]] | |||
|e2|brush =[[Category:Brush Entities]] | |||
|e3|int point=[[Category:Brush Entities]] | |||
|e4|mesh =[[Category:Mesh Entities]] | |||
|e5|path =[[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|s0|s1|pixel shader|vertex shader=|s2|shader parameter=<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
++ 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 21:58, 9 December 2023
Todo: Use a strings subpage to reduce duplication, aswell to clean up Autolang in the code, moving all translations to strings subpage.
The above documentation is transcluded from Template:This is a/sandbox/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.