Wikinews:Wikinews ads/random

From Wikinews, the free news source you can write!
Jump to navigation Jump to search

Wikinews: We're not the Associated Press. We're better.

Refresh. Outputs a random ad from Wikinews: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 {{Wikinews:Wikinews ads/random|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.

See also[edit]