Difference between revisions of "Template:Quote rotate"

From Geohashing
imported>New User
imported>Relet
(replacing CURRENTTIMESTAMP with a shorter number, for expr + mod is broken)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>{{#vardefine:num|{{#expr:{{CURRENTTIMESTAMP}} mod {{{1|1}}}}}}}</onlyinclude>
+
<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.