Jump to content

Module:Carousel/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by RexxS (talk | contribs) at 14:23, 22 January 2018 (documentation). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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