Template:CLParam/doc

From Valve Developer Community
< Template:CLParam
Revision as of 07:53, 19 March 2025 by Nescius (talk | contribs) (Created page with "Template meant to be used for Command line options. * {{param|1}} - name of the CLI option, symbol "-" automatically added before it * {{param|2}} - description * {{param|param}} - parameter type see {{T|VT}} for possible choices * {{param|game}} - what games/source version is the option available in use, specify using {{T|only}}, {{T|in}}, {{T|also}}, {{T|since}} or {{T|not}} templates <code><nowiki>game={{since|{{csgo}}}}{{also|{{tf2}}{{l4d2}}}}</nowiki></code> {{sinc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template meant to be used for Command line options.

  • {{{1}}} - name of the CLI option, symbol "-" automatically added before it
  • {{{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

{{CLIO|something|param=int|This param does something idk|game={{csgo}}}} Template:CLIO