Template:API parameter/doc
From Roll20 Wiki
This is a documentation subpage for API parameter. It contains usage information, categories and other content that is not part of the original template page. |
Displays a parameter to an API command for use with API script syntax descriptions.
Usage
Parameters can be optional or required. Indicate that the parameter is optional with the optional parameter to this template.
Wikitext | Output |
---|---|
{{API parameter|name=my-parameter}}
|
<my-parameter> |
{{API parameter|name=my-optional-parameter|optional=true}}
|
[my-optional-parameter] |