Difference between revisions of "Template:Formal API command"
From Roll20 Wiki
m |
|
(One intermediate revision by one user not shown) |
Latest revision as of 23:05, 30 December 2014
Creates a region for documenting API commands using formal constructs such as regular grammar. Because the formal definitions are not widely understood, they can be hidden by default.
This template should be used after {{syntaxbox top}}
and before {{syntaxbox bottom}}
. Ideally, it should be used after the {{API command}}
that it describes. In order to make the formal command description hidden by default, you must specify as much when you use the Syntaxbox top template.
[edit] Usage
Wikitext | Output |
---|---|
{{formal API command|Command description here}}
|
Formally:
Command description here
|
The above documentation is transcluded from Template:Formal API command/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |