Jump to content

Teamplaid:param

O Wiktionary

{{{}}}

Template documentation[view] [edit] [history] [purge]

This template simply displays a parameter surrounded by {{{triple braces}}}, as usual in MediaWiki template code.

Ùsaid - Usage[deasaich]

This 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[deasaich]

This 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]

returns:
  • {{{abc}}}
returns:
  • {{{abc|}}}
returns:
  • {{{abc|def}}}
returns:
  • {{{1}}}
returns:
  • {{{salt|pepper}}}


Faic cuideachd - Also see