Template:This is a: Difference between revisions
Jump to navigation
Jump to search
Bug:
ent pages are added to Category:Source Base Entities.
probably needs testing, as well. [todo tested in ?]
mNo edit summary |
mNo edit summary |
||
Line 133: | Line 133: | ||
}} | }} | ||
| {{#if: {{{game|}}} | | {{#if: {{{game|}}} | ||
| <!-- Multiple games -->{{#if:{{{game1|}}}|{{Autolang|the following {{#switch:{{{engine|}}}|#default={{Source|4.1}}|0|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}}|0|goldsrc|gldsrc={{gldsrc|4.1}}|1|source={{source|4.1}}|2|source2={{source2|4.1}}}} games:<br>|zh=以下 {{source|4}} 游戏:<br>}}<!-- | ||
-->{{#ifexist: Template:{{{game|}}} | {{ {{{game}}} |4}} | {{ {{game icon name|{{{game}}} }}|4}} }}{{#if:{{{game2|}}}|{{Autolang|, |zh=、}}|{{Autolang| and |zh= 和 }}}}<!-- | -->{{#ifexist: Template:{{{game|}}} | {{ {{{game}}} |4}} | {{ {{game icon name|{{{game}}} }}|4}} }}{{#if:{{{game2|}}}|{{Autolang|, |zh=、}}|{{Autolang| and |zh= 和 }}}}<!-- | ||
-->{{#ifexist: Template:{{{game1|}}} | {{ {{{game1}}} |4}} | {{ {{game icon name|{{{game1}}} }}|4}} }}<!-- | -->{{#ifexist: Template:{{{game1|}}} | {{ {{{game1}}} |4}} | {{ {{game icon name|{{{game1}}} }}|4}} }}<!-- | ||
Line 143: | Line 143: | ||
-->|{{Autolang||ru=в}} {{#ifexist: Template:{{{game|}}} | {{ {{{game}}} |4}} | {{ {{game icon name|{{{game}}} }}|4}} }} }} | -->|{{Autolang||ru=в}} {{#ifexist: Template:{{{game|}}} | {{ {{{game}}} |4}} | {{ {{game icon name|{{{game}}} }}|4}} }} }} | ||
| {{Autolang|all|eo=ĉiuj|ru=во всех играх на движке|zh=所有的}} {{#switch:{{{engine|}}}|#default={{{engine|{{source|4}}}}} | | {{Autolang|all|eo=ĉiuj|ru=во всех играх на движке|zh=所有的}} {{#switch:{{{engine|}}}|#default={{{engine|{{source|4}}}}} | ||
|1|gldsrc={{gldsrc|4}} | |1|goldsrc|gldsrc={{gldsrc|4}} | ||
|2|source={{source|4}} | |2|source={{source|4}} | ||
|3|source2={{source2|4}} | |3|source2={{source2|4}} | ||
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|1|source=Source|0|gldsrc=Half-Life|2|source2=Source 2}} Base {{#switch:{{{type|}}}|#default=Entities|convar=Console Variables}}]]}}}} | | {{Main other|{{#if:{{{nocat|}}}||[[Category:{{#switch:{{{engine|}}}|#default|1|source=Source|0|goldsrc|gldsrc=Half-Life|2|source2=Source 2}} Base {{#switch:{{{type|}}}|#default=Entities|convar=Console Variables}}]]}}}} | ||
}} | }} | ||
}} | }} |
Revision as of 05:30, 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}}