Difference between revisions of "Template:For Each Param"

From Green Family Wiki
Jump to: navigation, 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...")
 
m (2 revisions imported: Initial import from smithfam)
 
(One intermediate revision by the same user not shown)
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'')

Latest revision as of 12:11, 7 December 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