Template:This is a: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Fixed the croatian translation. A switch for languages with plural context should be added since in croatian if it's only one engine branch i.e. singular you would say sljedećem but if it's plural you would say sljedećim.) |
||
Line 165: | Line 165: | ||
| #default={{Autolang|the|ru=в серии игр|zh=}} [[{{{series}}}]] {{Autolang|series|ru=|zh=系列}} | | #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=系列}} <!-- | | {{Autolang|the|ru=в серии игр|hr=|zh=}} [[{{{seriescs}}}]] {{Autolang|series|ru=|hr=seriji|zh=系列}} <!-- | ||
+ games + | + games + | ||
Line 205: | Line 205: | ||
}}}}}}<!-- | }}}}}}<!-- | ||
--> 游戏:<br> | --> 游戏:<br> | ||
-->|hr=sljedećem {{#switch:{{{engine|pogonu}}} | |||
|#default={{{engine|{{Source|4.1}}}}} | |||
|1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4.1}} | |||
|0|2|source|Source={{source|4.1}} | |||
|3|source2|Source2|Source 2={{source2|4.1}}}}<!-- | |||
-->{{#if:{{{engine1|}}}|{{#if:{{{engine2|}}}|, | i }}{{#switch:{{{engine1|}}}|#default={{{engine1|{{source|4}}}}} | |||
|1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4}} | |||
|0|2|source|Source={{source|4}} | |||
|3|source2|Source2|Source 2={{source2|4}} | |||
}}{{#if:{{{engine2|}}}| i {{#switch:{{{engine2|}}}|#default={{{engine2|{{source|4}}}}} | |||
|1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4}} | |||
|0|2|source|Source={{source|4}} | |||
|3|source2|Source2|Source 2={{source2|4}} | |||
}}}}}}<!-- | |||
--> igrama ili pogonskim granama:<br> | |||
|ru=в следующих {{#switch:{{{engine|}}} | |ru=в следующих {{#switch:{{{engine|}}} | ||
|#default={{{engine|{{Source|4.1}}}}} | |#default={{{engine|{{Source|4.1}}}}} | ||
Line 224: | Line 239: | ||
-->{{#if:{{{game2|}}}|{{Autolang|, |zh=、}}|{{Autolang| and |zh= 和 }}}}<!-- | -->{{#if:{{{game2|}}}|{{Autolang|, |zh=、}}|{{Autolang| and |zh= 和 }}}}<!-- | ||
-->{{#ifexist: Template:{{{game1|}}} | {{ {{{game1}}} |4}} | {{ {{game icon name|{{{game1}}} }}|4}} }}<!-- | -->{{#ifexist: Template:{{{game1|}}} | {{ {{{game1}}} |4}} | {{ {{game icon name|{{{game1}}} }}|4}} }}<!-- | ||
-->{{#if:{{{game2|}}}|{{#if:{{{game3|}}}|{{Autolang|, |zh=、}}|{{Autolang| and |zh= 和 }}}}{{#ifexist: Template:{{{game2|}}} | {{ {{{game2}}} |4}} | {{ {{game icon name|{{{game2}}} }}|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 |zh= 和 }}}}{{#ifexist: Template:{{{game3|}}} | {{ {{{game3}}} |4}} | {{ {{game icon name|{{{game3}}} }}|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 |zh= 和 }}}}{{#ifexist: Template:{{{game4|}}} | {{ {{{game4}}} |4}} | {{ {{game icon name|{{{game4}}} }}|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 |zh= 和 }}{{#ifexist: Template:{{{game5|}}} | {{ {{{game5}}} |4}} | {{ {{game icon name|{{{game5}}} }}|4}} }} }}<!-- | -->{{#if:{{{game5|}}}|{{Autolang| and |eo= kaj |hr= i |zh= 和 }}{{#ifexist: Template:{{{game5|}}} | {{ {{{game5}}} |4}} | {{ {{game icon name|{{{game5}}} }}|4}} }} }}<!-- | ||
Single game | 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||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=所有的}} {{#switch:{{{engine|}}}|#default={{{engine|{{source|4}}}}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}} | | {{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}}}} | |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}}}} | |0|2|source|Source={{source|4}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}} | ||
Line 245: | 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}}}} | |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}}}} | |1|goldsrc|gldsrc|GldSrc|GoldSrc={{gldsrc|4}}{{#if:{{{nocat|}}}||{{gldsrc topicon|nocat=1}}}} | ||
Line 263: | Line 287: | ||
|eo= ludoj<!-- | |eo= ludoj<!-- | ||
-->{{#if:{{{except|}}}{{{except-multi|}}}| krom {{{except-multi| {{#ifexist: Template:{{{except|}}} | {{ {{{except}}} |4}} | {{ {{game icon name|{{{except}}} }}|4}} }} }}} }} | -->{{#if:{{{except|}}}{{{except-multi|}}}| krom {{{except-multi| {{#ifexist: Template:{{{except|}}} | {{ {{{except}}} |4}} | {{ {{game icon name|{{{except}}} }}|4}} }} }}} }} | ||
|hr=<!-- | |||
-->{{#if:{{{except|}}}{{{except-multi|}}}| osim {{{except-multi| {{#ifexist: Template:{{{except|}}} | {{ {{{except}}} |4}} | {{ {{game icon name|{{{except}}} }}|4}} }} }}} }} | |||
|ru=<!-- | |ru=<!-- | ||
Line 280: | Line 307: | ||
| {{Autolang | | {{Autolang | ||
| {{#if:{{{since|}}}|until|before}} | | {{#if:{{{since|}}}|until|before}} | ||
|hr= prije | |||
|eo= antaŭe | |eo= antaŭe | ||
|zh= (存在于 | |zh= (存在于 |
Revision as of 15:29, 18 January 2024
Todo: Use a strings subpage to reduce duplication, as well to clean up Autolang in the code, moving all translations to strings subpage.

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.
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.