Template:Cmd/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tags: Manual revert Reverted
Line 1: Line 1:
{{Doc/subpage}}
{{Doc/subpage}}


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


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


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

Revision as of 12:59, 23 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.
{{cmd|sv_cheats}}
sv_cheats
{{{2}}} Console Variable Value.
{{cmd|sv_cheats|1}}
sv_cheats 1
{{{alt}}} Alternative Name of the Console Variable.
{{cmd|sv_cheats|1|alt = Hello, World!}}
Hello, World! 1

See also