Template:CLParam: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Don't automatically assume starts with hypen)
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
<onlyinclude>
<onlyinclude>
; {{#if: {{{deprecated|}}} | <del> }}<!--
; {{#if: {{{deprecated|}}} | <del> }}<!--
--><kbd>-{{{1}}}</kbd> <!--
--><kbd>{{{1}}}</kbd> <!--
-->{{#if: {{{param|}}}      | {{VT|{{{param}}}}} }}<!--
-->{{#if: {{{param|}}}      | {{VT|{{{param}}}}} }}<!--
-->{{#if: {{{game|}}} |&nbsp;{{{game}}}}}<!--
-->{{#if: {{{game|}}} |&nbsp;{{{game}}}}}<!--

Latest revision as of 08:19, 23 March 2025

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history

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