Template:Param/doc: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
create
 
confusing
 
Line 6: Line 6:
*first unnamed parameter: use this as the name of a named parameter.
*first unnamed parameter: use this as the name of a named parameter.
*second unnamed parameter: use this as the value of a parameter, either named or unnamed.
*second unnamed parameter: use this as the value of a parameter, either named or unnamed.
**You can also use this parameter if you want to show only the parameter name and no equals sign.
**If you want to show only the parameter name and no equals sign, use this parameter and not the first.
*third unnamed parameter: define this to exclude the preceding pipe.
*third unnamed parameter: define this to exclude the preceding pipe.


<includeonly>[[Category:Formatting templates]]</includeonly>
<includeonly>[[Category:Formatting templates]]</includeonly>

Latest revision as of 13:43, 16 October 2025

This page contains the documentation for Template:Param. It includes information about the template, such as usage and categories, and is not displayed when using the template itself.

This template is used to demonstrate template parameter usage.

Parameters

  • first unnamed parameter: use this as the name of a named parameter.
  • second unnamed parameter: use this as the value of a parameter, either named or unnamed.
    • If you want to show only the parameter name and no equals sign, use this parameter and not the first.
  • third unnamed parameter: define this to exclude the preceding pipe.