Template:This is a: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
1416006136 (talk | contribs) (convert indentation to tabs) |
||
Line 5: | Line 5: | ||
-->{{#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=}} }}<!-- | -->{{#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|}}} | -->{{#if:{{{sprite|}}} | ||
Line 13: | Line 13: | ||
-->}}<!-- | -->}}<!-- | ||
++ Icon for game ++ | |||
-->{{#switch: {{{icon|0}}} | -->{{#switch: {{{icon|0}}} | ||
Line 21: | Line 21: | ||
}}<!-- | }}<!-- | ||
++ "This is a ______ available in" ++ | |||
-->{{Autolang | -->{{Autolang | ||
Line 46: | Line 46: | ||
|s0|pixel shader=[[Shader#Pixel shaders|pixel shader]] | |s0|pixel shader=[[Shader#Pixel shaders|pixel shader]] | ||
|s1|vertex shader=[[Shader#vertex shaders|vertex 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 | --> available{{#if:{{{shader|}}}| on the {{Shader Name|{{{shader|}}}}} shader|}} in | ||
Line 72: | Line 72: | ||
|s0|pixel shader=[[Shader#Pixel shaders|pixel shader]] | |s0|pixel shader=[[Shader#Pixel shaders|pixel shader]] | ||
|s1|vertex shader=[[Shader#vertex shaders|vertex shader]] | |s1|vertex shader=[[Shader#vertex shaders|vertex shader]] | ||
|s2|shader parameter=[[material]] [[shader]] parameter | |||
}}<!-- | }}<!-- | ||
--> uzeblan en | --> uzeblan en | ||
Line 97: | Line 97: | ||
|s0|pixel shader=[[Shader#Pixel shaders|пиксельный шейдер]] | |s0|pixel shader=[[Shader#Pixel shaders|пиксельный шейдер]] | ||
|s1|vertex shader=[[Shader#vertex shaders|вертексный шейдер]] | |s1|vertex shader=[[Shader#vertex shaders|вертексный шейдер]] | ||
|s2|shader parameter=[[material|материальный]] [[shader|шейдерный]] параметр | |||
}}<!-- | }}<!-- | ||
-->, доступный | -->, доступный | ||
Line 122: | Line 122: | ||
|s0|pixel shader=[[Shader#Pixel shaders|像素着色器]] | |s0|pixel shader=[[Shader#Pixel shaders|像素着色器]] | ||
|s1|vertex shader=[[Shader#vertex shaders|顶点着色器]] | |s1|vertex shader=[[Shader#vertex shaders|顶点着色器]] | ||
|s2|shader parameter=[[material|材质]][[shader|着色器]]参数 | |||
}}<!-- | }}<!-- | ||
-->存在于{{#if:{{{game|}}}{{{series|}}}|{{#if:{{{series|}}}| |{{#if:{{{game1|}}}|| }}}}}}<!-- | -->存在于{{#if:{{{game|}}}{{{series|}}}|{{#if:{{{series|}}}| |{{#if:{{{game1|}}}|| }}}}}}<!-- | ||
Line 147: | Line 147: | ||
|s0|pixel shader=[[Shader#Pixel shaders|piksel shader]] | |s0|pixel shader=[[Shader#Pixel shaders|piksel shader]] | ||
|s1|vertex shader=[[Shader#vertex shaders|vertex shader]] | |s1|vertex shader=[[Shader#vertex shaders|vertex shader]] | ||
|s2|shader parameter=[[material|materijal]] [[shader|shader]] parametar | |||
}}<!-- | }}<!-- | ||
--> dostupan u{{#if:{{{game|}}}{{{series|}}}|{{#if:{{{series|}}}| |{{#if:{{{game1|}}}|| }}}}}}<!-- | --> dostupan u{{#if:{{{game|}}}{{{series|}}}|{{#if:{{{series|}}}| |{{#if:{{{game1|}}}|| }}}}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
+ game series + | |||
-->{{#switch: {{{series|1}}} | -->{{#switch: {{{series|1}}} | ||
Line 167: | Line 167: | ||
| {{Autolang|the|ru=в серии игр|hr=|zh=}} [[{{{seriescs}}}]] {{Autolang|series|ru=|hr=seriji|zh=系列}} <!-- | | {{Autolang|the|ru=в серии игр|hr=|zh=}} [[{{{seriescs}}}]] {{Autolang|series|ru=|hr=seriji|zh=系列}} <!-- | ||
+ games + | |||
-->{{#if:{{{game|}}} | -->{{#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|}}} | | {{#if: {{{game|}}} | ||
| <!-- Multiple games -->{{#if:{{{game1|}}} | |||
| {{Autolang | |||
|the following {{#switch:{{{engine|}}} | |||
|#default={{{engine|{{Source|4.1}}}}} | |#default={{{engine|{{Source|4.1}}}}} | ||
|1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4.1}} | |1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4.1}} | ||
Line 220: | Line 220: | ||
}}}}}}<!-- | }}}}}}<!-- | ||
--> igrama ili pogonskim granama<br> | --> igrama ili pogonskim granama<br> | ||
|ru=в следующих {{#switch:{{{engine|}}} | |||
|#default={{{engine|{{Source|4.1}}}}} | |#default={{{engine|{{Source|4.1}}}}} | ||
|1|goldsrc|gldsrc={{gldsrc|4.1}} | |1|goldsrc|gldsrc={{gldsrc|4.1}} | ||
Line 235: | Line 235: | ||
}}}}}}<!-- | }}}}}}<!-- | ||
--> играх:<br> | --> играх:<br> | ||
}}<!-- | |||
-->{{#ifexist: Template:{{{game|}}} | {{ {{{game}}} |4}} | {{ {{game icon name|{{{game}}} }}|4}} }}<!-- | |||
-->{{#if:{{{game2|}}}|{{Autolang|, |zh=、|hr=}}|{{Autolang| and |zh= 和 |hr= i }}}}<!-- | -->{{#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}}}} | |||
|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}}}} | |||
}}<!-- | |||
-->{{Autolang|1={{#if:{{{engine1|}}}|{{#if:{{{engine2|}}}|, | and }}{{#switch:{{{engine1|}}}|#default={{{engine1|{{source|4}}}}}{{#if:{{{nocat|}}}||{{source 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}}}} | |1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4}}{{#if:{{{nocat|}}}||{{gldsrc topicon|nocat=1}}}} | ||
Line 260: | Line 260: | ||
|3|source2|Source2|Source 2={{source2|4}}{{#if:{{{nocat|}}}||{{source 2 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 | -->{{Autolang | ||
Line 297: | Line 297: | ||
-->{{#if:{{{except|}}}{{{except-multi|}}}|,除了{{{except-multi| {{#ifexist: Template:{{{except|}}} | {{ {{{except}}} |4}} | {{ {{game icon name|{{{except}}} }}|4}} }} }}} 以外 }} | -->{{#if:{{{except|}}}{{{except-multi|}}}|,除了{{{except-multi| {{#ifexist: Template:{{{except|}}} | {{ {{{except}}} |4}} | {{ {{game icon name|{{{except}}} }}|4}} }} }}} 以外 }} | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{since|}}} | |||
|{{Autolang | |{{Autolang | ||
| {{#if:{{{before|}}}|from|since}} | | {{#if:{{{before|}}}|from|since}} | ||
Line 304: | Line 304: | ||
|ru=, начиная с | |ru=, начиная с | ||
|zh=,自从 }}<!-- | |zh=,自从 }}<!-- | ||
-->{{#ifexist: Template:{{{since|}}} | {{ {{{since}}} |4}} | {{ {{game icon name|{{{since}}} }}|4}} }} {{Autolang||zh=以来}} }}<!-- | |||
-->{{#if: {{{before|}}} | |||
| {{Autolang | | {{Autolang | ||
| {{#if:{{{since|}}}|until|before}} | | {{#if:{{{since|}}}|until|before}} | ||
Line 312: | Line 312: | ||
|zh= (存在于 | |zh= (存在于 | ||
|ru=, до}} {{#ifexist: Template:{{{before|}}} | {{ {{{before}}} |4}} | {{ {{game icon name|{{{before}}} }}|4}} }} {{Autolang||zh=以前)}} }} | |ru=, до}} {{#ifexist: Template:{{{before|}}} | {{ {{{before}}} |4}} | {{ {{game icon name|{{{before}}} }}|4}} }} {{Autolang||zh=以前)}} }} | ||
}} | |||
}} | }} | ||
}}<!-- | }}<!-- | ||
++ "." ++ | |||
-->{{ | -->{{Dictionary/common|.}}<!-- | ||
+ Warning (if {{{1}}} is not specified + | + 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]]}}}} 尚未指定。}}}}}}<!-- | -->{{#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|}}} | -->{{#ifeq:{{{nocat|0}}}|0| {{#switch:{{{1|}}} | ||
Line 340: | Line 338: | ||
-->}} }}<!-- | -->}} }}<!-- | ||
+ Entity Categories + | |||
-->{{#ifeq:{{{nocat|0}}}|0|<!-- if nocat != 0, skip the following | -->{{#ifeq:{{{nocat|0}}}|0|<!-- if nocat != 0, skip the following | ||
Line 351: | Line 349: | ||
|c1|command|console command=console commands | |c1|command|console command=console commands | ||
|c0|QC command=QC Commands | |c0|QC command=QC Commands | ||
|s0|pixel shader=pixel shaders | |||
|s1|vertex shader=vertex shaders | |||
|s2|shader parameter=shader parameters | |||
}}<!---->}}}]]}} | }}<!---->}}}]]}} | ||
{{Main other|<!-- | {{Main other|<!-- | ||
Line 430: | Line 428: | ||
-->|c1|command|console command=console commands<!-- | -->|c1|command|console command=console commands<!-- | ||
-->|c0|QC command=QC 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|}}}<!-- | -->{{#switch:{{{series|}}}<!-- | ||
-->|#default=<!-- | -->|#default=<!-- | ||
Line 445: | Line 443: | ||
-->|s0|pixel shader=pixel shaders<!-- | -->|s0|pixel shader=pixel shaders<!-- | ||
-->|s1|vertex shader=vertex shaders<!-- | -->|s1|vertex shader=vertex shaders<!-- | ||
-->|s2|shader parameter=shader parameters<!-- | |||
-->}}]] [[Category:Left 4 Dead 2 <!-- | -->}}]] [[Category:Left 4 Dead 2 <!-- | ||
-->{{#switch:{{{1|}}}<!-- | -->{{#switch:{{{1|}}}<!-- | ||
Line 454: | Line 452: | ||
-->|s0|pixel shader=pixel shaders<!-- | -->|s0|pixel shader=pixel shaders<!-- | ||
-->|s1|vertex shader=vertex shaders<!-- | -->|s1|vertex shader=vertex shaders<!-- | ||
-->|s2|shader parameter=shader parameters<!-- | |||
-->}}]]<!-- | -->}}]]<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 460: | Line 458: | ||
<!-- else if not {{{series}}} --> | <!-- else if not {{{series}}} --> | ||
| {{#if: {{{seriescs|}}} | | {{#if: {{{seriescs|}}} | ||
| {{Main other|[[Category:{{{seriescs}}}: Source <!-- | |||
-->{{#switch:{{{1|}}} | -->{{#switch:{{{1|}}} | ||
|#default=entities | |#default=entities | ||
Line 466: | Line 464: | ||
|c1|command|console command=console commands | |c1|command|console command=console commands | ||
|c0|QC command=QC commands | |c0|QC command=QC commands | ||
|s0|pixel shader=pixel shaders | |||
|s1|vertex shader=vertex shaders | |||
|s2|shader parameter=shader parameters | |||
}}]]}} | }}]]}} | ||
}} | |||
}} | }} | ||
}}<!-- | }}<!-- | ||
Line 490: | Line 488: | ||
-->}}<!-- | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
++ Engines Categories ++ | |||
-->{{#ifeq:{{{game|}}}||{{Main other|[[Category:<!-- | -->{{#ifeq:{{{game|}}}||{{Main other|[[Category:<!-- | ||
-->{{#switch:{{{engine|}}}<!-- | -->{{#switch:{{{engine|}}}<!-- | ||
Line 503: | Line 501: | ||
-->|c1|command|console command=console commands<!-- | -->|c1|command|console command=console commands<!-- | ||
-->|c0|QC command=QC 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:<!-- | -->{{#if:{{{engine1|}}}|{{Main other|[[Category:<!-- | ||
Line 519: | Line 517: | ||
-->|c1|command|console command=console commands<!-- | -->|c1|command|console command=console commands<!-- | ||
-->|c0|QC command=QC 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:<!-- | -->{{#if:{{{engine2|}}}|{{Main other|[[Category:<!-- | ||
Line 535: | Line 533: | ||
-->|c1|command|console command=console commands<!-- | -->|c1|command|console command=console commands<!-- | ||
-->|c0|QC command=QC 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]]|}}}}<!-- | -->{{#switch:{{{cut|}}}||0=|{{Main other|[[Category:Cut Entities]]|}}}}<!-- |
Revision as of 05:50, 10 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.