Template:Param

From Blockgame Wiki
Revision as of 21:36, 28 October 2024 by Nelas (talk | contribs) (Created page with "<includeonly><code style=""><nowiki>{{{</nowiki>{{{1}}}{{ #if:{{{2|}}} |{{!}}{{{2}}} }}<nowiki>}}}</nowiki></code></includeonly><noinclude> {{doc}} <!-- Source: https://minecraft.wiki/w/Template:Param --> <!-- Put categories/interwiki on the documentation page --> </noinclude>")
(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