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:30, 22 January 2018 (fix). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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 24 hours between switches