Template:Cmd/Doc

From Open Fortress Wiki
Revision as of 03:50, 4 January 2025 by Kate (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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