Difference between revisions of "Template:Param/doc"

From Second Life Wiki
Jump to navigation Jump to search
(Shamelessly copied from wikipedia.org)
 
m (→‎See also: removed broken markup)
 
Line 20: Line 20:
===See also===
===See also===
* {{tbullet|para|foo|bar}}
* {{tbullet|para|foo|bar}}
* {{tlc|param value|baz  quux|space{{=}}·}}  → {{param value|baz  quux|space=·}}
<!--* {{tlc|param value|baz  quux|space{{=}}·}}  → {{param value|baz  quux|space=·}}-->


{{Semantic markup templates|show}}
{{Semantic markup templates|show}}

Latest revision as of 06:46, 4 September 2023

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

{{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

  • {{para|foo|bar}} → |foo = bar