Thread:Mathmagician/@comment-4795804-20130630215957/@comment-4674838-20130630222307

Not via the native parser functions that are installed on Wikia wikis by default. This would be possible if you ask Wikia to install these additional extensions on your wiki: mw:Extension:Variables and mw:Extension:Loops.

In a pinch, you could probably emulate finite loops with just the {{#switch parser. If you only need small loops (e.g. less than 100 or so) something like this could work reasonably well (I haven't tested this, just an idea):

(inside a template with parameters {{{n}}} and {{{content}}}) {{#switch: {{{n}}} | 1 = {{{content}}} | 2 = {{{content}}}{{{content}}} | 3 = {{{content}}}{{{content}}}{{{content}}} | 4 = {{{content}}}{{{content}}}{{{content}}}{{{content}}} | #default = {{{content}}} }}