Template:Param
From Captain of Industry Wiki
{{{foo}}}
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
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}}}
The above text is transcluded from Template:Param/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror ) and testcases (create) pages.
Please add categories and interwikis to Template:Param/doc. (View all subpages of this page.)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror ) and testcases (create) pages.
Please add categories and interwikis to Template:Param/doc. (View all subpages of this page.)