Wikinews:Wikinews ads/random

- . Outputs a random ad from Wikinews ads (based on reminder of when you divide the current time by the number of ads. if reminder is 1, display ad 1.

Takes the following arguments:
 * first unnamed argument: switch statement to use (for example if you want to display ad 17 17)
 * template= Use alternate template to display (e.g. you could have a template that displays as list). Template gets passed each ad as an unamed parameter
 * nolinks If you don't want links in ads (aka you're linking the ad already), put to some value, otherwise omit it.