Sablon:para
|{{{1}}}={{{2}}}
Usage
[szerkesztés]This 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 with a parenthesis after it on a template documentation page, use {{docparam}}
.
Parameters
[szerkesztés]This 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)
Examples
[szerkesztés]{{para|name}}
- Result:
|name=
- Result:
{{para|title|<var>book title</var>}}
- 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|<var>parameter</var>|<var>value</var>}}
- 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).