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:Function parameters/doc"

From Roll20 Wiki

Jump to: navigation, search
m
Line 2: Line 2:
 
Creates a list of function parameters and their description, in a definition list. Up to 9 parameters can be specified. The first template parameter is the name of the first function parameter, the second template parameter is the description of the first function parameter, the third template parameter is the name of the second function parameter, etc.
 
Creates a list of function parameters and their description, in a definition list. Up to 9 parameters can be specified. The first template parameter is the name of the first function parameter, the second template parameter is the description of the first function parameter, the third template parameter is the name of the second function parameter, etc.
  
By default, this template will create a level 4 heading for the parameters. You can change that with the <code>h</code> parameter for the template.
+
By default, this template will create a level 4 heading for the parameters. You can change that with the <code>h</code> parameter for the template. The text of the section heading can be overridden with the <code>section</code> parameter.
 
<includeonly>[[Category:Documentation templates]]</includeonly>
 
<includeonly>[[Category:Documentation templates]]</includeonly>

Revision as of 08:11, 29 July 2016

Creates a list of function parameters and their description, in a definition list. Up to 9 parameters can be specified. The first template parameter is the name of the first function parameter, the second template parameter is the description of the first function parameter, the third template parameter is the name of the second function parameter, etc.

By default, this template will create a level 4 heading for the parameters. You can change that with the h parameter for the template. The text of the section heading can be overridden with the section parameter.