Template:Param/doc

From Blockgame Wiki
Revision as of 21:36, 28 October 2024 by Nelas (talk | contribs) (Created page with "{{doc/start}} <!-- Source: https://minecraft.wiki/w/Template:Param/doc --> 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 == * {{tl|Para}} <inc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Documentation

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


This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.