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
(added todo for mentioning multiple engines.)
(Experimental support for mentioning multiple engines.)
Line 1: Line 1:
{{todo|Use a strings subpage to reduce duplication, aswell to clean up Autolang in the code, moving all translations to strings subpage.}}
{{todo|Use a strings subpage to reduce duplication, aswell to clean up Autolang in the code, moving all translations to strings subpage.}}
{{todo|Mention multiple engines, see [[weapon_deagle]], which CS2 was marked as a Source 1 game and not Source 2.}}
{{todo|Mention multiple engines, see [[weapon_deagle]], which CS2 was marked as a Source 1 game and not Source 2. Support is currently experimental, but please remembers that at the moment, it's does not support adding both [[:Category:Source base entities]] and [[:Category:Source 2 base entities]] category at the same time.}}
{{Doc}}
{{Doc}}
<includeonly><onlyinclude><!--
<includeonly><onlyinclude><!--
Line 145: Line 145:
     | <!-- Multiple games -->{{#if:{{{game1|}}}
     | <!-- Multiple games -->{{#if:{{{game1|}}}
       | {{Autolang
       | {{Autolang
         |the following {{#switch:{{{engine|}}}|#default={{{engine|{{Source|4.1}}}}}|1|goldsrc|gldsrc={{gldsrc|4.1}}|0|2|source={{source|4.1}}|3|source2={{source2|4.1}}}} games or engine branches:<br><!--
         |the following {{#switch:{{{engine|}}}|#default={{{engine|{{Source|4.1}}}}}|1|goldsrc|gldsrc={{gldsrc|4.1}}|0|2|source={{source|4.1}}|3|source2={{source2|4.1}}|4|gldsrc source|goldsrc source={{gldsrc|4.1}} and {{source|4.1}}|5|source source2={{source|4.1}} and {{source2|4.1}}}} games or engine branches:<br><!--
     -->|zh=以下 {{#switch:{{{engine|}}}|#default={{{engine|{{Source|4.1}}}}}|1|goldsrc|gldsrc={{gldsrc|4.1}}|0|2|source={{source|4.1}}|3|source2={{source2|4.1}}}} 游戏:<br>
     -->|zh=以下 {{#switch:{{{engine|}}}|#default={{{engine|{{Source|4.1}}}}}|1|goldsrc|gldsrc={{gldsrc|4.1}}|0|2|source={{source|4.1}}|3|source2={{source2|4.1}}|4|gldsrc source|goldsrc source={{gldsrc|4.1}} and {{source|4.1}}|5|source source2={{source|4.1}} and {{source2|4.1}}}} 游戏:<br>
         |ru=в следующих {{#switch:{{{engine|}}}|#default={{{engine|{{Source|4.1}}}}}|1|goldsrc|gldsrc={{gldsrc|4.1}}|0|2|source={{source|4.1}}|3|source2={{source2|4.1}}}} играх:<br>
         |ru=в следующих {{#switch:{{{engine|}}}|#default={{{engine|{{Source|4.1}}}}}|1|goldsrc|gldsrc={{gldsrc|4.1}}|0|2|source={{source|4.1}}|3|source2={{source2|4.1}}|4|gldsrc source|goldsrc source={{gldsrc|4.1}} and {{source|4.1}}|5|source source2={{source|4.1}} and {{source2|4.1}}}} играх:<br>
         }}<!--
         }}<!--
               -->{{#ifexist: Template:{{{game|}}} | {{ {{{game}}} |4}} | {{ {{game icon name|{{{game}}} }}|4}} }}<!--
               -->{{#ifexist: Template:{{{game|}}} | {{ {{{game}}} |4}} | {{ {{game icon name|{{{game}}} }}|4}} }}<!--
Line 163: Line 163:
                 |2|source={{source|4}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
                 |2|source={{source|4}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
                 |3|source2={{source2|4}}{{#if:{{{nocat|}}}||{{source 2 topicon|nocat=1}}}}
                 |3|source2={{source2|4}}{{#if:{{{nocat|}}}||{{source 2 topicon|nocat=1}}}}
                |4|gldsrc source|goldsrc source={{gldsrc|4}}{{#if:{{{nocat|}}}||{{gldsrc topicon|nocat=1}}}}{{source|4}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
                |5|source source2={{source|4}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}{{source2|4}}{{#if:{{{nocat|}}}||{{source 2 topicon|nocat=1}}}}
             }}<!--
             }}<!--



Revision as of 20:41, 2 October 2023

Todo: Use a strings subpage to reduce duplication, aswell to clean up Autolang in the code, moving all translations to strings subpage.
Todo: Mention multiple engines, see weapon_deagle, which CS2 was marked as a Source 1 game and not Source 2. Support is currently experimental, but please remembers that at the moment, it's does not support adding both Category:Source base entities and Category:Source 2 base entities category at the same time.
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