Template:CommandReference: Difference between revisions
Jump to navigation
Jump to search
imported>Felice Enellen (quick test to see why that didn't work right) |
imported>Felice Enellen (undo test) |
||
| Line 48: | Line 48: | ||
#if:{{{1|}}}| | #if:{{{1|}}}| | ||
;: <var>{{{1}}}</var> | ;: <var>{{{1}}}</var> | ||
: : {{{3}}} | :: {{{3}}} | ||
|}}{{ | |}}{{ | ||
#if:{{{4|}}}| | #if:{{{4|}}}| | ||
Revision as of 13:28, 26 March 2020
Use this template at the top of every system command reference page:
{{CommandReference
|name=load
|shortdesc=Loads a cartridge file.
|filename||The name of the cartridge file.
}}
name=... is the name of the command.
shortdesc=... is a short description, where the first sentence is a verb phrase with an implied noun (e.g. "Loads a cartridge file."), followed by an optional second (full) sentence.
The subsequent template parameters describe the command arguments. Each argument has three template parameters: the argument name, "optional" if the argument is optional, and a short description.
As a matter of style, command and argument short descriptions begin with a capital letter and end with a period.
This template supports up to 10 command arguments. Extend the template if more are needed.
{{{name}}}
- {{{shortdesc}}}