Template:Param: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{SAFESUBST:<noinclude />#ifeq:{{SAFESUBST:<noinclude />Yesno|{{{nested|no}}}}}|yes||<{{{tag|code}}}>}}{{{{{{1<noinclude>|foo</noinclude>}}}{{SAFESUBST:<noinclude />#ifeq:{{{2}}}|{{{2|}}} ||}}{{{2|}}}}}}{{SAFESUBST:<noinclude />#ifeq:{{SAFESUBST:<noinclude />Yesno|{{{nested|no}}}}}|yes||</{{{tag|code}}}>}}<noinclude> {{Documentation}} <!-- Add categories to the /doc subpage, not here! --> </noinclude>") |
m (Protected "Template:Param" ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
(No difference)
|
Latest revision as of 23:06, 24 July 2023
{{{foo}}}
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}}}
}}}