Difference between revisions of "Parameter/Documentation"
Stratonian (talk | contribs) m |
Stratonian (talk | contribs) m (→Usage) |
||
Line 2: | Line 2: | ||
Displays a documentation parameter. Used to ensure documentation is standardised. | Displays a documentation parameter. Used to ensure documentation is standardised. | ||
==Usage== | ==Usage== | ||
− | {{T|parameter|name|description}} | + | {{T|parameter|name|description}}<br> |
− | {{T|parameter|name|description|default}} | + | {{T|parameter|name|description|default}}<br> |
{{T|parameter|name|description|default|notes}} | {{T|parameter|name|description|default|notes}} | ||
+ | |||
==Parameters== | ==Parameters== | ||
{{parameter|1|The name of the parameter.}} | {{parameter|1|The name of the parameter.}} |
Revision as of 20:09, 25 February 2023
Description
Displays a documentation parameter. Used to ensure documentation is standardised.
Usage
{{parameter|<name>|<description>}}
{{parameter|<name>|<description>|<default>}}
{{parameter|<name>|<description>|<default>|<notes>}}
Parameters
- 3: The default value of the parameter.
- Optional.
- Notes: If there is no default value, the parameter is assumed to be required. If the parameter is optional and has no default value, define the parameter but leave it blank.
Errors
No parameter description was provided. Add a description parameter.
No parameter name was provided. Add a name parameter.