Template:Cmd/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{Doc/subpage}} Formats the text as a console command. == Parameters and Examples == {| class="standard-table" width="100%" ! Parameter ! Description ! Example ! Preview |- |...")
 
Line 18: Line 18:
| {{CodeBlock|<nowiki>{{Command|sv_cheats|1}}</nowiki>}}
| {{CodeBlock|<nowiki>{{Command|sv_cheats|1}}</nowiki>}}
| {{Command|sv_cheats|1}}
| {{Command|sv_cheats|1}}
|-
| align="center" | {{Code|style=2| {{Param|alt}} }}
| Alternative Name of the Console Variable.
| {{CodeBlock|<nowiki>{{Command|sv_cheats|1|alt = Hello, World!}}</nowiki>}}
| {{Command|sv_cheats|1|alt = Hello, World!}}
|}
|}



Revision as of 04:46, 16 May 2023

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.

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