Template:paramref/documentation

Hello, you have come here looking for the meaning of the word Template:paramref/documentation. In DICTIOUS you will not only get to know all the dictionary meanings for the word Template:paramref/documentation, but we will also tell you about its etymology, its characteristics and you will know how to say Template:paramref/documentation in singular and plural. Everything you need to know about the word Template:paramref/documentation you have here. The definition of the word Template:paramref/documentation will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofTemplate:paramref/documentation, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
Documentation for Template:paramref. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This template displays a parameter name surrounded by {{{triple braces}}}, as one would see in MediaWiki template code. Note that this is useful when discussing the coding of templates (e.g., on template talk pages), but not so much when discussing how to use templates (e.g., in template documentation or on entry talk pages). For the latter usage, please see {{para}}.

Usage

This template may be added anywhere outside of the main (dictionary) namespace to display a parameter as it would appear inside template code.

Parameters

This template uses one or two unnamed (positional) parameters:

  • |1= (required) The parameter name to be shown. This can be empty, but must be given.
  • |2= (optional) The text that appears after the parameter name and a pipe. This can be empty.

Examples

  • {{paramref|1}} returns:
    {{{1}}}
  • {{paramref|foo}} returns:
    {{{foo}}}
  • {{paramref|bar|}} returns:
    {{{bar|}}}
  • {{paramref|salt|pepper}} returns:
    {{{salt|pepper}}}
  • {{paramref||Tweedle-dee}} returns:
    {{{|Tweedle-dee}}}

See also