Template:This is a: Difference between revisions
Jump to navigation
Jump to search
1416006136 (talk | contribs) mNo edit summary |
1416006136 (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude><includeonly><!-- | <onlyinclude><includeonly><!-- | ||
+ Icon for entity + | |||
-->{{#if: {{{sprite|}}} | -->{{#if: {{{sprite|}}} | ||
| [[File:{{#ifeq: {{{sprite}}} | |||
| 1 | |||
| {{{1|{{PAGENAME}}}}}.png | |||
| {{{sprite}}}}}|left|link=]]}}<!-- | |||
+ Category for (non-)internal entitiy + | |||
-->{{#switch:{{{type|}}} | -->{{#switch:{{{type|}}} | ||
|#default={{#switch:{{lc:{{{internal}}}}} | |#default={{#switch:{{lc:{{{internal}}}}} | ||
| 1 | |||
| true = [[Category:Internal entities{{{suf|}}}]] | |||
| #default = {{main other|[[Category:Non-internal entity{{{suf|}}}]]}} }} | |||
|e2={{main other|[[Category:Non-internal entity{{{suf|}}}]]}} | |e2={{main other|[[Category:Non-internal entity{{{suf|}}}]]}} | ||
|e1|e3={{main other|[[Category:Internal entities{{{suf|}}}]]}}}}<!-- | |e1|e3={{main other|[[Category:Internal entities{{{suf|}}}]]}}}}<!-- | ||
+ "This" + | |||
-->{{#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=}} }}<!-- | -->{{#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=}} }}<!-- | ||
++ Space (Chinese doesn't need space) ++ | |||
-->{{#switch:{{{suf|}}} | -->{{#switch:{{{suf|}}} | ||
Line 19: | Line 29: | ||
|:ru= | |:ru= | ||
|:zh-cn=}}<!-- | |:zh-cn=}}<!-- | ||
++ "is a" ++ | |||
-->{{#switch:{{{suf|}}} | -->{{#switch:{{{suf|}}} | ||
Line 24: | Line 36: | ||
|:ru={{#if:{{{1|}}}|- это}} | |:ru={{#if:{{{1|}}}|- это}} | ||
|:zh-cn=是一个}}<!-- | |:zh-cn=是一个}}<!-- | ||
++ Cut entities ++ | |||
-->{{#switch:{{lc:{{{cut}}}}} | -->{{#switch:{{lc:{{{cut}}}}} | ||
Line 29: | Line 43: | ||
| true = cutᅠ [[Category:Cut Entities{{{suf|}}}]] | | true = cutᅠ [[Category:Cut Entities{{{suf|}}}]] | ||
| #default =}}<!-- | | #default =}}<!-- | ||
++ Space (Chinese doesn't need space) ++ | |||
-->{{#switch:{{{suf|}}} | -->{{#switch:{{{suf|}}} | ||
|#default= | |#default= | ||
|:zh-cn=}}<!-- | |:zh-cn=}}<!-- | ||
+ Entity types + | |||
-->{{#switch:{{{type|}}} | -->{{#switch:{{{type|}}} | ||
Line 62: | Line 80: | ||
|:zh-cn=路径实体}}]] | |:zh-cn=路径实体}}]] | ||
}}<!-- | }}<!-- | ||
++ "available in" ++ | |||
-->{{#switch:{{{suf|}}} | -->{{#switch:{{{suf|}}} | ||
Line 69: | Line 89: | ||
-->{{#switch:{{{suf|}}}|#default= |:zh-cn={{#if:{{{game|}}}{{{series|}}}| |}}}}<!-- | -->{{#switch:{{{suf|}}}|#default= |:zh-cn={{#if:{{{game|}}}{{{series|}}}| |}}}}<!-- | ||
+ game series + | |||
-->{{#switch: {{{series|1}}} | -->{{#switch: {{{series|1}}} | ||
Line 77: | Line 99: | ||
| 1={{#if: {{{seriescs|}}} | | 1={{#if: {{{seriescs|}}} | ||
| {{#switch:{{{suf|}}}|#default=the|:ru=в серии игр|:zh-cn=}} [[{{{seriescs}}}]] {{#switch:{{{suf|}}}|#default=series|:ru=|:zh-cn=系列}} <!-- | | {{#switch:{{{suf|}}}|#default=the|:ru=в серии игр|:zh-cn=}} [[{{{seriescs}}}]] {{#switch:{{{suf|}}}|#default=series|:ru=|:zh-cn=系列}} <!-- | ||
-->{{#if:{{{game|}}} | |||
+ games + | |||
-->{{#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= 以来}}) | | ({{#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= 以来}}) | ||
}} | }} | ||
Line 105: | Line 130: | ||
}} | }} | ||
}}<!-- | }}<!-- | ||
++ "." ++ | |||
-->{{#switch:{{{suf|}}} | -->{{#switch:{{{suf|}}} | ||
|#default=. | |#default=. | ||
|:zh-cn=。}}<!-- | |:zh-cn=。}}<!-- | ||
+ Entity Categories + | |||
-->{{#if: {{{game|}}} | -->{{#if: {{{game|}}} | ||
Line 120: | Line 149: | ||
}} | }} | ||
}}<!-- | }}<!-- | ||
-->{{main other|{{#switch:{{{type|}}} | -->{{main other|{{#switch:{{{type|}}} | ||
|e0=[[Category:Point Entities{{{suf|}}}]] | |e0=[[Category:Point Entities{{{suf|}}}]] |
Revision as of 17:40, 24 January 2023
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.