Template:Para
Appearance
|
| Parts of this documentation were copied from the English Wikipedia article on this module. Note that the documentation could have been edited since copying. |
This template is helpful for displaying parameter information in template documentation.
Usage
It must have at least one or two parameters itself. The first parameter is the name of the example parameter to display (this may be empty, but it must be present). Leaving the first parameter empty is used to display unnamed parameters, as shown in the examples below.
Parameters
|1=
- first unnamed parameter – the parameter name
|2=
- second unnamed parameter – the value name. When the first parameter is given but is blank, the second represents an unnamed parameter's value (or a valueless parameter name), as illustrated above.
Examples
| Code | Result | Notes |
|---|---|---|
{{para|name}}
|
|name=
|
|
{{para|title|The Oxford English Dictionary}}
|
|title=The Oxford English Dictionary
|
|
{{para||section}}
|
|section
|
For unnamed parameters; note empty first parameter in the code |