Template:Cmd: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "<includeonly><onlyinclude><onlyinclude><includeonly><code style=padding:0>[[{{{1}}}]]{{#if:{{{2|}}}| {{{2}}}|}}</code></includeonly></onlyinclude>{{doc}} </onlyinclude></...")
 
m (THE OWL moved page Template:Command to Template:Cmd over redirect)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><onlyinclude><onlyinclude><includeonly><code style=padding:0>[[{{{1}}}]]{{#if:{{{2|}}}|&nbsp;{{{2}}}|}}</code></includeonly></onlyinclude>{{doc}}
{{Doc}}
</onlyinclude></includeonly>[[Category:Templates]] [[Category:Formatting templates]]
<includeonly><onlyinclude>{{Code|preset=1|[[{{{1}}}|{{{alt|{{{1}}}}}}]]{{#if:{{{2|}}}|&nbsp;{{{2}}}|}}}}</onlyinclude></includeonly>

Latest revision as of 10:14, 24 August 2025

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)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history

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

See also