Difference between revisions of "Template:Formal API command"
From Roll20 Wiki
m |
m |
||
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | <div class="mw-collapsible-content" style="margin-top: 2ex">'''Formally:''' | + | <includeonly><div class="mw-collapsible-content" style="margin-top: 2ex">'''Formally:''' |
− | {{{1}}}</div> | + | {{{1}}}</div></includeonly><noinclude>{{documentation}}</noinclude> |
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. |