Template:Cmd/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tags: Manual revert Reverted |
Tag: Manual revert |
||
Line 19: | Line 19: | ||
| align="center" | {{Code|style=2| {{Param|1}} }} | | align="center" | {{Code|style=2| {{Param|1}} }} | ||
| [[ConVar|Console Variable]]. | | [[ConVar|Console Variable]]. | ||
| {{CodeBlock|<nowiki>{{ | | {{CodeBlock|<nowiki>{{Command|sv_cheats}}</nowiki>}} | ||
| {{ | | {{Command|sv_cheats}} | ||
|- | |- | ||
| align="center" | {{Code|style=2| {{Param|2}} }} | | align="center" | {{Code|style=2| {{Param|2}} }} | ||
| Console Variable Value. | | Console Variable Value. | ||
| {{CodeBlock|<nowiki>{{ | | {{CodeBlock|<nowiki>{{Command|sv_cheats|1}}</nowiki>}} | ||
| {{ | | {{Command|sv_cheats|1}} | ||
|- | |- | ||
| align="center" | {{Code|style=2| {{Param|alt}} }} | | align="center" | {{Code|style=2| {{Param|alt}} }} | ||
| Alternative Name of the Console Variable. | | Alternative Name of the Console Variable. | ||
| {{CodeBlock|<nowiki>{{ | | {{CodeBlock|<nowiki>{{Command|sv_cheats|1|alt = Hello, World!}}</nowiki>}} | ||
| {{ | | {{Command|sv_cheats|1|alt = Hello, World!}} | ||
|} | |} | ||
Revision as of 04:50, 24 August 2025

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.
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. | sv_cheats | |
{{{2}}} | Console Variable Value. | sv_cheats 1 | |
{{{alt}}} | Alternative Name of the Console Variable. | Hello, World! 1 |
See also
- {{Material Parameter}}
- {{ent}}