Module talk:Foreach

=Documentation= See Template:Fe.

=Discussion= gives "Lua error in Module:Foreach at line 12: attempt to index global 'ustring' (a nil value)".

Is there an error in the module or in my invocation?--Patrick1 (talk) 13:22, 26 August 2012 (UTC)


 * No error, just, the Lua folks put the ustring module in their documentation and forgot to deploy it. So I can't use it yet. Sorry about that, I guess you may be better off with the template for now. --MarkTraceur (talk) 16:02, 26 August 2012 (UTC)


 * I see, thanks.--Patrick1 (talk) 21:01, 26 August 2012 (UTC)

I have used argumentPairs and frame:expandTemplate. It works now.

Patrick1 (talk) 11:44, 27 August 2012 (UTC)

The module is now called from Template:Fe. Temporarily I used a different name, since Template:Foreach is used on many pages, and the calls have to be adapted: the delimiter is now an unnamed parameter, because that allows spaces at the start and end of it. There does not seem to be many calls though, because the template is used through a few other templates, such as Template:Extension.--Patrick1 (talk) 07:53, 3 September 2012 (UTC)