Template:Param/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Droll
(new)
 
m (15 revisions imported)
 
(14 intermediate revisions by 12 users not shown)
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. -->


This template is for giving examples of template parameter source code which is useful in template documentation and talk page discussions of template code.
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 ===
===Usage===
 
:<code><nowiki>{{param|foo}}</nowiki></code> → {{param|foo}}
:<code><nowiki>{{param|foo}}</nowiki></code> → {{param|foo}}
 
:<code><nowiki>{{param|foo|tag=kbd}}</nowiki></code> &rarr; {{param|foo|tag=kbd}}
:<code><nowiki>{{param|foo|bar}}</nowiki></code> → {{param|foo|bar}}
:<code><nowiki>{{param|foo|bar}}</nowiki></code> → {{param|foo|bar}}
:<code><nowiki>{{param|foo|{{param|bar|nested=yes}}}}</nowiki></code> → {{param|foo|{{param|bar|nested=yes}}}}
:<code><nowiki>{{param|foo|{{param|bar|{{param|baz|derp|nested=yes}}|nested=yes}}}}</nowiki></code> → {{param|foo|{{param|bar|{{param|baz|derp|nested=yes}}|nested=yes}}}}


=== See also ===
====Examples involving {{tl|para}}====
:<code><nowiki>{{para|foo|{{param|bar}}}}</nowiki></code> → {{para|foo|{{param|bar}}}}
:<code><nowiki>{{para|foo|{{param|bar|nested=yes}}}}</nowiki></code> → {{para|foo|{{param|bar|nested=yes}}}}
:<code><nowiki>{{para|foo}}{{param|bar}}</nowiki></code> → {{para|foo}}{{param|bar}}
:<code><nowiki>{{para|foo|{{var|bar}}}}</nowiki></code> → {{para|foo|{{var|bar}}}}


===See also===
* {{tl|para}}
* {{tl|para}}


<includeonly>
<!-- Categories and interwikis go here: -->
[[Category:Typing-aid templates]]


[[pt:Predefinição:Parâmetro]]
{{Semantic markup templates}}


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