Template:Param: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
(create)
 
mNo edit summary
 
Line 1: Line 1:
<code>{{#if:{{{3|}}}||{{!}}}}{{#if:{{{1|<nocinlude>x</noinclude>}}}|{{{1}}}=}}{{#if:{{{2|<noinclude>x</noinclude>}}}|{{{2}}}}}</code><noinclude>{{documentation}}</noinclude>
<code>{{#if:{{{3|}}}||{{!}}}}{{#if:{{{1|<noinclude>x</noinclude>}}}|{{{1}}}=}}{{#if:{{{2|<noinclude>x</noinclude>}}}|{{{2}}}}}</code><noinclude>{{documentation}}</noinclude>

Latest revision as of 11:44, 13 July 2021

|{{{1}}}={{{2}}}

Documentation [edit]

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.
    • You can also use this parameter if you want to show only the parameter name and no equals sign.
  • third unnamed parameter: define this to exclude the preceding pipe.

The above documentation is transcluded from Template:Param/doc.