Template:For Each Unique/Raw

From Ludlow Family Wiki
Jump to: navigation, search

Helper for Template:For Each Unique.

  • First parameter: string to split
  • Second parameter: delimiter to search for
  • Third parameter: replacement delimiter
  • Fourth parameter: current replacement delimiter
  • template: template to apply to each substring (string provided as first parameter; index passed as index; param is passed as param)
  • param: parameter to pass to the template
  • index: current split index (1-based)
  • out index: current index in the non-repeating list
  • value: current split value
  • previous: previous split value