Template:Param/doc: Difference between revisions
Appearance
| [checked revision] | [checked revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) Created page with "{{Documentation subpage}} {{Distinguish|Template:Para}} {{Commons Import}} <!-- Categories and interwikis go at the bottom of this page. --> This template is for giving examp..." |
Caleb Cooper (talk | contribs) |
||
| Line 20: | Line 20: | ||
===See also=== |
===See also=== |
||
For more detail see wikipedia page [[wikipedia:Template:Param]] |
|||
* {{tbullet|para|foo|bar}} |
|||
{{Semantic markup templates}} |
|||
<includeonly>{{Sandbox other|| |
<includeonly>{{Sandbox other|| |
||
Latest revision as of 21:09, 24 October 2020
| This page was automatically imported from Commons any changes will be overwritten, the source page is here () |
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
For more detail see wikipedia page wikipedia:Template:Param