Difference between revisions of "Template:Parameter/doc"

From ComputerCraft Wiki
Jump to: navigation, search
(Created page with "This template outputs the name of a parameter within code tags, without the parameter being affected by page transclusion. This template can also be called using the shortcut...")
 
m
 
Line 22: Line 22:
  
 
* {{tl|Template link}}
 
* {{tl|Template link}}
 +
<noinclude>[[Category:Documentation pages]]</noinclude>

Latest revision as of 07:52, 4 August 2020

This template outputs the name of a parameter within code tags, without the parameter being affected by page transclusion. This template can also be called using the shortcut {{p}}

Usage

{{p|parameter name|optional parameter default}}

Examples

{{p|1}}
produces

{{{1}}}

{{p|parameter|default}}
produces

{{{parameter|default}}}

See also