Forum:Can I use For loops?

Is there anyway you can use For loops on wikia? I've been going through the help like a million times already. Can someone point me in the right direction or just boldly state it cannot be done!

Seems weird since you can do expressions and if statements. We need loops...

Well at least I do: I need to create multiple table with holds x rows. The x can vary between 1 and 15. And of course I would like to use templates.

Any suggestions?

Rothmans 23:16, August 23, 2011 (UTC)


 * I'm boldly stating it cannot be done!
 * :p
 * I don't know if the for template is available in your wiki, if it isn't then check out http://meta.wikimedia.org/wiki/Template:For.


 * You also might want to have a look at http://en.wikipedia.org/wiki/Template:Repeat. — Sovq 19:05, August 24, 2011 (UTC)


 * I was also looking for this when I needed to make a template that would display an unknown number of items with variable properties.


 * Extension:Loops seemed like a good option. I'm not sure if wikia would agree to install it though.


 * -- 16:13, August 25, 2011 (UTC)


 * Javascript is a much better solution. However, it is usually just easier to make a bunch of templates. Since most people can barely figure out how to use wikitext, supporting for or any kind of looping in a wiki seems dangerous. -- Fandyllic (talk &middot; contr) 26 Aug 2011 9:08 PM Pacific