ទំព័រគំរូ:Wide image
This template allows you to easily include a panorama image. If the image is too wide, scrollbars will be added. If you do not want the image to use a thumbnail frame, you can use the template {{wide image-noborder}} instead.
Usage
[កែប្រែ]{{Wide image|name|image width|caption|box width|alignment|alt=alt text}}
A caption
option is optional, and an image frame will be used if a caption is supplied. If the caption contains an equal sign, use the parameter |3=caption
in the place of |caption
. If the caption supplied is exactly equal to image syntax such as thumb
, the image's tooltip will no longer display the caption, but instead default to the name of the image.
The box width
option is optional, and if given a value in pixels followed by "px", or a value in percent followed by "%", will set the width of the box to that amount.
The alignment
option is also optional but requires box width to be defined. If given a value of right or left, it will align the entire wide image frame respectively.
The alt text
describes the image's visual appearance to visually disabled readers. Please see WP:ALT for details.
Example
[កែប្រែ]Without caption
[កែប្រែ]{{wide image|Helsinki z00.jpg|1800px| |alt=Panorama of city with mixture of five to ten story buildings}}
smaller
[កែប្រែ]{{wide image|Helsinki z00.jpg|400px| |alt=Panorama of city with mixture of five to ten story buildings}}
With caption
[កែប្រែ]{{wide image|Helsinki z00.jpg|1800px|[[Helsinki]] panorama |alt=Panorama of city with mixture of five to ten story buildings}}
Right aligned
[កែប្រែ]{{wide image|Helsinki z00.jpg|1800px|[[Helsinki]] panorama.|45%|right |alt=Panorama of city with mixture of five to ten story buildings}} This text goes after the ''wide image'' template. Lorem ipsum dolor sit amet...
This text goes after the wide image template. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nulla auctor blandit metus. Integer facilisis nunc ut mauris. Fusce gravida nibh vel purus. Maecenas eleifend volutpat magna. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Maecenas faucibus. Fusce in ligula. Integer sed ipsum. Morbi posuere, turpis non ultricies pretium, metus metus pharetra ante, eu sodales lectus eros ut purus. Quisque varius iaculis nulla. Quisque enim. Phasellus lobortis nibh in velit. Pellentesque tincidunt felis sed sem volutpat consequat. Nulla quis nisl rutrum risus bibendum porta. Ut fringilla, urna sit amet tristique tempus, sapien tellus rutrum quam, in mattis ante lectus sit amet quam. Nam eget nulla non sem vehicula varius. Suspendisse eleifend neque eu lectus.
See also
[កែប្រែ]វិគីមេឌាទូទៅមានមេឌាដែលទាក់ទងទៅនឹង: Template:Wide image |
- {{Wide image-noborder}} - without the thumb-border, and defaults to the actual size
- {{Panorama}} - with an option to set the height
- {{Wide template}}
- {{Tall image}}