Difference between revisions of "Template:Quote rotate"

From Geohashing
imported>New User
(Template:Quote rotate moved to User:New User over redirect: oops! wrong one...)
 
imported>Relet
(replacing CURRENTTIMESTAMP with a shorter number, for expr + mod is broken)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
#REDIRECT [[User:New User]]
+
<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.