Template:Parameter/doc

From Create: Minecraft Mod Wiki
Revision as of 10:35, 14 April 2021 by Create: Minecraft Mod Wiki>Joker876 (Created page with "{{documentation subpage}} {{shortcut|p}} This template outputs the name of a parameter within code tags, without the parameter being affected by page transclusion. == Usage =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:Parameter.
It contains usage information, categories and other content that is not part of the original template page.
Template shortcut
  • {{p}}

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

Usage

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

Examples

{{p|1}}
produces

{{{1}}}

{{p|parameter|default}}
produces

{{{parameter|default}}}