Template:Param: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Template formatting improvements, and enforcement of spacing around the equals sign.)
m (cat: Formatting templates. Unsure if that is the best subcategory though)
Line 38: Line 38:
{{param | | x}}
{{param | | x}}


}}</noinclude>
}}
 
[[Category:Templates]]
</noinclude>

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