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
(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.)
m (Missed some stuff)
Line 130: Line 130:
|{{#ifeq:{{{this|}}}|0||{{{this|ovo}}} }}
|{{#ifeq:{{{this|}}}|0||{{{this|ovo}}} }}
}}<!--
}}<!--
--> je<!--
--> je <!--
-->{{#switch:{{{cut|}}}||0=|uklonjeno}}{{#switch:{{{1}}}
-->{{#switch:{{{cut|}}}||0=|uklonjeno}}{{#switch:{{{1}}}
|#default = {{#switch:{{{internal|}}}
|#default = {{#switch:{{{internal|}}}
Line 157: Line 157:
| l4ds
| l4ds
| l4d
| l4d
| Left 4 Dead={{Autolang|the|ru=в|zh=}} {{l4dseries|{{#ifeq:{{{icon|0}}}|0|4|3}}|suf={{Autolang||zh=:zh-cn}}}}
| Left 4 Dead={{Autolang|the|hr=|ru=в|zh=}} {{l4dseries|{{#ifeq:{{{icon|0}}}|0|4|3}}|suf={{Autolang||zh=:zh-cn}}}}
| portal
| portal
| Portal
| Portal
| portal2
| portal2
| p2
| p2
| Portal 2={{Autolang|the|ru=в|zh=}} {{portalserieslinked|4|nt=1}}
| Portal 2={{Autolang|the|hr=|ru=в|zh=}} {{portalserieslinked|4|nt=1}}
| #default={{Autolang|the|ru=в серии игр|zh=}} [[{{{series}}}]] {{Autolang|series|ru=|zh=系列}}
| #default={{Autolang|the|hr=|ru=в серии игр|zh=}} [[{{{series}}}]] {{Autolang|series|hr=seriji|ru=|zh=系列}}
| 1={{#if: {{{seriescs|}}}
| 1={{#if: {{{seriescs|}}}
   | {{Autolang|the|ru=в серии игр|hr=|zh=}} [[{{{seriescs}}}]] {{Autolang|series|ru=|hr=seriji|zh=系列}} <!--
   | {{Autolang|the|ru=в серии игр|hr=|zh=}} [[{{{seriescs}}}]] {{Autolang|series|ru=|hr=seriji|zh=系列}} <!--
Line 170: Line 170:


-->{{#if:{{{game|}}}
-->{{#if:{{{game|}}}
     | ({{Autolang|since|eo=post|ru=начиная с|zh=自从}} {{#ifexist: Template:{{{game|}}} | {{ {{{game}}} |{{#ifeq:{{{icon|0}}}|0|4|3}}}} | {{ {{game icon name|{{{game}}} }}|{{#ifeq:{{{icon|0}}}|0|4|3}}}} }}{{Autolang||zh=&nbsp;以来}})
     | ({{Autolang|since|hr=od|eo=post|ru=начиная с|zh=自从}} {{#ifexist: Template:{{{game|}}} | {{ {{{game}}} |{{#ifeq:{{{icon|0}}}|0|4|3}}}} | {{ {{game icon name|{{{game}}} }}|{{#ifeq:{{{icon|0}}}|0|4|3}}}} }}{{Autolang||zh=&nbsp;以来}})
     }}
     }}
   | {{#if: {{{game|}}}
   | {{#if: {{{game|}}}

Revision as of 15:37, 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