Template:Param

From Kerbal Space Program Wiki
Revision as of 03:53, 1 June 2015 by Murph (talk | contribs) (Import from Wikipedia (CC BY-SA license))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

{{{foo}}}

Documentation icon Template documentation[view] [edit] [history] [purge]Pages that link to Template:Param

Template:Distinguish

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|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}} → |foo={{{bar}}}
{{para|foo|<var>bar</var>}} → |foo=bar

See also


Template:Semantic markup templates