Predloga:Široka slika

(Preusmerjeno s strani Predloga:Wide image)
Dokumentacija za predlogo[poglej] [uredi] [zgodovina] [osveži]

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 |border=no.

Usage uredi

{{Wide image|name|image width|caption|box width|alignment|alt=alt text}}

  • An image width option is required. This specifies the full width at which the image will be displayed, and is distinct from box width (the width of the box on the page).
  • 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. For example, 45% would use 45% of the text section width, (not a percentage of the image width).
  • The alignment option is also optional but requires box width to be defined. If given a value of right or left, the entire wide image will float to the right or left. If given a value of none the image will not float.
  • The alt text describes the image's visual appearance to visually disabled readers. Please see WP:ALT for details.

To change the scroll direction from left-to-right to right-to-left, use |dir=rtl.

To align the caption, use |align-cap=.

To remove the outer border, use |border=no.

Example uredi

Without caption uredi

{{wide image|Helsinki z00.jpg|1800px|
|alt=Panorama of city with mixture of five to ten story buildings}}
Panorama of city with mixture of five to ten story buildings

smaller uredi

{{wide image|Helsinki z00.jpg|400px|
|alt=Panorama of city with mixture of five to ten story buildings}}
Panorama of city with mixture of five to ten story buildings

With caption uredi

{{wide image|Helsinki z00.jpg|1800px|[[Helsinki]] panorama
|alt=Panorama of city with mixture of five to ten story buildings}}
Panorama of city with mixture of five to ten story buildings
Helsinki panorama

Right aligned uredi

{{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...
Panorama of city with mixture of five to ten story buildings
Helsinki panorama

This text goes after the wide image template. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Left aligned uredi

{{wide image|Helsinki z00.jpg|1800px|[[Helsinki]] panorama|45%|left
|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...
Panorama of city with mixture of five to ten story buildings
Helsinki panorama

This text goes after the wide image template. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Center aligned 75% width uredi

{{wide image|Helsinki z00.jpg|1800px|[[Helsinki]] panorama|75%|center
|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...
Panorama of city with mixture of five to ten story buildings
Helsinki panorama

This text goes after the wide image template. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

No alignment uredi

{{wide image|Helsinki z00.jpg|1800px|[[Helsinki]] panorama|45%|none
|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...
Panorama of city with mixture of five to ten story buildings
Helsinki panorama

This text goes after the wide image template. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Scroll right to left uredi

{{wide image|Helsinki z00.jpg|1800px|[[Helsinki]] panorama
|alt=Panorama of city with mixture of five to ten story buildings
|dir=rtl}}
Panorama of city with mixture of five to ten story buildings
Helsinki panorama

TemplateData uredi

To je dokumentacija TemplateData za predlogo, ki jo uporabljajo Vizualni urejevalnik in druga orodja; glejte mesečno poročilo o uporabi parametrov za to predlogo.

TemplateData za Široka slika

Allows you to easily include a panorama image. If the image is too wide, scrollbars will be added.

Parametri predloge[Urejanje podatkov predloge]

ParameterOpisVrstaStanje
Filename1

Name of the file to display. Example: Helsinki z00.jpg

Nizzahtevano
Image width2

Give the width in pixels (like: 1600px) that you want the included image to be

Nizzahtevano
Caption3 caption

A caption for the image that will be shown below image

Nizneobvezno
Width of frame4 width

Limit the width of the frame enclosing the picture. Example: "400px" or "40%"

Nizneobvezno
Frame alignment5 align

Either of: left, right, center or none. When specified also requires you to set the "Width of frame" option

Privzeto
center
Nizneobvezno
Picture alignmentdir

Use the value 'rtl' to make the right side of the image the initial visible portion inside the scroll frame

Privzeto
ltr (left to right)
Nizneobvezno
Textual alternativealt

Describes the image's visual appearance to visually disabled readers. Please see WP:ALT for details

Nizneobvezno

Tracking category uredi

See also uredi