Template:Invocation/doc

Use this template to display a user command's invocation options, e.g. the output of or.

See also RootInvocation.

Parameters

 * Anonymous parameter (only 1 accepted)
 * Add a command. Use or  instead of the characters "=" or "|" for inline references.


 * prompt (optional)
 * Change the command prompt (default: user $).


 * color (optional)
 * Change the prompt color (default: some green).


 * output (optional)
 * Add the command's output.

Usage
See the template's testcases: