Jump to content

Template:Panorama/doc

From Wikibooks, open books for an open world

The main function of {{panorama}}, as opposed to {{wide image}}, is that the template allows you to specify a desired height of the panorama.

Example usage:

{{Panorama
|image      = File:Ushuaia_panorama_from_seaside_big.jpg
|height     = 230
|alt        = A small city across a gray waterway under lowering gray clouds. A road leads to the city across a causeway. Mountains with snow and a low treeline form the backdrop. A few boats are in the water.
|caption    = Panorama of Ushuaia from 2005-02-06
}}

This displays File:Ushuaia panorama from seaside big.jpg, which is 7370×1010 pixels, as 1678×230, in a horizontally scrolling box, using the caption and alt text provided.

A small city across a gray waterway under lowering gray clouds. A road leads to the city across a causeway. Mountains with snow and a low treeline form the backdrop. A few boats are in the water.
Panorama of Ushuaia from 2005-02-06

Parameters:

  • image, image to display (starts with "Image:" or "File:")
  • height, height to display the image
  • alt, alt text for image, for visually impaired readers
  • caption, caption for the image (optional)

Smaller

[edit source]
A small city across a gray waterway under lowering gray clouds. A road leads to the city across a causeway. Mountains with snow and a low treeline form the backdrop. A few boats are in the water.
Panorama of Ushuaia from 2005-02-06

See also

[edit source]
  • {{wide image}} – alternative template for panoramas
  • {{tall image}} – for images too large in the other dimension