Este sitio web utiliza cookies propias y de terceros para mejorar los servicios que ofrece y optimizar la navegación. Si usted continua navegando, consideramos que acepta su uso. Más información

Cambios

Saltar a: navegación, buscar

Plantilla:Tall image/doc

3112 bytes añadidos, 09:59 16 nov 2018
m
1 revisión importada
{{Documentation subpage}}

<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
{{TOCRight}}
=== Usage ===
:<code><nowiki>{{</nowiki>Tall image|''name''|''image width''|''box height''|alt=''alt text''|''caption''|''alignment''<nowiki>}}</nowiki></code>

The <code>''name''</code> is the name of the image without any preceding "<code>File:</code>" or "<code>Image:</code>".

The <code>''image width''</code> option is optional, but must be given in pixels ''without the "px"''. It will set the width of the image to that amount. Default is 250px.

The <code>''box height''</code> option is optional, but must be given in pixels ''without the "px"''. It will set the height of the box containing the image to that amount. Default is 500px.

The <code>''alt text''</code> describes the image to visually-impaired readers and should have little in common with any caption; see [[WP:ALT]].

The <code>''caption''</code> 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 <code>|3=''caption''</code> in the place of <code>|''caption''</code>. If the caption supplied is exactly equal to image syntax such as <code>thumb</code>, the image's tooltip will no longer display the caption, but instead default to the name of the image.

The <code>''alignment''</code> 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. Default is right, use ''none'' for in-line.

==Example==
===Without caption===
<pre style="overflow:auto;">
{{tall image|Polarisation_(Circular).svg|250|400|alt=Image of circularly polarized light}}
{{lorem ipsum|3}}
</pre>
{{tall image|Polarisation_(Circular).svg|250|400|alt=Image of circularly polarized light}}
{{lorem ipsum|3}}
{{-}}

===With caption and "<code>none</code>"===
<pre style="overflow:auto;">
{{tall image|Polarisation_(Circular).svg|250|400|alt=Image of circularly polarized light|The direction of the helix relative to the central axis represents the direction of the electric field.|none}}
{{lorem ipsum}}
</pre>
{{tall image|Polarisation_(Circular).svg|250|400|alt=Image of circularly polarized light|The direction of the helix relative to the central axis represents the direction of the electric field.|none}}
{{lorem ipsum}}

===Left aligned===
<pre style="overflow:auto;">
{{tall image|Polarisation_(Circular).svg|250|400|alt=Image of circularly polarized light|The direction of the helix relative to the central axis represents the direction of the electric field|left}}
{{lorem ipsum|3}}
</pre>
{{tall image|Polarisation_(Circular).svg|250|400|alt=Image of circularly polarized light|The direction of the helix relative to the central axis represents the direction of the electric field|left}}
{{lorem ipsum|3}}
{{lorem ipsum|3}}
{{-}}

==See also==
* {{tl|Wide image}}
* {{tl|Panorama}}
* {{tl|Wide template}}

<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Graphics templates]]
}}</includeonly>

Menú de navegación