Template:Cmd/doc

From Valve Developer Community
Jump to: navigation, search
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(台灣)‎ (zh-tw)
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. 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