Template:This is a: Difference between revisions
Jump to navigation
Jump to search
1416006136 (talk | contribs) (1. updated game-linking method; 2. added a warning for not specifying parameter "type"; 3. removed the support for {{{suf}}} and use {{Autolang}} instead) |
|||
Line 1: | Line 1: | ||
{{Entity|ass|type=e0|game=l4d}} | |||
{{Doc}} | {{Doc}} | ||
<includeonly><onlyinclude><!-- | <includeonly><onlyinclude><!-- | ||
Line 30: | Line 31: | ||
+ "This" + | + "This" + | ||
-->{{#if:{{{icon|}}}| }}{{#if:{{{1|}}}|{{#if:{{{notitlechange|}}}||{{DISPLAYTITLE:{{Code|preset=0|select=all|background=transparent|{{{1|}}}}}|noreplace}}}}{{Code|select=all|<!---->{{{1|}}}<!---->}}|{{#switch:{{{this|}}}|#default={{ | -->{{#if:{{{icon|}}}| }}{{#if:{{{1|}}}|{{#if:{{{notitlechange|}}}||{{DISPLAYTITLE:{{Code|preset=0|select=all|background=transparent|{{{1|}}}}}|noreplace}}}}{{Code|select=all|<!---->{{{1|}}}<!---->}}|{{#switch:{{{this|}}}|#default={{Autolang|{{{this|This}}}|eo=ĉi tio|ru={{{this|Это}}}|zh={{{this|这}}}}}|0=}} }}<!-- | ||
++ Space (Chinese doesn't need space) ++ | ++ Space (Chinese doesn't need space) ++ | ||
-->{{ | -->{{Autolang | ||
| | | | ||
| | |eo= | ||
| | |ru= | ||
| | |zh=}}<!-- | ||
++ "is a" ++ | ++ "is a" ++ | ||
-->{{ | -->{{Autolang | ||
|is a | |is a | ||
| | |eo=estas | ||
| | |ru={{#if:{{{1|}}}|— это}} | ||
| | |zh=是一个}}<!-- | ||
++ Cut entities ++ | ++ Cut entities ++ | ||
Line 52: | Line 53: | ||
-->{{#switch:{{lc:{{{cut}}}}} | -->{{#switch:{{lc:{{{cut}}}}} | ||
| 1 | | 1 | ||
| true = {{ | | true = {{Autolang| cut|zh=被移除的}}{{main other|[[Category:Cut Entities{{{suf|}}}]]}} | ||
| #default =}}<!-- | | #default =}}<!-- | ||
++ Space (Chinese doesn't need space) ++ | ++ Space (Chinese doesn't need space) ++ | ||
-->{{ | -->{{Autolang | ||
| | | | ||
| | |zh=}}<!-- | ||
+ Entity types + | + Entity types + | ||
-->{{#switch:{{{type|}}} | -->{{#switch:{{{type|}}} | ||
|#default={{#switch:{{{internal|}}}|#default=|1|true={{ | |#default={{#switch:{{{internal|}}}|#default=|1|true={{Autolang|[[internal entity|internal]] |eo=internan estaĵon|zh=[[internal entity|内部的]]}}}}{{{type|}}} | ||
|e0|point=[[point entity{{{suf|}}}|{{ | |e0|point=[[point entity{{{suf|}}}|{{Autolang | ||
|point entity | |point entity | ||
| | |eo=punktan estaĵon | ||
| | |es=entidad de punto | ||
| | |ru=точечная сущность | ||
| | |zh=点实体}}]] | ||
|e1|int point=[[internal entity{{{suf|}}}|{{ | |e1|int point=[[internal entity{{{suf|}}}|{{Autolang | ||
|internal | |internal | ||
| | |eo=internan | ||
| | |ru=внутренняя | ||
| | |zh=内部的}}]]{{Autolang| |zh=}}[[point entity{{{suf|}}}|{{Autolang|point entity|eo=punktan estaĵon|es=entidad de punto|ru=точечная сущность|zh=点实体}}]] | ||
|e2|brush=[[brush entity{{{suf|}}}|{{ | |e2|brush=[[brush entity{{{suf|}}}|{{Autolang | ||
|brush entity | |brush entity | ||
| | |eo=superaĵan estaĵon | ||
| | |es=entidad de sólido | ||
| | |ru=брашевая сущность | ||
| | |zh=固实体}}]] | ||
|e3|int brush=[[internal entity{{{suf|}}}|{{ | |e3|int brush=[[internal entity{{{suf|}}}|{{Autolang | ||
|internal | |internal | ||
| | |eo=internan | ||
| | |ru=внутренняя | ||
| | |zh=内部的}}]]{{Autolang| |zh=}}[[brush entity{{{suf|}}}|{{Autolang|brush entity|eo=superaĵan estaĵon|ru=брашевая сущность|zh=固实体}}]] | ||
|e4|mesh=[[mesh entity{{{suf|}}}|{{ | |e4|mesh=[[mesh entity{{{suf|}}}|{{Autolang | ||
|mesh entity | |mesh entity | ||
| | |eo=retan estaĵon | ||
| | |ru=мешевая сущность | ||
| | |zh=网格实体}}]] | ||
|e5|path=[[path entity{{{suf|}}}|{{ | |e5|path=[[path entity{{{suf|}}}|{{Autolang | ||
|path entity | |path entity | ||
| | |eo=vojan estaĵon | ||
| | |zh=路径实体}}]] | ||
|convar=[[Developer Console#Submitting|{{ | |convar=[[Developer Console#Submitting|{{Autolang | ||
|console variable | |console variable | ||
| | |zh=控制台变量}}]] | ||
|command=[[Developer Console#Submitting|{{ | |command=[[Developer Console#Submitting|{{Autolang | ||
|console command | |console command | ||
| | |zh=控制台命令}}]] | ||
}}<!-- | }}<!-- | ||
++ "available in" ++ | ++ "available in" ++ | ||
-->{{ | -->{{Autolang | ||
| available in | | available in | ||
| | |eo= uzeblan en | ||
| | |ru=, доступная | ||
| | |zh=存在于}}<!-- | ||
-->{{ | -->{{Autolang| |zh={{#if:{{{game|}}}{{{series|}}}|{{#if:{{{series|}}}| |{{#if:{{{game1|}}}|| }}}}}}}}<!-- | ||
+ game series + | + game series + | ||
Line 119: | Line 120: | ||
| l4ds | | l4ds | ||
| l4d | | l4d | ||
| Left 4 Dead={{ | | Left 4 Dead={{Autolang|the|ru=в|zh=}} {{l4dseries|{{#if:{{{icon|}}}|3|4}}|suf={{Autolang||zh=:zh-cn}}}} | ||
| #default={{ | | #default={{Autolang|the|ru=в серии игр|zh=}} [[{{{series}}}]] {{Autolang|series|ru=|zh=系列}} | ||
| 1={{#if: {{{seriescs|}}} | | 1={{#if: {{{seriescs|}}} | ||
| {{ | | {{Autolang|the|ru=в серии игр|zh=}} [[{{{seriescs}}}]] {{Autolang|series|ru=|zh=系列}} <!-- | ||
+ games + | + games + | ||
-->{{#if:{{{game|}}} | -->{{#if:{{{game|}}} | ||
| ({{ | | ({{Autolang|since|eo=post|ru=начиная с|zh=自从}} {{#ifexist: Template:{{{game|}}} | {{ {{{game}}} |4}} | {{ {{game icon name|{{{game}}} }}|4}} }}{{Autolang||zh= 以来}}) | ||
}} | }} | ||
| {{#if: {{{game|}}} | | {{#if: {{{game|}}} | ||
| <!-- Multiple games -->{{#if:{{{game1|}}}|{{ | | <!-- Multiple games -->{{#if:{{{game1|}}}|{{Autolang|the following {{#switch:{{{engine|}}}|#default={{Source|4.1}}|0|gldsrc={{gldsrc|4.1}}|1|source={{source|4.1}}|2|source2={{source2|4.1}}}} games:<br>|zh=以下 {{source|4}} 游戏:<br>}}<!-- | ||
-->{{#ifexist:{{{game | -->{{#ifexist: Template:{{{game|}}} | {{ {{{game}}} |4}} | {{ {{game icon name|{{{game}}} }}|4}} }}{{#if:{{{game2|}}}|{{Autolang|, |zh=、}}|{{Autolang| and |zh= 和 }}}}<!-- | ||
-->{{#ifexist:{{{game1 | -->{{#ifexist: Template:{{{game1|}}} | {{ {{{game1}}} |4}} | {{ {{game icon name|{{{game1}}} }}|4}} }}<!-- | ||
-->{{#if:{{{game2|}}}|{{#if:{{{game3|}}}|{{ | -->{{#if:{{{game2|}}}|{{#if:{{{game3|}}}|{{Autolang|, |zh=、}}|{{Autolang| and |zh= 和 }}}}{{#ifexist: Template:{{{game2|}}} | {{ {{{game2}}} |4}} | {{ {{game icon name|{{{game2}}} }}|4}} }} }}<!-- | ||
-->{{#if:{{{game3|}}}|{{#if:{{{game4|}}}|{{ | -->{{#if:{{{game3|}}}|{{#if:{{{game4|}}}|{{Autolang|, |zh=、}}|{{Autolang| and |zh= 和 }}}}{{#ifexist: Template:{{{game3|}}} | {{ {{{game3}}} |4}} | {{ {{game icon name|{{{game3}}} }}|4}} }} }}<!-- | ||
-->{{#if:{{{game4|}}}|{{#if:{{{game5|}}}|{{ | -->{{#if:{{{game4|}}}|{{#if:{{{game5|}}}|{{Autolang|, |zh=、}}|{{Autolang| and |zh= 和 }}}}{{#ifexist: Template:{{{game4|}}} | {{ {{{game4}}} |4}} | {{ {{game icon name|{{{game4}}} }}|4}} }} }}<!-- | ||
-->{{#if:{{{game5|}}}|{{ | -->{{#if:{{{game5|}}}|{{Autolang| and |eo= kaj |zh= 和 }}{{#ifexist: Template:{{{game5|}}} | {{ {{{game5}}} |4}} | {{ {{game icon name|{{{game5}}} }}|4}} }} }}<!-- | ||
Single game | Single game | ||
-->|{{ | -->|{{Autolang||ru=в}} {{#ifexist: Template:{{{game|}}} | {{ {{{game}}} |4}} | {{ {{game icon name|{{{game}}} }}|4}} }} }} | ||
| {{ | | {{Autolang|all|eo=ĉiuj|ru=во всех играх на движке|zh=所有的}} {{#switch:{{{engine|}}}|#default={{{engine|{{source|4}}}}} | ||
|1|gldsrc={{gldsrc|4 | |1|gldsrc={{gldsrc|4}} | ||
|2|source={{source|4 | |2|source={{source|4}} | ||
|3|source2={{source2|4 | |3|source2={{source2|4}} | ||
}}{{ | }}{{Autolang | ||
| games | | games | ||
| | |eo= ludoj | ||
| | |ru= | ||
| | |zh= 游戏}}<!-- | ||
-->{{#if: {{{except|}}} | -->{{#if: {{{except|}}} {{{except-multi|}}} | ||
| {{Autolang | |||
| except | | except | ||
| | |eo= krom | ||
| | |zh=,除了 | ||
| | |ru=, за исключением}} {{{except-multi| {{#ifexist: Template:{{{except|}}} | {{ {{{except}}} |4}} | {{ {{game icon name|{{{except}}} }}|4}} }} }}} {{Autolang||zh=以外}} }}<!-- | ||
-->{{#if: {{{since|}}}|{{ | -->{{#if: {{{since|}}}|{{Autolang | ||
| since | | since | ||
| | |eo= post | ||
| | |ru=, начиная с | ||
| | |zh=自从 }}<!-- | ||
-->{{#switch:{{{since|}}} | -->{{#switch:{{{since|}}} | ||
|#default={{#ifexist:{{{since | |#default={{#ifexist: Template:{{{since|}}} | {{ {{{since}}} |4}} | {{ {{game icon name|{{{since}}} }}|4}} }} }}<!-- | ||
-->{{ | -->{{Autolang||zh= 以来}} }}<!-- | ||
-->{{#if: {{{before|}}} | -->{{#if: {{{before|}}} | ||
| {{ | | {{Autolang | ||
| before | | before | ||
| | |eo= antaŭe | ||
| | |zh= (存在于 | ||
| | |ru=, до}} {{#ifexist: Template:{{{before|}}} | {{ {{{before}}} |4}} | {{ {{game icon name|{{{before}}} }}|4}} }} {{Autolang||zh=以前)}} }} | ||
}} | }} | ||
}} | }} | ||
Line 174: | Line 175: | ||
++ "." ++ | ++ "." ++ | ||
-->{{ | -->{{Autolang | ||
|. | |. | ||
|:zh | |zh=。}}<!-- | ||
+ Warning + | |||
-->{{#ifeq:{{{type|}}}||{{Warning|{{Autolang|The necessary parameter {{Code|{{Param|[[Template:Entity|type]]}}}} has not been specified.|zh=必要的参数 {{Code|{{Param|[[Template:Entity|type]]}}}} 尚未指定。}}}}}}<!-- | |||
+ Entity Categories + | + Entity Categories + |