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
m (fixed bugs)
(added {{{engine1}}} and {{{engine2}}} for the case of 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. 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.}}
{{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.}}
{{Thisis|e0|engine=1|engine1=2|engine2=3}}
{{Doc}}
{{Doc}}
<includeonly><onlyinclude><!--
<includeonly><onlyinclude><!--
Line 163: Line 164:
                 |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}}}}
             }}<!--
             }}<!--
-->{{Autolang|1={{#if:{{{engine1|}}}|{{#if:{{{engine2|}}}|,&nbsp;|&nbsp;and&nbsp;}}{{#switch:{{{engine1|}}}|#default={{{engine1|{{source|4}}}}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
|1|goldsrc|gldsrc={{gldsrc|4}}{{#if:{{{nocat|}}}||{{gldsrc topicon|nocat=1}}}}
|2|source={{source|4}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
|3|source2={{source2|4}}{{#if:{{{nocat|}}}||{{source 2 topicon|nocat=1}}}}
}}{{#if:{{{engine2|}}}|&nbsp;and&nbsp;{{#switch:{{{engine2|}}}|#default={{{engine2|{{source|4}}}}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
|1|goldsrc|gldsrc={{gldsrc|4}}{{#if:{{{nocat|}}}||{{gldsrc topicon|nocat=1}}}}
|2|source={{source|4}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
|3|source2={{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}}}}
                |1|goldsrc|gldsrc={{gldsrc|4}}{{#if:{{{nocat|}}}||{{gldsrc topicon|nocat=1}}}}
                |2|source={{source|4}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
                |3|source2={{source2|4}}{{#if:{{{nocat|}}}||{{source 2 topicon|nocat=1}}}}
            }}{{#if:{{{engine2|}}}|&nbsp;和&nbsp;{{#switch:{{{engine2|}}}|#default={{{engine2|{{source|4}}}}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
                |1|goldsrc|gldsrc={{gldsrc|4}}{{#if:{{{nocat|}}}||{{gldsrc topicon|nocat=1}}}}
                |2|source={{source|4}}{{#if:{{{nocat|}}}||{{source topicon|nocat=1}}}}
                |3|source2={{source2|4}}{{#if:{{{nocat|}}}||{{source 2 topicon|nocat=1}}}}
            }}}}}}}}<!--


     "games, except/since/before" (todo: finish moving these all into a single autolang.)
     "games, except/since/before" (todo: finish moving these all into a single autolang.)

Revision as of 20:29, 28 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.

Template:Thisis

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