Template:Param/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Sardanaphalus
(→‎See also: {{Semantic templates see also}})
meta>It Is Me Here
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{Distinguish|Template:Para}}
<!-- Categories and interwikis go at the bottom of this page. -->
<!-- Categories and interwikis go at the bottom of this page. -->



Revision as of 21:44, 18 July 2014

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

See also

Other markup-related templates

Template:Semantic templates see also