# வார்ப்புரு:Wide Image/doc



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 , you can use the template instead.  

## Usage

:<code>Wide image|*name*|*image width*|*caption*|*box width*|*alignment*|alt=*alt text*</code>  

A <code>*caption*</code> option is optional, and an image will be used if a caption is supplied. If the caption contains an equal sign, use the parameter <code>|3=*caption*</code> in the place of <code>|*caption*</code>. If the caption supplied is exactly equal to image syntax such as <code></code>, the image's tooltip will no longer display the caption, but instead default to the name of the image.  

The <code>*box width*</code> 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 <code>*alignment*</code> option is also optional but requires *box width* to be defined. If given a value of <code></code> or <code></code>, the entire wide image will float the to or . If given a value of <code></code> the image will not float.  

The <code>*alt text*</code> describes the image's visual appearance to visually disabled readers. Please see WP:ALT for details.  

To change the scroll direction from -to- to -to-, use .  

## Example
### Without caption
<pre>  

</pre>  

#### smaller
<pre>  

</pre>  

### With caption
<pre>  

</pre>  

### Right aligned
<pre>  

This text goes after the *wide image* template. Lorem ipsum dolor sit amet...  
</pre>  

This text goes after the *wide image* template.  

### Left aligned
<pre>  

This text goes after the *wide image* template. Lorem ipsum dolor sit amet...  
</pre>  

This text goes after the *wide image* template.  

### No alignment
<pre>  

This text goes after the *wide image* template. Lorem ipsum dolor sit amet...  
</pre>  

This text goes after the *wide image* template.  

### Scroll to
<pre>  

</pre>  

## Template data
<templatedata>{  
"description": "Allows you to easily include a panorama image. If the image is too wide, scrollbars will be added.",  
"params": {  
"1": {  
"label": "Filename",  
"description": "Name of the file to display. Example: Helsinki z00.jpg",  
"type": "string",  
"required": true  
},  
"2": {  
"label": "Image width",  
"description": "Give the width in pixels (like: ) that you want the included image to be",  
"type": "string",  
"required": true  
},  
"3": {  
"label": "Caption",  
"description": "A caption for the image that will be shown below image",  
"type": "string",  
"required": false  
},  
"4" : {  
"label": "Width of ",  
"description": "Limit the width of the enclosing the picture. Example: \"\" or \"40%\"",  
"type": "string",  
"required": false  
},  
"5": {  
"label": "Frame alignment",  
"description": "Either of: , , or . When specified also requires you to set the \"Width of \" option",  
"default": "",  
"type": "string",  
"required": false  
},  
"dir" : {  
"label": "Picture alignment",  
"description": "Use the value 'rtl' to make the side of the image the initial visible portion inside the scroll ",  
"default": "ltr",  
"type": "string",  
"required": false  
},  
"alt" : {  
"label": "Textual alternative",  
"description": "Describes the image's visual appearance to visually disabled readers. Please see WP:ALT for details",  
"type": "string",  
"required": false  
}  
}  
}</templatedata>