Predložak:Široka slika

Izvor: Hrvatska internetska enciklopedija
Inačica 108906 od 6. rujna 2021. u 22:56 koju je unio WikiSysop (razgovor | doprinosi) (Bot: Automatski unos stranica)
(razl) ←Starija inačica | vidi trenutačnu inačicu (razl) | Novija inačica→ (razl)
Skoči na:orijentacija, traži

Usage

{{Široka slika|ime slike|veličina|caption|box width|alignment}}

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.

Example

Without caption

{{široka slika|Helsinki z00.jpg|1800px}}
Helsinki z00.jpg

With caption

{{široka slika|Helsinki z00.jpg|1800px|[[Helsinki]] panorama.}}
Helsinki panorama.
Magnify-clip.png
Helsinki panorama.

Right aligned

{{široka slika|Helsinki z00.jpg|1800px|[[Helsinki]] panorama.|45%|right}}
This text goes after the ''wide image'' template. Lorem ipsum dolor sit amet...
Helsinki panorama.
Magnify-clip.png
Helsinki panorama.

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.

Vidi također

ar:قالب:صورة عريضة ba:Ҡалып:Панорама be-x-old:Шаблён:Панарама bg:Шаблон:Панорама bn:টেমপ্লেট:Wide image bs:Šablon:Široka slika ca:Plantilla:Panoràmica cs:Šablona:Panorama da:Skabelon:Bredt billede de:Vorlage:Panorama el:Πρότυπο:Wide image en:Template:Wide image eo:Ŝablono:Larĝa bildo es:Plantilla:Panorama fr:Modèle:Image panoramique he:תבנית:תמונה רחבה hy:Կաղապար:Համայնապատկեր it:Template:Immagine grande ja:Template:Wide image ka:თარგი:პანორამა hu:Sablon:Széles kép mk:Шаблон:Панорама nds:Vörlaag:Panorama nl:Sjabloon:Panorama nn:Mal:Panoramabilete no:Mal:Panoramabilde os:Шаблон:Панорамæ pl:Szablon:Duża grafika pt:Predefinição:Panorama ro:Format:Imagine mare ru:Шаблон:Панорама sh:Šablon:Široka slika sk:Šablóna:Široký obrázok sv:Mall:Bred bild et:Mall:Panoraam fa:الگو:نگاره پهن fi:Malline:Panoraama tr:Şablon:geniş resim uk:Шаблон:Панорама ur:سانچہ:Wide image zh:Template:Wide image zh-yue:Template:Wide image