Teamplaid:param/documentation
This is a documentation subpage for Teamplaid:param. It contains usage information, categories and other content that is not part of the original teamplaid page. |
This template simply displays a parameter surrounded by {{{triple braces}}}, as usual in MediaWiki template code.
Ùsaid - Usage
deasaichThis template may be added anywhere outside of the main (dictionary) namespace to display a parameter as it would appear inside of template code.
To display a parameter between a vertical line and an equal sign, as it would appear in a template call (e.g., |parameter=), use {{Para}}
.
To display a parameter name in order to explain its usage on a template documentation subpage, use {{docparam}}
.
Paramadairean - Parameters
deasaichThis template uses one or two unnamed (positional) parameters.
|1=
(required) The parameter name to be shown.|2=
(optional) The text that appears after the parameter name and a pipe. If this parameter is "!" (an exclamation point), only the pipe will be shown after the parameter name.
Eisimpleirean - Examples
deasaich{{param|abc}}
returns:
{{{abc}}}
{{param|abc|!}}
returns:
{{{abc|}}}
{{param|abc|def}}
returns:
{{{abc|def}}}
{{param|1}}
returns:
{{{1}}}
{{param|salt|pepper}}
returns:
{{{salt|pepper}}}
Faic cuideachd - Also see
{{Temp}}
{{category}}