Difference between revisions of "Template:Docs/row/optional"

From The Coppermind
Jump to navigation Jump to search
(Created page with "<noinclude> Helper template to insert an optional parameter row in an infobox template documentation page. It takes 3 parameters: * <code>param</code>: The name of the paramet...")
 
m
Line 15: Line 15:
 
<!-- Examples cell -->
 
<!-- Examples cell -->
 
| style="white-space: nowrap;" | {{{eg}}}
 
| style="white-space: nowrap;" | {{{eg}}}
  +
|-
 
<noinclude>
 
<noinclude>
 
|}
 
|}

Revision as of 19:16, 19 April 2019

Helper template to insert an optional parameter row in an infobox template documentation page. It takes 3 parameters:

  • param: The name of the parameter being documented
  • desc: A description of how the parameter is to be used
  • eg: One or more usage examples
Documentation for an optional parameter
Parameter Description Examples
{{{param}}} {{{desc}}} {{{eg}}}

Usage