Jump to content

Module:Carousel/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
documentation
(No difference)

Revision as of 14:23, 22 January 2018

Carousel returns one of a list of image filenames.

The index of the one chosen increments every 'switchsecs', which is a parameter giving the number of seconds between switches.

  • switchsecs=3600 would switch every hour
  • switchsecs=43200 would be every 12 hours
  • switchsecs=86400 would be daily (the default)

Usage

  • {{#invoke:carousel | main | switchsecs = number-of-seconds }}
  • {{#invoke:carousel | main } } for 12 hours between switches