Jump to content

Template:Panorama

Di Wikipedia, e ensiklopedia liber
Documentacion di plantia[mira] [edita] [historia] [purga]

Uzo[editá fuente]

{{Panorama
|image   = Ehempel.jpg
|height  = 
|width   = 
|alt     = 
|caption = 
|dir     = 
|align   =
}}

Insert a wide image with configurable height. For standard height, use template "Wide image" instead.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Imageimage

Title for the image file to display. Must start with "File:".

Example
File:Ushuaia_panorama_from_seaside_big.jpg
Stringrequired
Image heightheight

How tall to display the image, in pixels. Must be set without any unit or suffix.

Example
300
Numberrequired
Viewport widthwidth

Limit the width of the scrollable viewport in which the image is displayed. Input is used as CSS width, as such it must include a unit (e.g. "px" or "%").

Default
Automatic based on width of web browser window.
Example
400px
Stringoptional
Alternate textalt

Alternate text to use instead of the image, for visually impaired readers. See the WP:ALT page for guidance.

Stringoptional
Captioncaption

Caption to render below the image.

Contentoptional
Viewport directiondir

Set to "rtl" to start the viewport at the right-hand side of the image, with "right-to-left" scrolling.

Default
ltr - Left to right
Example
rtl
Stringoptional
Image alignmentalign

If supplied, how to position the image on the page.

Example
left
Stringoptional