Template:ForEach

From Demon Llama
Jump to navigation Jump to search

Usage

{{ForEach|Template_To_Use|join=<string between invocations>
|First
|Second
|Third
|Fourth
}}

Using Repeat/Sample for the template (which just prepends "Hello " to the string) and join=,  yields:

Hello First, Hello Second, Hello Third, Hello Fourth