Template:NextImage

From QED

Jump to: navigation, search


Previous  Next

This template can be used to create simple slideshows and animations based on a collection of suitably named image files.

Syntax

{{nextImage|PREFIX|FIRST|LAST|SUFFIX|N|WIDTH|ALT|INITIAL|SPECS}}

The image filenames are constructed as: <PREFIX><number><SUFFIX>, where PREFIX includes the directory as in the example below.

Arguments:

  • prefix, including directory;
  • first number in sequence;
  • last number in sequence;
  • suffix;
  • the initial image number to be displayed is N + 1 (N defaults to 0);
  • width (default: 720);
  • alt text (default: "");
  • initial text to display as the starting sequence number (default: none);
  • SPECS can be used to specify additional parameters in the img tag.

Examples

nextImage|/public/images/archatlas/WEurasia|1|6|.jpg|0|720|West Eurasian World System

See Image:Mapping Globalization for an actual example.

Personal tools