Difference between revisions of "Parameter/Documentation"

m (→‎Description: american english)
Line 1: Line 1:
 
==Description==
 
==Description==
Displays a documentation parameter. Used to ensure documentation is standardised.
+
Displays a documentation parameter. Used to ensure documentation is standardized.
 +
 
 
==Usage==
 
==Usage==
 
{{T|parameter|name|description}}<br>
 
{{T|parameter|name|description}}<br>

Revision as of 19:35, 2 March 2023

Description

Displays a documentation parameter. Used to ensure documentation is standardized.

Usage

{{parameter|<name>|<description>}}
{{parameter|<name>|<description>|<default>}}
{{parameter|<name>|<description>|<default>|<notes>}}

Parameters

Arrow.png1: The name of the parameter.
Required.
Arrow.png2: A concise description of the parameter.
Required.
Arrow.png3: 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.
Arrow.png3: Additional notes.
Optional.

Errors

No parameter description was provided. Add a description parameter.
No parameter name was provided. Add a name parameter.