This article's documentation is for anything that uses the Source engine. Click here for more information.

Template:This is a: Difference between revisions

From Valve Developer Community
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|}}}|,&nbsp;|&nbsp;i&nbsp;}}{{#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|}}}|&nbsp;i&nbsp;{{#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|,&nbsp;|zh=、}}|{{Autolang|&nbsp;and&nbsp;|zh=&nbsp;和&nbsp;}}}}<!--
  -->{{#if:{{{game2|}}}|{{Autolang|,&nbsp;|zh=、}}|{{Autolang|&nbsp;and&nbsp;|zh=&nbsp;和&nbsp;}}}}<!--
               -->{{#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|,&nbsp;|zh=、}}|{{Autolang|&nbsp;and&nbsp;|zh=&nbsp;和&nbsp;}}}}{{#ifexist: Template:{{{game2|}}} | {{ {{{game2}}} |4}} | {{ {{game icon name|{{{game2}}} }}|4}} }} }}<!--
               -->{{#if:{{{game2|}}}|{{#if:{{{game3|}}}|{{Autolang|,&nbsp;|zh=、}}|{{Autolang|&nbsp;and&nbsp;|hr=&nbsp;i&nbsp;|zh=&nbsp;和&nbsp;}}}}{{#ifexist: Template:{{{game2|}}} | {{ {{{game2}}} |4}} | {{ {{game icon name|{{{game2}}} }}|4}} }} }}<!--
               -->{{#if:{{{game3|}}}|{{#if:{{{game4|}}}|{{Autolang|,&nbsp;|zh=、}}|{{Autolang|&nbsp;and&nbsp;|zh=&nbsp;和&nbsp;}}}}{{#ifexist: Template:{{{game3|}}} | {{ {{{game3}}} |4}} | {{ {{game icon name|{{{game3}}} }}|4}} }} }}<!--
               -->{{#if:{{{game3|}}}|{{#if:{{{game4|}}}|{{Autolang|,&nbsp;|zh=、}}|{{Autolang|&nbsp;and&nbsp;|hr=&nbsp;i&nbsp;|zh=&nbsp;和&nbsp;}}}}{{#ifexist: Template:{{{game3|}}} | {{ {{{game3}}} |4}} | {{ {{game icon name|{{{game3}}} }}|4}} }} }}<!--
               -->{{#if:{{{game4|}}}|{{#if:{{{game5|}}}|{{Autolang|,&nbsp;|zh=、}}|{{Autolang|&nbsp;and&nbsp;|zh=&nbsp;和&nbsp;}}}}{{#ifexist: Template:{{{game4|}}} | {{ {{{game4}}} |4}} | {{ {{game icon name|{{{game4}}} }}|4}} }} }}<!--
               -->{{#if:{{{game4|}}}|{{#if:{{{game5|}}}|{{Autolang|,&nbsp;|zh=、}}|{{Autolang|&nbsp;and&nbsp;|hr=&nbsp;i&nbsp;|zh=&nbsp;和&nbsp;}}}}{{#ifexist: Template:{{{game4|}}} | {{ {{{game4}}} |4}} | {{ {{game icon name|{{{game4}}} }}|4}} }} }}<!--
               -->{{#if:{{{game5|}}}|{{Autolang|&nbsp;and&nbsp;|eo=&nbsp;kaj&nbsp;|zh=&nbsp;和&nbsp;}}{{#ifexist: Template:{{{game5|}}} | {{ {{{game5}}} |4}} | {{ {{game icon name|{{{game5}}} }}|4}} }} }}<!--
               -->{{#if:{{{game5|}}}|{{Autolang|&nbsp;and&nbsp;|eo=&nbsp;kaj&nbsp;|hr=&nbsp;i&nbsp;|zh=&nbsp;和&nbsp;}}{{#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|}}}|、|&nbsp;i&nbsp;}}{{#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|}}}|&nbsp;i&nbsp;{{#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|}}}|、|&nbsp;和&nbsp;}}{{#switch:{{{engine1|}}}|#default={{{engine1|{{source|4}}}}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
       |zh={{#if:{{{engine1|}}}|{{#if:{{{engine2|}}}|、|&nbsp;和&nbsp;}}{{#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=&nbsp;ludoj<!--
|eo=&nbsp;ludoj<!--
-->{{#if:{{{except|}}}{{{except-multi|}}}|&nbsp;krom {{{except-multi| {{#ifexist: Template:{{{except|}}} | {{ {{{except}}} |4}} | {{ {{game icon name|{{{except}}} }}|4}} }} }}} }}
-->{{#if:{{{except|}}}{{{except-multi|}}}|&nbsp;krom {{{except-multi| {{#ifexist: Template:{{{except|}}} | {{ {{{except}}} |4}} | {{ {{game icon name|{{{except}}} }}|4}} }} }}} }}
|hr=<!--
-->{{#if:{{{except|}}}{{{except-multi|}}}|&nbsp;osim {{{except-multi| {{#ifexist: Template:{{{except|}}} | {{ {{{except}}} |4}} | {{ {{game icon name|{{{except}}} }}|4}} }} }}} }}


|ru=<!--
|ru=<!--
Line 280: Line 307:
| {{Autolang
| {{Autolang
|&nbsp;{{#if:{{{since|}}}|until|before}}
|&nbsp;{{#if:{{{since|}}}|until|before}}
|hr=&nbsp;prije
|eo=&nbsp;antaŭe
|eo=&nbsp;antaŭe
|zh=&nbsp;(存在于
|zh=&nbsp;(存在于

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.
Icon-edit.png
This template is currently being rewritten.
The rewrite can be found at User:Pee/Sandbox/this is a. You can discuss the changes here.
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.
Number of strings:32
Approximate status of translation:English (en) 96.88% Deutsch (de) 84.38% Español (es) 68.75% Esperanto (eo) 53.13% Suomi (fi) 78.13% Hrvatski (hr) 96.88% Português do Brasil (pt-br) 81.25% Русский (ru) 96.88% Slovenčina (sk) 81.25% 中文 (zh) 84.38% 
Gnome app science.png
This template uses a Testcases subpage
You can test how this page looks with it's different skins and parsers.
Template:This is a/doc