Difference between revisions of "Template:Parameter"
From ComputerCraft Wiki
KnightMiner (Talk | contribs) m (you apparently need HTMLTidy for nested code tags to work...) |
Magiczocker (Talk | contribs) m |
||
Line 10: | Line 10: | ||
| | | | ||
| </code> | | </code> | ||
− | }}</includeonly><noinclude> | + | }}</includeonly><noinclude>{{Documentation}}</noinclude> |
− | {{ | + |
Revision as of 10:10, 2 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
-
{{Template link}}