Template:Param: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (cat: Formatting templates. Unsure if that is the best subcategory though)
m (fix: Actually changing the category...)
 
Line 40: Line 40:
}}
}}


[[Category:Templates]]
[[Category:Formatting templates]]
</noinclude>
</noinclude>

Latest revision as of 16:03, 20 June 2019

'


The following template description is not displayed when the template is inserted in an article.

Goal

To provide consistent template parameter formatting for template documentation.

Usage

{{param
| parameter
| value
}}

All parameters are optional.

parameter
The parameter name.
value
The parameter value.

Example

{{param | type }}

type

{{param | type | x }}

type = x

{{param | | x }}

x