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
({{{engine1}}} and {{{engine2}}} for {{{game1}}} ~ {{{game5}}})
(category support for {{{engine1}}} and {{{engine2}}})
Line 413: Line 413:
     | {{Main other|[[Category:<!--
     | {{Main other|[[Category:<!--
-->{{#switch:{{{engine|}}}<!--
-->{{#switch:{{{engine|}}}<!--
-->|#default|4|goldsrc source|gldsrc source|5|source source2|src src2={{{engine|Source}}}<!-- at the moment, if multiple engines is mentioned (example: GoldSrc and Source 1, or Source 1 and Source 2), it only adds the Source 1 category and not both Src1 and 2 at the same time). This will be fixed later by somebody else if possible. But if {{{game1}}} ~ {{{game5}}} is specified, it wont add to the (engine) base entities category at all.
-->|#default={{{engine|Source}}}<!--
-->|0|2|source=Source<!--
-->|1|goldsrc|gldsrc=GoldSrc<!--
-->|3|source2=Source 2<!--
-->}} base <!--
-->{{#switch:{{{1|}}}<!--
-->|#default=entities<!--
-->|c2|cvar|convar=console variables<!--
-->|c1|command=console commands<!--
-->|c0|QC command=QC commands<!--
                -->|s0|pixel shader=pixel shaders<!--
                -->|s1|vertex shader=vertex shaders<!--
                -->|s2|shader parameter=shader parameters<!--
-->}}]]}}<!--
-->{{Main other|[[Category:<!--
-->{{#switch:{{{engine1|}}}<!--
-->|#default={{{engine|Source}}}<!--
-->|0|2|source=Source<!--
-->|1|goldsrc|gldsrc=GoldSrc<!--
-->|3|source2=Source 2<!--
-->}} base <!--
-->{{#switch:{{{1|}}}<!--
-->|#default=entities<!--
-->|c2|cvar|convar=console variables<!--
-->|c1|command=console commands<!--
-->|c0|QC command=QC commands<!--
                -->|s0|pixel shader=pixel shaders<!--
                -->|s1|vertex shader=vertex shaders<!--
                -->|s2|shader parameter=shader parameters<!--
-->}}]]}}<!--
-->{{Main other|[[Category:<!--
-->{{#switch:{{{engine2|}}}<!--
-->|#default={{{engine|Source}}}<!--
-->|0|2|source=Source<!--
-->|0|2|source=Source<!--
-->|1|goldsrc|gldsrc=GoldSrc<!--
-->|1|goldsrc|gldsrc=GoldSrc<!--

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