Fyrimynd:Param

Frá Wikipedia, hin frælsa alfrøðin
Jump to navigation Jump to search

{{{foo}}}

Documentation icon Skjalfesting til fyrimyndina[vís] [rætta] [søga] [dagfør]
Not to be confused with Template:Para.

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[rætta wikitekst]

{{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}}[rætta wikitekst]

{{para|foo|{{param|bar}}}} → |foo={{{bar}}}
{{para|foo}}{{param|bar}} → |foo={{{bar}}}
{{para|foo|<var>bar</var>}} → |foo=bar

See also[rætta wikitekst]