Template:CLParam/doc

From Valve Developer Community
Jump to navigation Jump to search

Template meant to be used for Command line options.

  • {{{1}}} - name of the CLI option
  • {{{2}}} - description
  • {{{param}}} - parameter type see {{VT}} for possible choices
  • {{{game}}} - what games/source version is the option available in use, specify using {{only}}, {{in}}, {{also}}, {{since}} or {{not}} templates

game={{since|{{csgo}}}}{{also|{{tf2}}{{l4d2}}}} (in all games since Counter-Strike: Global Offensive)(also in Team Fortress 2Left 4 Dead 2)

  • {{{deprecated}}} - mark as deprecated

format of this template

 {{{1}}} <{{{param}}}> {{{game}}}
    {{{2}}}

example

{{CLParam|something|param=int|This param does something idk|game={{only|{{csgo}}}}}}

something <integer> (only in Counter-Strike: Global Offensive)
This param does something idk