Template:Param/doc

Revision as of 21:09, 24 October 2020 by Caleb Cooper (talk | contribs) (See also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This content is in the Template Namespace. Used for page-templates that can be re-used across the wiki.


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

For more detail see wikipedia page wikipedia:Template:Param