Template:Cmd

From Open Fortress Wiki
Revision as of 03:50, 4 January 2025 by Kate (talk | contribs) (Created page with "{{Doc}} <includeonly><onlyinclude>{{Code|preset=1|[[{{{1}}}{{#if:{{{alt|}}}|{{!}}{{{alt}}}|}}]]{{#if:{{{2|}}}| {{{2}}}|}}}}</onlyinclude></includeonly>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template Documentation [edit]

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