User:Alice/Kitchen/Panorama/Doc

en:

  • Function: This template will display wide images with a horizontal scroll bar underneath. The width of the displayed, scrollable image will adjust to smaller screen widths. An optional, additional parameters enable a caption box below the image that also has a clickable icon in the lower right corner with the hover/mousetip text of "Enlarge" providing a link to the full size image. Further optional, additional parameters enable the height of the displayed image to be scaled and the overall width of the scrollable image to be reduced to a percentage of usual.
  • Note: On de:, Common.css states that the panorama picture is not displayed for print.
  • Use:
    • {{panorama|image=file|caption=image caption|width=image width in px|additional css parameters}}
  • Required Parameter
    • |image= Filename of the wide image
  • Optional Parameters:
    • |caption= Image caption
    • |width= Maximum width of the picture expressed in pixels (numeric value with appended „px“
    • Additional css parameters can be given.
  • Examples:
    • {{panorama|image=Auckland_NZ_night_panorama_(1).jpg|caption='''Night''' <u>''panorama'' of</u> [[Auckland]] showing that HTML, Wikimarkup and [http://www.aucklandnz.com/ external links] can all be used in the caption}}
    • {{panorama|image=Auckland_NZ_night_panorama_(1).jpg|caption='''Night''' <u>''panorama'' of</u> [[Auckland]] showing that HTML, Wikimarkup and [http://www.aucklandnz.com/ external links] can all be used in the caption|width=1700px}}
    • {{panorama|image=Auckland_NZ_night_panorama_(1).jpg|'''Night''' <u>''panorama'' of</u> [[Auckland]] showing that HTML, Wikimarkup and [http://www.aucklandnz.com/ external links] can all be used in the caption|width=1700px|width: 50%;}}
    • {{panorama|image=Auckland_NZ_night_panorama_(1).jpg}}
Night panorama of Auckland showing that HTML, Wikimarkup and external links can all be used in the caption
Night panorama of Auckland showing that HTML, Wikimarkup and external links can all be used in the caption
Night panorama of Auckland showing that HTML, Wikimarkup and external links can all be used in the caption