Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Template:API parameter/doc"

From Roll20 Wiki

Jump to: navigation, search
(Created page with "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 option...")
 
m
Line 15: Line 15:
 
| <code><nowiki>{{API parameter|name=my-optional-parameter|optional=true}}</nowiki></code>
 
| <code><nowiki>{{API parameter|name=my-optional-parameter|optional=true}}</nowiki></code>
 
| {{API parameter|name=my-optional-parameter|optional=true}}
 
| {{API parameter|name=my-optional-parameter|optional=true}}
|}
+
|}<noinclude>[[Category:Template Documentation]]</noinclude>

Revision as of 23:03, 25 July 2014

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]