Template:Param/doc
< Template:Param
Jump to navigation
Jump to search
Revision as of 02:12, 16 September 2022 by Gwyneth Llewelyn (talk | contribs) (Shamelessly copied from wikipedia.org)
This is a documentation subpage for Template:Param. It contains usage information, categories and other content or metadata that is not part of the original template. |
This template is for giving examples of template parameter source code which is useful in template documentation and talk page discussions of template code.
Usage
{{param|foo}}
→{{{foo}}}
{{param|foo|tag=kbd}}
→ {{{foo}}}{{param|foo|bar}}
→{{{foo|bar}}}
{{param|foo|{{param|bar|nested=yes}}}}
→{{{foo|{{{bar}}}}}}
{{param|foo|{{param|bar|{{param|baz|derp|nested=yes}}|nested=yes}}}}
→{{{foo|{{{bar|{{{baz|derp}}}}}}}}}
Examples involving {{para}}
{{para|foo|{{param|bar}}}}
→ |foo ={{{bar}}}
{{para|foo|{{param|bar|nested=yes}}}}
→ |foo = {{{bar}}}{{para|foo}}{{param|bar}}
→ |foo ={{{bar}}}
{{para|foo|{{var|bar}}}}
→ |foo = bar
See also
{{para|foo|bar}}
→ |foo = bar{{param value|baz quux|space=·}}
→:
- &*
- &#*
- *
- **
- **
- *
- *
- *
- &*
- *
- &**
- *
- &*
- *
- &*
- *
- &*
- &*
- *
- &*
- &#*
- *
- &*
- &#**
- *
- &*
- &#*
- *
- &*
- &#*
- *
- &*
- &#*
- &*
- *
- &*
- &#*
- &#*
- *
- &*
- &#*
- *
- *
- &*
- &#*
- **
- *
- &*
- &#*
- *
- *
- &*
- &#*
- *
- *
- &*
- &#*
- *
- &*
- *
- &*
- &#*
- *
- &#*
- *
- &*
- &#*
- *
- *
- *
- &*
- &#*
- *
- #*
- *
- &*
- &#*
- *
- #**
- *
- &*
- &#*
- *
- #*