Template:This is a: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Base Entities fix works now.)
mNo edit summary
Line 132: Line 132:
     }}
     }}
   | {{#if: {{{game|}}}
   | {{#if: {{{game|}}}
     | <!-- Multiple games -->{{#if:{{{game1|}}}|{{Autolang|the following {{#switch:{{{engine|}}}|#default={{Source|4.1}}|0|goldsrc|gldsrc={{gldsrc|4.1}}|1|source={{source|4.1}}|2|source2={{source2|4.1}}}} games:<br>|zh=以下 {{source|4}} 游戏:<br>}}<!--
     | <!-- Multiple games -->{{#if:{{{game1|}}}|{{Autolang|the following {{#switch:{{{engine|}}}|#default={{Source|4.1}}|1|goldsrc|gldsrc={{gldsrc|4.1}}|0|2|source={{source|4.1}}|3|source2={{source2|4.1}}}} games:<br>|zh=以下 {{source|4}} 游戏:<br>}}<!--
               -->{{#ifexist: Template:{{{game|}}} | {{ {{{game}}} |4}} | {{ {{game icon name|{{{game}}} }}|4}} }}{{#if:{{{game2|}}}|{{Autolang|,&nbsp;|zh=、}}|{{Autolang|&nbsp;and&nbsp;|zh=&nbsp;和&nbsp;}}}}<!--
               -->{{#ifexist: Template:{{{game|}}} | {{ {{{game}}} |4}} | {{ {{game icon name|{{{game}}} }}|4}} }}{{#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}} }}<!--
Line 196: Line 196:
   | {{#if: {{{seriescs|}}}
   | {{#if: {{{seriescs|}}}
     | {{Main other|{{#if:{{{nocat|}}}||[[Category:{{{seriescs}}}: Source {{#switch:{{{type|}}}|#default=Entities|convar=Console Variables}}]]}}}}
     | {{Main other|{{#if:{{{nocat|}}}||[[Category:{{{seriescs}}}: Source {{#switch:{{{type|}}}|#default=Entities|convar=Console Variables}}]]}}}}
     | {{Main other|{{#if:{{{nocat|}}}||[[Category:{{#switch:{{{engine|}}}|#default|0|source=Source|1|goldsrc|gldsrc=GoldSrc|2|source2=Source 2}} Base {{#switch:{{{type|}}}|#default=Entities|convar=Console Variables}}]]}}}}
     | {{Main other|{{#if:{{{nocat|}}}||[[Category:{{#switch:{{{engine|}}}|#default|0|2|source=Source|1|goldsrc|gldsrc=GoldSrc|3|source2=Source 2}} Base {{#switch:{{{type|}}}|#default=Entities|convar=Console Variables}}]]}}}}
     }}
     }}
   }}
   }}

Revision as of 05:47, 10 August 2023

Todo: never change the title or add the category for convars and concommands, those should exclusively be accomplished via {{Console command}} and {{Console variable}}

Template:Doc