Last modified: 2011-04-14 15:10:23 UTC
Example: ---- [[Template:A]] {{eacharg|value=val|#{{{val}}}#}} ---- [[Template:B]] {{eachkwarg|prefix={{{1}}}|key={{{k}}}|value={{{v}}}|({{{k}}},{{{v}}})}} ---- Page: {{A|a|b|c|d}} {{B|X|Xa=1|Xb=2|Yc=3}} ---- Render as: #a##b##c##d# (a,1)(b,2)
Sounds like best handled by http://www.mediawiki.org/wiki/Extension:Loops or Lua. As I pointed out in bug 18199, we're not looking to expand the core parser or ParserFunctions to include *more* programmatic-like features. Suggest WONTFIX.