Template:Cmd/Doc: Difference between revisions

From Open Fortress Wiki
Jump to navigation Jump to search
(Created page with "{{Doc/subpage}} Formats the text as a console command. Should be used only for console variables/commands. == Parameters and Examples == {| class="standard-table" width="100%" ! Parameter ! Description ! Example ! Preview |- | align="center" | {{Code|style=2| {{Param|1}} }} | Console Variable. | {{CodeBlock|<nowiki>{{Command|sv_cheats}}</nowiki>}} | {{Command|sv_cheats}} |- | align="center" | {{Code|style=2| {{Param|2}} }} | Console Variable Value. | {{CodeBl...")
 
(No difference)

Latest revision as of 03:50, 4 January 2025

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