Nick Jenkins wrote:
There are two conditional functions and a mathematical expression function.
Cool! Dibs on [[:en:Template:Factorial]] :
{{if: {{{1}}}=1 | 1 | {{expr: {{{1}}} * {{{{PAGENAME}} | {{expr: {{{1}}} - 1}} }} }} }}
... or something like that.
I hate to spoil your fun, but that won't work. We have the recursion detector enabled for a reason. -- Ilmari Karonen
Luckily, i don't want to be standing at the "wikimedia servers have problems" [1] message eating my nails to revert a page only because half a dozen of children are visiting the [[first 100.000 numbers factorial]] page some dumb created [2]
1- I subrepticiously remember http://bugs.wikimedia.org/show_bug.cgi?id=3944 is waiting for someone with server access to improve the translation. 2- if someone ''really'' wants that, i can easily fill its mailbox with it, no range problem :-)