Template:Rnd/a: Difference between revisions
Appearance
wikademia>Jimp No edit summary |
wikademia>Jimp No edit summary |
||
| Line 10: | Line 10: | ||
*{{lt|rnd/b}} | *{{lt|rnd/b}} | ||
<pre> | |||
{{#expr:2*(2+(2-({{{1}}}<10^9)*(2-({{{1}}}/10^5round0={{{1}}}/10^5)))*({{{1}}}>=10^5)-({{{1}}}<0.0001))*(({{{2}}}>0)-({{{2}}}<0))+({{{3}}}>0)}} | |||
</pre> | |||
*{{lt|rnd/c-8}} | *{{lt|rnd/c-8}} | ||
*{{lt|rnd/c-7}} | *{{lt|rnd/c-7}} | ||
Latest revision as of 07:16, 9 July 2008
This is Template:Tlf's second step taking input from the main page with the following code.
{{rnd/a|{{{1}}}|{{{2}}}|{{#expr:({{{1}}})round({{{2}}})}}}}
It calls Template:Tlf which crunches out a code to determine which of the Template:Tlf templates to go to next.
{{#expr:2*(2+(2-({{{1}}}<10^9)*(2-({{{1}}}/10^5round0={{{1}}}/10^5)))*({{{1}}}>=10^5)-({{{1}}}<0.0001))*(({{{2}}}>0)-({{{2}}}<0))+({{{3}}}>0)}}