Template:ForEach

From West Of Vipers Gate
Revision as of 21:45, 1 February 2022 by Israfil (talk | contribs)

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