Template:Param/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>It Is Me Here
meta>Sardanaphalus
See also: template update, category
Line 19: Line 19:
* {{tl|para}}
* {{tl|para}}


====Other markup-related templates====
 
{{Semantic templates see also}}
{{Semantic markup templates}}


<includeonly>
<includeonly>
<!-- Categories and interwikis go here: -->
<!-- Categories below this line, please: -->
[[Category:Semantic markup templates]]
[[Category:Typing-aid templates]]
[[Category:Typing-aid templates]]



Revision as of 00:04, 7 December 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