Template:Param/doc

Revision as of 15:48, 6 August 2024 by JarlPenguin (talk | contribs) (Created page with "{{documentation header}} This template outputs the name of a parameter within code tags, without the parameter being affected by page transclusion. == Usage == {{<nowiki/>param|<var>parameter name</var>|<var>optional parameter default</var>}} == Examples == <pre> {{param|1}} </pre> ;produces {{param|1}} <pre> {{param|parameter|default}} </pre> ;produces {{param|parameter|default}} == See also == * {{t|Template link}} * {{t|Para}} * {{t|TemplateCode}} <includeonly...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is the documentation page. It should be transcluded into Template:Param. See Template:Documentation for more information.

This template outputs the name of a parameter within code tags, without the parameter being affected by page transclusion.

Usage

{{param|parameter name|optional parameter default}}

Examples

{{param|1}}
produces

{{{1}}}

{{param|parameter|default}}
produces

{{{parameter|default}}}

See also