Template:This is a: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 197: Line 197:
   | {{#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=Half-Life|2|source2=Source 2}} Base {{#switch:{{{type|}}}|#default=Entities|convar=Console Variables}}]]}}}}
     | {{Main other|{{#if:{{{nocat|}}}||[[Category:{{#switch:{{{engine|}}}|#default|0|source=Source Base|1|goldsrc|gldsrc=Half-Life|2|source2=Source 2 Base}} {{#switch:{{{type|}}}|#default=Entities|convar=Console Variables}}]]}}}}
     }}
     }}
   }}
   }}

Revision as of 05:32, 10 August 2023

Icon-Bug.pngBug:GoldSrc ent pages are added to Category:Source Base Entities. Source 2 probably needs testing, as well.  [todo tested in ?]
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