Template:Param/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>ShakespeareFan00
m (15 revisions imported)
 
(One intermediate revision by one other user not shown)
Line 24: Line 24:
{{Semantic markup templates}}
{{Semantic markup templates}}


<includeonly>
<includeonly>{{Sandbox other||
<!-- Categories below this line, please: -->
<!-- Categories below this line, please: -->
[[Category:Semantic markup templates]]
[[Category:Semantic markup templates]]
[[Category:Typing-aid templates]]
[[Category:Typing-aid templates]]
</includeonly>
}}</includeonly>

Latest revision as of 04:50, 3 September 2020

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