Difference between revisions of "Template:Quote rotate"
From Geohashing
imported>Relet (test2) |
imported>Relet (replacing CURRENTTIMESTAMP with a shorter number, for expr + mod is broken) |
||
Line 1: | Line 1: | ||
− | <noinclude>This template contains the code to select a pseudo-random quote based on the current time stamp.</noinclude>{{#vardefine:num|{{#expr:{{ | + | <noinclude>This template contains the code to select a pseudo-random quote based on the current time stamp.</noinclude>{{#vardefine:num|{{#expr:{{CURRENTDOW}}{{CURRENTHOUR}} mod {{{1|1}}}}}}} |
Latest revision as of 23:58, 9 January 2010
This template contains the code to select a pseudo-random quote based on the current time stamp.