Difference between revisions of "Template:Command"
Jump to navigation
Jump to search
(Make permission optional) |
m (→Usage) |
||
Line 2: | Line 2: | ||
== Usage == | == Usage == | ||
− | <pre | + | <pre>{{Command|command|description|permission}}</pre> |
== Example == | == Example == |
Revision as of 20:49, 29 December 2020
Template to display a Description, command and permission.
Usage
{{Command|command|description|permission}}
Example
{{Command|train|Main command of TrainCarts|train.command.train}}
Result:
Main command of TrainCarts | |
Command | /train |
---|---|
Permission | train.command.train |
You can also omit the permissions at the end which will look like this:
Main command of TrainCarts | |
Command | /train |
---|