Template:SourceBranchCategory/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Adds the article to "'''Category:Source (version) engine branch (games/mods/tools)'''‎".
Adds the article to "'''Category:Source (version) engine branch (games/mods/tools)'''‎".
== Parameters ==
== Parameters ==
=== {{param|1}} ===
=== {{param|1}} - Available branches ===
==== Valve branches ====
==== Valve branches ====
*{{src04}} {{code|<nowiki>{{SourceBranchCategory|src04}}</nowiki>}}
*{{src04}} {{code|<nowiki>{{SourceBranchCategory|src04}}</nowiki>}}
Line 49: Line 49:
**{{code|[[:Category:Strata Source engine branch games‎]]}}
**{{code|[[:Category:Strata Source engine branch games‎]]}}


=== {{param|2}} ===
=== {{param|2}} - Software type ===
*Usage: {{code|<nowiki>{{SourceBranchCategory|src13|mod}}</nowiki>}}
*Usage: {{code|<nowiki>{{SourceBranchCategory|src13|mod}}</nowiki>}}
*If this was set to {{code|games}} (Default):
** Adds the page to {{code|[[:Category:Source 2013 engine branch games]]}} for example. By default, pages are added to "games" category.
*If this was set to {{code|mod}}:
*If this was set to {{code|mod}}:
** Adds the page to {{code|[[:Category:Source 2013 engine branch mods]]}} for example.
** Adds the page to {{code|[[:Category:Source 2013 engine branch mods]]}} for example.
Line 58: Line 60:
=== {{param|sort}} ===
=== {{param|sort}} ===
*{{src07}} {{code|<nowiki>{{SourceBranchCategory|src07|sort=O}}</nowiki>}}
*{{src07}} {{code|<nowiki>{{SourceBranchCategory|src07|sort=O}}</nowiki>}}
**When used on [[The Orange Box]] article for example, said article that was listed on [[:Category:Source 2007 engine branch games‎]], will be sorted by letter "O" instead of "T".
**When used on [[The Orange Box]] article for example, which was listed on [[:Category:Source 2007 engine branch games‎]] category page, the page will be sorted by letter "O" instead of "T".

Latest revision as of 01:38, 7 September 2025

Adds the article to "Category:Source (version) engine branch (games/mods/tools)‎".

Parameters

{{{1}}} - Available branches

Valve branches

Third-party

{{{2}}} - Software type

{{{sort}}}