Template:Command/doc

This template is used to generate auto-formatted commands.

Arguments

 * To remove the forward slash, add  or   to the template.
 * To change the command name's link, add  to the template.
 * To remove the command name's link, add  to the template.
 * To add HTML in the command, add  to the template. It's then your responsibility to   anything that looks like HTML but isn't.
 * If a command is long and may go off the edge of the screen, add  to the template. This allows the code to wrap as well as displaying it on its own line.

Deprecated function
This template was previously used for autocompletion of commands. But the syntax of the commands change as the game updates, so we cannot ensure that the output of this template matches current version or the version described on the page. Besides this template doesn't support Bedrock Edition. So this feature is deprecated now.

See also Category:Pages using deprecated command module.

This template is used to generate auto-formatted commands. Commands can either be pasted directly into the template (with or without a slash), or each parameter specified as a separate argument.

Any parameter that isn't specified or is set to an empty value or  will be replaced with the default parameter for the command, if it is a known command and a valid parameter. These parameters are formatted as Commands.

Arguments

 * To output the rest of the command including optional parameters, add  to the template.
 * To remove the forward slash, add  or   to the template.
 * To change the command name's link, add  to the template.
 * To remove the command name's link, add  to the template.
 * To add HTML in the command, add  to the template. It's then your responsibility to   anything that looks like HTML but isn't.
 * If a command is long and may go off the edge of the screen, add  to the template. This allows the code to wrap as well as displaying it on its own line.

Examples