Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Example  



2.1  Without caption  



2.1.1  smaller  







2.2  With caption  





2.3  Right aligned  





2.4  Left aligned  





2.5  Center aligned 75% width  





2.6  No alignment  





2.7  Scroll right to left  







3 TemplateData  





4 Tracking category  





5 See also  














Template:Wide image/sandbox







Add links
 









Template
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 

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

Usage

[edit]

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

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

[edit]

Without caption

[edit]
{{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

[edit]
{{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

[edit]
{{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

[edit]
{{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 adipiscing 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

[edit]
{{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 adipiscing 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

[edit]
{{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 adipiscing 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

[edit]
{{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 adipiscing 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

[edit]
{{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

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Wide image in articles based on its TemplateData.

TemplateData for Wide image

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

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Filename1 image

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

Filerequired
Image width2

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

Stringrequired
Caption3 caption

A caption for the image that will be shown below image

Stringoptional
Width of frame4 width

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

Stringoptional
Frame alignment5 align

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

Suggested values
left right center none
Default
center
Stringoptional
Picture alignmentdir

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

Suggested values
ltr rtl
Default
ltr (left to right)
Stringoptional
Alt textalt

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

Stringoptional

Tracking category

[edit]

See also

[edit]

Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Wide_image/sandbox&oldid=893162406"

Category: 
Template sandboxes
 



This page was last edited on 19 April 2019, at 12:50 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki