Template:This is a: Difference between revisions
Jump to navigation
Jump to search
1416006136 (talk | contribs) mNo edit summary |
1416006136 (talk | contribs) (multiple game support) |
||
Line 96: | Line 96: | ||
|:zh-cn=存在于}}<!-- | |:zh-cn=存在于}}<!-- | ||
-->{{#switch:{{{suf|}}}|#default= |:zh-cn={{#if:{{{game|}}}{{{series|}}}| |}}}}<!-- | -->{{#switch:{{{suf|}}}|#default= |:zh-cn={{#if:{{{game|}}}{{{series|}}}|{{#if:{{{series|}}}| |{{#if:{{{game1|}}}|| }}}}}}}}<!-- | ||
+ game series + | + game series + | ||
Line 114: | Line 114: | ||
}} | }} | ||
| {{#if: {{{game|}}} | | {{#if: {{{game|}}} | ||
| {{#switch:{{{suf|}}}|#default=|:ru=в|:zh-cn=}} {{#ifexist:{{{game}}}{{{suf}}}|{{{{game icon name|{{{game}}}}}|{{#if:{{{icon|}}}|3|4}}|suf={{{suf|}}}}}|{{{{game icon name|{{{game}}}}}|{{#if:{{{icon|}}}|3|4}}}}}} | | <!-- Multiple games -->{{#if:{{{game1|}}}|{{suflang|suf={{{suf|}}}|the following {{source|4|suf={{{suf|}}}}} games:<br>|:zh-cn=以下 {{source|4|suf={{{suf|}}}}} 游戏:<br>}}<!-- | ||
-->{{#ifexist:{{{game}}}{{{suf}}}|{{{{game icon name|{{{game}}}}}|4|suf={{{suf|}}}}}|{{{{game icon name|{{{game}}}}}|4}}}}{{#if:{{{game2|}}}|{{suflang|suf={{{suf|}}}|, |:zh-cn=、}}|{{suflang|suf={{{suf|}}}| and |:zh-cn= 和 }}}}<!-- | |||
-->{{#ifexist:{{{game1}}}{{{suf}}}|{{{{game icon name|{{{game1}}}}}|4|suf={{{suf|}}}}}|{{{{game icon name|{{{game1}}}}}|4}}}}<!-- | |||
-->{{#if:{{{game2|}}}|{{#if:{{{game3|}}}|{{suflang|suf={{{suf|}}}|, |:zh-cn=、}}|{{suflang|suf={{{suf|}}}| and |:zh-cn= 和 }}}}{{#ifexist:{{{game2}}}{{{suf}}}|{{{{game icon name|{{{game2}}}}}|4|suf={{{suf|}}}}}|{{{{game icon name|{{{game2}}}}}|4}}}}}}<!-- | |||
-->{{#if:{{{game3|}}}|{{#if:{{{game4|}}}|{{suflang|suf={{{suf|}}}|, |:zh-cn=、}}|{{suflang|suf={{{suf|}}}| and |:zh-cn= 和 }}}}{{#ifexist:{{{game3}}}{{{suf}}}|{{{{game icon name|{{{game3}}}}}|4|suf={{{suf|}}}}}|{{{{game icon name|{{{game3}}}}}|4}}}}}}<!-- | |||
-->{{#if:{{{game4|}}}|{{#if:{{{game5|}}}|{{suflang|suf={{{suf|}}}|, |:zh-cn=、}}|{{suflang|suf={{{suf|}}}| and |:zh-cn= 和 }}}}{{#ifexist:{{{game4}}}{{{suf}}}|{{{{game icon name|{{{game4}}}}}|4|suf={{{suf|}}}}}|{{{{game icon name|{{{game4}}}}}|4}}}}}}<!-- | |||
-->{{#if:{{{game5|}}}|{{suflang|suf={{{suf|}}}| and |:zh-cn= 和 }}{{#ifexist:{{{game5}}}{{{suf}}}|{{{{game icon name|{{{game5}}}}}|4|suf={{{suf|}}}}}|{{{{game icon name|{{{game5}}}}}|4}}}}}}<!-- | |||
Single game | |||
-->|{{#switch:{{{suf|}}}|#default=|:ru=в|:zh-cn=}} {{#ifexist:{{{game}}}{{{suf}}}|{{{{game icon name|{{{game}}}}}|{{#if:{{{icon|}}}|3|4}}|suf={{{suf|}}}}}|{{{{game icon name|{{{game}}}}}|{{#if:{{{icon|}}}|3|4}}}}}}}} | |||
| {{#switch:{{{suf|}}}|#default=all|:ru=во всех играх на движке|:zh-cn=所有的}} {{#switch:{{{engine|}}}|#default={{{engine|{{source|4|suf={{{suf|}}}}}}}} | | {{#switch:{{{suf|}}}|#default=all|:ru=во всех играх на движке|:zh-cn=所有的}} {{#switch:{{{engine|}}}|#default={{{engine|{{source|4|suf={{{suf|}}}}}}}} | ||
|1={{gldsrc|4|suf={{{suf|}}}}} | |1={{gldsrc|4|suf={{{suf|}}}}} |
Revision as of 00:07, 23 February 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.