Difference between revisions of "Template:Param"

From LIMSWiki
Jump to navigationJump to search
(Added as needed.)
 
m (Changed protection level for "Template:Param": As necessary ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
 
(One intermediate revision by the same user not shown)

Latest revision as of 20:38, 1 April 2022

{{{foo}}}

[edit] [purge] Template documentation

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