Template:Param/doc
This is a documentation subpage for Template:Param (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Lua error in Module:Hatnote_list at line 44: attempt to call field 'formatPages' (a nil value).
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[edit]
{{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}}[edit]
{{para|foo|{{param|bar}}}}
→|foo=
{{{bar}}}
{{para|foo|{{param|bar|nested=yes}}}}
→|foo={{{bar}}}
{{para|foo}}{{param|bar}}
→|foo=
{{{bar}}}
See also[edit]
- {{para}}