Template:Panorama

From Wikivoyage
Jump to navigation Jump to search
[view] [edit] [history] [purge] Template documentation

en:

  • Function: This displays wide images with a horizontal scroll bar underneath and a clickable icon in the lower right corner of a caption box blow with the hover/mousetip text of "Enlarge" providing a link to the full size image.
  • Note: On de:, Common.css states that the panorama picture is not displayed for print.
  • Usage:
    • {{panorama|image=file|caption=image caption|width=image width|height=image height|box-width=box width|additional css parameters}}
  • Required Parameter
    • |image= Filename of the panorama image
  • Optional Parameters:
    • |caption= Image caption
    • |width= Maximum width of the picture expressed in pixels (numeric value with appended "px")
    • |height= Height of the picture expressed in pixels (numeric value with appended "px")
    • |box-width= Width of caption box (numeric value with appended "px", "%", etc.)
    • Additional css parameters can be given.
  • Examples:
    • {{panorama|image=Giza-pyramids-panorama.jpg|caption=Pyramids of Giza near Cairo, Egypt}}
    • {{panorama|image=Giza-pyramids-panorama.jpg|caption=Pyramids of Giza near Cairo, Egypt|width=800px}}
    • {{panorama|image=Giza-pyramids-panorama.jpg|caption=Pyramids of Giza near Cairo, Egypt|box-width=60%}}
    • {{panorama|image=Giza-pyramids-panorama.jpg}}
Pyramids of Giza near Cairo, Egypt
Pyramids of Giza near Cairo, Egypt
Pyramids of Giza near Cairo, Egypt