Template:Param/doc
Jump to navigation
Jump to search

This is a documentation subpage for Template:Param.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
This template is for giving examples of template parameter source code which is useful in template documentation and talk page discussions of template code.
Parameters
- {{{1}}} – Parameter name. Displays the number 1 by default.
- {{{2}}} – additional text to be inserted after the parameter name, without a separator. Use | for separator.
Examples
- {{Param}} → {{{1}}}
- {{Param|text}} → {{{text}}}
- {{Param|name|:<lang>}} → {{{name|:<lang>}}}
- {{Param|2=|text}} → {{{1||text}}}