ထႅမ်းပလဵတ်ႉ:para
|{{{1}}}={{{2}}}
- The following documentation is located at ထႅမ်းပလဵတ်ႉ:para/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
လွင်ႈၸႂ်ႉတိုဝ်း
[မႄးထတ်း]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}}} (as would appear in template code), use Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value)..
ပႃႇရႃႇမီႇတႃႇ
[မႄးထတ်း]This template takes the following parameters:
|1=
(may be empty if second parameter is present): the name of the parameter|2=
(optional if first parameter is present): a corresponding value for the parameter|3=
(optional): additional usage text|req=1
: indicate that the parameter is required|opt=1
: indicate that the parameter is optional
တူဝ်ယၢင်ႇ
[မႄးထတ်း]- Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).
- Result:
|name=
- Result:
- Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).
- Result:
|name=
(required)
- Result:
- Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).
- Result:
|name=
(optional)
- Result:
- Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).
- Result:
|opt=1
- Result:
- Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).
- Result:
|title=book title
- Result:
- Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).
- Result:
|section
. This is useful for referring to values of unnamed parameters; note the empty first parameter in the template call.
- Result:
- Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).
- Result:
|parameter=value
- Result:
- Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).
- Result:
|=foo
- Result:
- Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).
- Result:
|2=
(optional if first parameter is present)
- Result:
When using literal, pre-specified values, simply provide the value (appearance as in example 6). When illustrating hypothetical, variable or user-definable values, use <var>value</var>
(appearance as in example 5), and the same should be done for non-literal, example parameters (as in example 7).