Template:This is a: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Testing see if it's fix GoldSrc ent being added to Source base entities.)
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:{{{engine}}} Base {{#switch:{{{type|}}}|#default=Entities|convar=Console Variables}}]]}}}}
     | {{Main other|{{#if:{{{nocat|}}}||[[Category:{{#switch:{{{engine|}}}|#default={{Source|4.1}}|0|gldsrc={{gldsrc|4.1}}|1|source={{source|4.1}}|2|source2={{source2|4.1}}}} Base {{#switch:{{{type|}}}|#default=Entities|convar=Console Variables}}]]}}}}
     }}
     }}
   }}
   }}

Revision as of 05:24, 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