תבנית:Wide image-noborder
מ (יצירת דף עם התוכן "<includeonly><div class="thumb" style="clear: both; border: 0; {{#ifeq:{{{dir|}}}|rtl|direction:rtl;}} width:{{{4|100%}}}; margin-left: auto; margin-right:auto;"> <...") |
מ |
||
שורה 1: | שורה 1: | ||
<includeonly><div class="thumb" style="clear: both; border: 0; {{#ifeq:{{{dir|}}}|rtl|direction:rtl;}} width:{{{4|100%}}}; margin-left: auto; margin-right:auto;"> | <includeonly><div class="thumb" style="clear: both; border: 0; {{#ifeq:{{{dir|}}}|rtl|direction:rtl;}} width:{{{4|100%}}}; margin-left: auto; margin-right:auto;"> | ||
<div class="overflowbugx" style="overflow:auto;">[[File:{{{1}}}|{{{2}}}|alt={{{alt||}}}|{{{3|}}}]]</div>{{#if: {{{3}}}|<div class="thumbcaption" style="text-align: center;">{{{3|}}}</div>}}</div></includeonly><noinclude> | <div class="overflowbugx" style="overflow:auto;">[[File:{{{1}}}|{{{2}}}|alt={{{alt||}}}|{{{3|}}}]]</div>{{#if: {{{3}}}|<div class="thumbcaption" style="text-align: center;">{{{3|}}}</div>}}</div></includeonly><noinclude> | ||
− | {{ | + | {{תבנית:Wide image-noborder/doc}} |
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
גרסה אחרונה מתאריך 07:22, 3 במאי 2015
תבנית:Documentation subpage תבנית:TOCRight This template allows you to easily include a panorama image . If the image is too wide, scrollbars will be added. If you want the image to use a thumbnail frame, you can use the template תבנית:Tl instead.
תוכן עניינים |
[עריכה] Usage
{{Wide image-noborder|name|image width|caption|box width|alt=alt text}}
The image width
parameter is optional. If no width is given, the actual width of the image is used.
The caption
parameter is optional. If the caption contains an equal sign, use the parameter |3=caption
in the place of |caption
.
The box width
parameter 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 alt text
describes the image's visual appearance to visually disabled readers. Please see WP:ALT for details.
[עריכה] Example
[עריכה]
{{Wide image-noborder|Helsinki z00.jpg|1800px| |alt=Panorama of city with mixture of five to ten story buildings}}
[עריכה] smaller
{{wide image-noborder|Helsinki z00.jpg|400px| |alt=Panorama of city with mixture of five to ten story buildings}}
[עריכה]
{{Wide image-noborder|Helsinki z00.jpg|1800px|[[Helsinki]] panorama |alt=Panorama of city with mixture of five to ten story buildings}}