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
(make a span)
(remove whitespace)
Line 1: Line 1:
<span class="command-template copy">{{#inline-tooltip:/{{{1}}}|Click to copy command}}</span>
<span class="command-template copy">{{#inline-tooltip:/{{{1}}}|Click to copy command}}</span><!--
<noinclude>
--><noinclude>
<templatedata>
<templatedata>
{
{

Revision as of 02:46, 1 May 2023

/{{{1}}}

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