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:Formal API command/doc"

From Roll20 Wiki

Jump to: navigation, search
m
m
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
{{documentation subpage|override=formal api command/doc|Formal API command}}
 
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.
 
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.
  
Line 12: Line 13:
 
| <code><nowiki>{{formal API command|Command description here}}</nowiki></code>
 
| <code><nowiki>{{formal API command|Command description here}}</nowiki></code>
 
| {{formal API command|Command description here}}
 
| {{formal API command|Command description here}}
|}<noinclude>[[Category:Template Documentation]]</noinclude><includeonly>[[Category:API Templates]][[Category:Regular Grammar Templates]]</includeonly>
+
|}<includeonly>[[Category:API Templates]][[Category:Regular Grammar Templates]]</includeonly>

Latest revision as of 16:10, 16 January 2015

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