Template:Param
From MansunWiki
Revision as of 11:41, 16 July 2015 by DarkMavis (Talk | contribs) (Created page with "{{#ifeq:{{Yesno|{{{nested|no}}}}}|yes||<{{{tag|code}}}>}}{{{{{{1<noinclude>|foo</noinclude>}}}{{#ifeq:{{{2}}}|{{{2|}}} ||}}{{{2|}}}}}}{{#ife...")
{{{foo}}}
This documentation is transcluded from Template:Param/doc. (edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
{{#invoke:Hatnote|hatnote}}
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=<code>{{{bar}}}
</code> - {{para|foo|{{param|bar|nested=yes}}}} →
|foo={{{bar}}}
- {{para|foo}}{{param|bar}} →
|foo=
{{{bar}}}
- {{para|foo|<var>bar</var>}} →
|foo=bar
See also
- {{para}}