Template:CLParam/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
== example == | == example == | ||
<code><nowiki>{{CLIO|something|param=int|This param does something idk|game={{only|{{csgo}}}}}}</nowiki></code> | <code><nowiki>{{CLIO|something|param=int|This param does something idk|game={{only|{{csgo}}}}}}</nowiki></code> | ||
{{CLIO|something|param=int|This param does something idk|game={{csgo}}}} | {{CLIO|something|param=int|This param does something idk|game={{only|{{csgo}}}}}} |
Revision as of 08:09, 19 March 2025
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 )(also in
)
- {{{deprecated}}} - mark as deprecated
format of this template
-{{{1}}} <{{{param}}}> {{{game}}} {{{2}}}
example
{{CLIO|something|param=int|This param does something idk|game={{only|{{csgo}}}}}}
Template:CLIO