Template:Param
From Kerbal Space Program Wiki
{{{foo}}}
This template uses material from the Wikipedia template Template:Param, which is released under the Creative Commons Attribution-ShareAlike 3.0 Unported License (view authors). | Error creating thumbnail: /bin/bash: rsvg-convert: command not found |
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=<code>{{{bar}}}
</code> - {{para|foo}}{{param|bar}} →
|foo=
{{{bar}}}
- {{para|foo|<var>bar</var>}} →
|foo=bar
See also
- {{para}}
The above documentation is transcluded from Template:Param/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |