Template:Ent: Difference between revisions
Jump to navigation
Jump to search
(-moved documentation to its own page) |
1416006136 (talk | contribs) (move from {{point ent}}) |
||
Line 1: | Line 1: | ||
{{lang|Template:Ent}} | {{lang|Template:Ent}}<!-- | ||
<onlyinclude><includeonly><code style=padding:0>[[{{{1}}}{{{suf|}}}|{{{alt|{{{1}}}}}}]]{{#if:{{{2|}}}| {{{2}}}|}}</code></includeonly></onlyinclude> | |||
--><onlyinclude><includeonly>{{#switch:{{{mode|}}}|entity=<!-- | |||
-->{{#switch:{{{type|}}}|#default={{#switch:{{lc:{{{internal}}}}} | |||
| 1 | |||
| true = | |||
| #default = {{main other|[[Category:Non-internal entity{{{suf|}}}]]}} | |||
}}{{#if: {{{sprite|}}} | |||
| [[File:{{#ifeq: {{{sprite}}} | |||
| 1 | |||
| {{{1|{{PAGENAME}}}}}.png | |||
| {{{sprite}}} | |||
}}|left|link=]] | |||
}} | |||
|e0 | |||
|e2={{main other|[[Category:Non-internal entity{{{suf|}}}]]}} | |||
|e1 | |||
|e3={{main other|[[Category:Internal entities{{{suf|}}}]]}}}}<!-- | |||
-->{{#if:{{{1|}}}|{{#if:{{{notitlechange|}}}||{{DISPLAYTITLE:{{Code|select=1|background=transparent|{{{1|}}}}}|noreplace}}}}{{Code|select=1|<!---->{{{1|}}}<!---->}}|{{#switch:{{{this|}}}|#default={{#switch:{{{suf|}}}|#default={{{this|This}}}|:ru={{{this|Это}}}|:zh-cn={{{this|这}}}}}|0=}} }}<!-- | |||
-->{{#switch:{{{suf|}}} | |||
|#default= | |||
|:ru= | |||
|:zh-cn=}}<!-- | |||
-->{{#switch:{{{suf|}}} | |||
|#default=is a | |||
|:ru={{#if:{{{1|}}}|- это}} | |||
|:zh-cn=是一个}}<!-- | |||
-->{{#switch:{{lc:{{{cut}}}}} | |||
| 1 | |||
| true = cutᅠ [[Category:Cut Entities{{{suf|}}}]] | |||
| #default =}}<!-- | |||
-->{{#if:{{{internal|}}} | |||
| [[internal entity|internal]]{{Main other|[[Category:Internal entities{{{suf|}}}]]|}} | |||
}}<!-- | |||
-->{{#switch:{{{suf|}}} | |||
|#default= | |||
|:zh-cn=}}<!-- | |||
-->{{#switch:{{{type|}}} | |||
|#default={{{type|}}}[[point entity|{{#switch:{{{suf|}}} | |||
|#default=point entity | |||
|:es=entidad de punto | |||
|:ru=точечная сущность | |||
|:zh-cn=点实体}}]] | |||
|e0=[[point entity{{{suf|}}}|{{#switch:{{{suf|}}} | |||
|#default=point entity | |||
|:es=entidad de punto | |||
|:ru=точечная сущность | |||
|:zh-cn=点实体}}]] | |||
|e1=[[internal entity{{{suf|}}}|{{#switch:{{{suf|}}} | |||
|#default=internal | |||
|:ru=внутренняя | |||
|:zh-cn=内部的}}]]{{#switch:{{{suf|}}}|#default= |:zh-cn=}}[[point entity{{{suf|}}}|{{#switch:{{{suf|}}}|#default=point entity|:ru=точечная сущность|:zh-cn=点实体}}]] | |||
|e2=[[brush entity{{{suf|}}}|{{#switch:{{{suf|}}} | |||
|#default=brush entity | |||
|:es=entidad de sólido | |||
|:ru=брашевая сущность | |||
|:zh-cn=固实体}}]] | |||
|e3=[[internal entity{{{suf|}}}|{{#switch:{{{suf|}}} | |||
|#default=internal | |||
|:ru=внутренняя | |||
|:zh-cn=内部的}}]]{{#switch:{{{suf|}}}|#default= |:zh-cn=}}[[brush entity{{{suf|}}}|{{#switch:{{{suf|}}}|#default=brush entity|:ru=брашевая сущность|:zh-cn=固实体}}]] | |||
|e4=[[mesh entity{{{suf|}}}|{{#switch:{{{suf|}}} | |||
|#default=mesh entity | |||
|:ru=мешевая сущность | |||
|:zh-cn=网格实体}}]] | |||
|e5=[[path entity{{{suf|}}}|{{#switch:{{{suf|}}} | |||
|#default=path entity | |||
|:zh-cn=路径实体}}]] | |||
}}{{#switch:{{{suf|}}} | |||
|#default= available in | |||
|:ru=, доступная | |||
|:zh-cn=存在于}}<!-- | |||
-->{{#switch:{{{suf|}}} | |||
|#default= | |||
|:zh-cn={{#if:{{{game|}}}{{{series|}}}| |}}}}<!-- | |||
-->{{#switch: {{{series|1}}} | |||
| l4ds | |||
| l4d | |||
| Left 4 Dead={{#switch:{{{suf|}}}|#default=the|:ru=в|:zh-cn=}} {{l4dseries|4|suf={{#switch:{{{suf|}}}|#default=|:zh-cn=:zh-cn}}}} | |||
| #default={{#switch:{{{suf|}}}|#default=the|:ru=в серии игр|:zh-cn=}} [[{{{series}}}]] {{#switch:{{{suf|}}}|#default=series|:ru=|:zh-cn=系列}} | |||
| 1={{#if: {{{seriescs|}}} | |||
| {{#switch:{{{suf|}}}|#default=the|:ru=в серии игр|:zh-cn=}} [[{{{seriescs}}}]] {{#switch:{{{suf|}}}|#default=series|:ru=|:zh-cn=系列}} <!-- | |||
-->{{#if:{{{game|}}} | |||
| ({{#switch:{{{suf|}}}|#default=since|:ru=начиная с|:zh-cn=自从}} {{#ifexist:{{{game}}}{{{suf}}}|{{{{game icon name|{{{game}}}}}|4|suf={{{suf|}}}}}|{{{{game icon name|{{{game}}}}}|4}}}}{{#switch:{{{suf|}}}|#default=|:zh-cn= 以来}}) | |||
}} | |||
| {{#if: {{{game|}}} | |||
| {{#if: {{{icon|}}} | {{{{{icon}}}|3}} | {{#switch:{{{suf|}}}|#default=|:ru=в|:zh-cn=}} {{#ifexist:{{{game}}}{{{suf}}}|{{{{game icon name|{{{game}}}}}|4|suf={{{suf|}}}}}|{{{{game icon name|{{{game}}}}}|4}}}} }} | |||
| {{#switch:{{{suf|}}}|#default=all|:ru=во всех играх на движке|:zh-cn=所有的}} {{#switch:{{{engine|}}}|#default={{{engine|{{source|4|suf={{{suf|}}}}}}}} | |||
|1={{gldsrc|4|suf={{{suf|}}}}} | |||
|2={{source|4|suf={{{suf|}}}}} | |||
|3={{source2|4|suf={{{suf|}}}}} | |||
}}{{#switch:{{{suf|}}} | |||
|#default= games | |||
|:ru= | |||
|:zh-cn= 游戏}}<!-- | |||
-->{{#if: {{{since|}}}|{{#switch:{{{suf|}}} | |||
|#default= since | |||
|:ru=, начиная с | |||
|:zh-cn=自从 }}<!-- | |||
-->{{#switch:{{{since|}}} | |||
|#default={{#ifexist:{{{since}}}{{{suf}}}|{{{{game icon name|{{{since}}}}}|4|suf={{{suf|}}}}}|{{{{game icon name|{{{since}}}}}|4}}}}}}<!-- | |||
-->{{#switch:{{{suf|}}}|#default=|:zh-cn= 以来}} }} | |||
}} | |||
}} | |||
}}<!-- | |||
-->{{#switch:{{{suf|}}} | |||
|#default=. | |||
|:zh-cn=。}}<!-- | |||
-->{{#if: {{{game|}}} | |||
| {{Main other|[[Category:{{{game}}} Entities{{{suf|}}}]]}} | |||
| {{#if: {{{series|}}} | |||
| {{Main other|[[Category:{{{series}}} Entities{{{suf|}}}]]}} | |||
| {{#if: {{{seriescs|}}} | |||
| {{Main other|[[Category:{{{seriescs}}}: Source Entities{{{suf|}}}]]}} | |||
| {{Main other|[[Category:Source Base Entities{{{suf|}}}]]}} | |||
}} | |||
}} | |||
}}<!-- | |||
-->{{Main other|[[Category:Point Entities{{{suf|}}}]]}}<!-- | |||
-->|#default=<code style=padding:0>[[{{{1}}}{{{suf|}}}|{{{alt|{{{1}}}}}}]]{{#if:{{{2|}}}| {{{2}}}|}}</code>}}</includeonly></onlyinclude> | |||
{{doc|docpage=Template:Point ent/doc}} | |||
<!-- Add categories to the /doc subpage, not here --> | |||
{{documentation}} | {{documentation}} | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]] |
Revision as of 00:21, 23 January 2023
The above documentation is transcluded from Template:Ent/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.