Template:Parmdesc/doc From Online Manual

< Template:Parmdesc
Revision as of 14:27, 1 July 2011 by Emanuele (talk | contribs) (documenting sep)
Jump to: navigation, search

This template is used to create a parameter list. A separator displayed between the name of the parameter and its description can be optionally defined with the sep parameter.

{{Parmdesc
|name1|d1=description 1
|name2|d2=description 2
|name3|d3=description 3
}}

will result in

  • name1 description 1
  • name2 description 2
  • name3 description 3


{{Parmdesc
|sep=&#58;
|name1|d1=description 1
|name2|d2=description 2
|name3|d3=description 3
}}

will result in

  • name1: description 1
  • name2: description 2
  • name3: description 3


Please note that in order to use the colon as separator its html entity &#58; must be used.



Advertisement: