Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:CMD: Difference between revisions

Template page
(Created page with "<div class="command-template copy">{{{1}}}</div>")
 
No edit summary
Line 1: Line 1:
<div class="command-template copy">{{{1}}}</div>
<div class="command-template copy">{{{1|}}}</div>
<noinclude>
<templatedata>
{
"params": {
"1": {
"label": "Command",
"description": "The command that should display to the reader. use <angle brackets> for required parameters, and [square brackets] for optional parameters.",
"example": "lwc create <type> [allowed players]",
"type": "string",
"required": true
}
},
"description": "This template displays the provided command in code styling, and allows readers to click the command to copy it. (Chrome only.)",
"format": "inline"
}
</templatedata>
</noinclude>

Revision as of 01:24, 28 April 2023

This template displays the provided command in code styling, and allows readers to click the command to copy it. (Chrome only.)

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Command1

The command that should display to the reader. use <angle brackets> for required parameters, and [square brackets] for optional parameters.

Example
lwc create <type> [allowed players]
Stringrequired