Template:For Each Param: Difference between revisions

From Ludlow Family Wiki
Jump to navigation Jump to search
(Created page with "<noinclude>Apply a template to each parameter. * First parameter: delimiter between results; default is comma+space * All subsequent unnamed parameters (up to 30): strings to...")
 
No edit summary
Line 1: Line 1:
<noinclude>Apply a template to each parameter.
<noinclude>Apply a template to each parameter.
* First parameter: delimiter between results; default is comma+space
* First parameter: delimiter between results
* All subsequent unnamed parameters (up to 30): strings to apply the ''template'' to; empty signals the end of the list
* All subsequent unnamed parameters (up to 30): strings to apply the ''template'' to; empty signals the end of the list
* ''template'': template to apply to each string (string provided as first parameter; index provided as ''index''; ''param'' provided as ''param'')
* ''template'': template to apply to each string (string provided as first parameter; index provided as ''index''; ''param'' provided as ''param'')

Revision as of 23:10, 4 July 2015

Apply a template to each parameter.

  • First parameter: delimiter between results
  • All subsequent unnamed parameters (up to 30): strings to apply the template to; empty signals the end of the list
  • template: template to apply to each string (string provided as first parameter; index provided as index; param provided as param)
  • param: extra parameter to pass to the template; default is empty