Template:Varcom
This template can be used for both console variables and console commands.
Parameters
- Name of the variable or command.
- To generate the header, put
start
in this space. - To finish the table, put
end
. - If this is not defined, the text NAME MISSING! will appear and forcibly break the table formatting until it is fixed.
- To generate the header, put
- Parameter(s) of the command, or for variables, the default value.
- Optional.
- Put
null
to display the text [blank by default].
- Descriptor for whatever is put in the last space.
- Optional.
- Put
01
to quickly indicate boolean convars. - Similarly, use
dist
for Hammer units.
- Effect of the command or variable.
- If undefined, a TODO will take its place.
- Language suffix.
- The parameter - {{{suf}}}. You can specify it to
|suf=:<lang code>
and the template will use the translations (if exist). It should be used for every part of the template if you want to use the other languages.
- The parameter - {{{suf}}}. You can specify it to
Examples
↓
Cvar/Command | Parameters or default value | Descriptor | Effect |
---|---|---|---|
noclip |
| Makes player ignore gravity and all solidity. Useful for observing and debugging. | |
sv_cheats | 0 | 0 disables, 1 enables | 1 enables cheats on the server, which disables achievement progress and enables many more console commands. |
setpos | x y <z optional> | coordinates | Puts the player at the coordinate triplet entered. If z is not specified, the player will maintain their current z position. |
The above documentation is transcluded from Template:Varcom/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.