Teamplaid:Para
|{{{1}}}={{{2}}}
Ùsaid - Usage
deasaichThis template simply displays a parameter name between a vertical line and an equal sign, as is seen in template calls. (This is useful in template documentation and in talk page discussions of templates.)
To display a parameter name surrounded by {{{triple-braces}}}, use {{param}}
.
To display a parameter name in order to explain its usage on a template documentation subpage, use {{docparam}}
.
Paramadairean - Parameters
deasaichThis template takes up to two positional (unnamed) parameters:
|1=
the name of the parameter (may be empty if second parameter is present)|2=
a corresponding value for the parameter (optional if first parameter is present)
Eisimpleirean - Examples
deasaich{{Para|name}}
- Result:
|name=
- Result:
{{Para|title|book title}}
- Result:
|title=book title
- Result:
{{Para||section}}
- Result:
|section
. This is useful for referring to values of unnamed parameters; note the empty first parameter in the template call.
- Result:
{{Para|parameter|value}}
- Result:
|parameter=value
- Result:
{{Para|=|foo}}
- Result:
|=foo
- Result:
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var>
(appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
The above documentation is transcluded from Teamplaid:Para/documentation. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /documentation subpage. Subpages of this template. |