Template:Cmd/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:


Formats the text as a console command. Should be used only for console variables/commands.
Formats the text as a console command. Should be used only for console variables/commands.
<br />
{{shortcut|float=left
| {{T|cmd}}
}}
{{clear}}


== Parameters and Examples ==
== Parameters and Examples ==

Revision as of 10:14, 24 August 2025

Edit-copy.png
This is a documentation subpage for Template:Cmd.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Formats the text as a console command. Should be used only for console variables/commands.

Parameters and Examples

Parameter Description Example Preview
{{{1}}} Console Variable.
{{Command|sv_cheats}}
sv_cheats
{{{2}}} Console Variable Value.
{{Command|sv_cheats|1}}
sv_cheats 1
{{{alt}}} Alternative Name of the Console Variable.
{{Command|sv_cheats|1|alt = Hello, World!}}
Hello, World! 1

See also