Diferencia entre revisiones de «Plantilla:Image»
Ir a la navegación
Ir a la búsqueda
m (Missing |) |
m |
||
Línea 4: | Línea 4: | ||
STYLE:-->|thumb|{{{side|center}}}|{{#if:{{{height|}}}|x{{{height}}}|{{{width|100px}}}|}}<!-- |
STYLE:-->|thumb|{{{side|center}}}|{{#if:{{{height|}}}|x{{{height}}}|{{{width|100px}}}|}}<!-- |
||
-->|<!-- |
-->|<!-- |
||
− | ARTIST: --><div class="attribution">by <page-property key="{{{attribute|artist}}}" page="File:{{{1}}}" no-value="{{missing artist|marker= |
+ | ARTIST: --><div class="attribution">by <page-property key="{{{attribute|artist}}}" page="File:{{{1}}}" no-value="{{missing artist|marker=an unknown artist}}" /></div><!-- |
CAPTION: --> {{#if:{{{2|}}}|{{{2}}}|}} <!-- |
CAPTION: --> {{#if:{{{2|}}}|{{{2}}}|}} <!-- |
||
-->]]</includeonly><noinclude>[[category: templates|{{PAGENAME}}]] |
-->]]</includeonly><noinclude>[[category: templates|{{PAGENAME}}]] |
Revisión del 20:12 9 jul 2020
This template should be used on pages to include a thumbnail of an image on a page.
- Usage
{{image|file-name.png|caption}}
The file name parameters is required. Caption is, technically optional but strongly encouraged. There are several optional parameters:
{{image| file-name.png | caption | |side=center|left|right |width=100px |attribute=artist|tracer }}
When copy-pasting the template above, it might be more readable to put it all on the same line; it is split across multiple ones just for clarity.
Parameter | Description | Code | Example |
---|---|---|---|
none | when only the file name is passed | {{image| cosmere symbol.svg |
|
caption | when only the file name and caption are passed | {{image| cosmere symbol.svg | this is the caption}} |
|
side=left |
pushes the image over to the left, and allows the page to flow around it | {{image| cosmere symbol.svg |side=left | this is the caption }} |
|
side=right |
pushes the image over to the right, and allows the page to flow around it | {{image| cosmere symbol.svg |side=right | this is the caption }} |
|
attribute=tracer |
changes the attribution of the image to the "tracer" of the image instead of the original artist. | {{image| cosmere symbol.svg |attribute=tracer | this is the caption }} |
|
width=20% |
changes the width of the image | {{image| cosmere symbol.svg |width=200px | this is the caption }} |
|
width=20% |
changes the height of the image | {{image| Navani's Ketek glyphs.svg |height=150px | The ketek "Alight, winds approach deadly approaching winds alight." written in glyphs and stylized to represent the meeting of the Everstorm and a highstorm. }} |
- Notes
- The
height
parameter overrides thewidth
parameter. If exact dimensions are required passwidth=WxHpx
whereW
is the width &H
is the height.
Articles using Template
- Los Huesos del Escriba (transclusión) (← enlaces)
- Brandon Sanderson (transclusión) (← enlaces)
- Alcatraz contra los bibliotecarios malvados (libro) (transclusión) (← enlaces)
- Luthadel (transclusión) (← enlaces)
- Hoid (transclusión) (← enlaces)
- Acero (transclusión) (← enlaces)
- Raoden (transclusión) (← enlaces)
- Sarene (transclusión) (← enlaces)
- Hrathen (transclusión) (← enlaces)
- Wikim Davar (transclusión) (← enlaces)
- Jushu Davar (transclusión) (← enlaces)
- Balat Davar (transclusión) (← enlaces)
- Encendedora (transclusión) (← enlaces)
- Evi Kholin (transclusión) (← enlaces)
- Los Caballeros de Cristalia (transclusión) (← enlaces)
- Las Lentes Fragmentadas (transclusión) (← enlaces)
- Alomancia (transclusión) (← enlaces)
- Atium (transclusión) (← enlaces)
- Daora (transclusión) (← enlaces)
- Daorn (transclusión) (← enlaces)
- Kaise (transclusión) (← enlaces)
- Lukel (transclusión) (← enlaces)
- Adien (transclusión) (← enlaces)
- Kelsier (transclusión) (← enlaces)
- Marsh (transclusión) (← enlaces)
- Mare (transclusión) (← enlaces)
- Vin (transclusión) (← enlaces)
- Dockson (transclusión) (← enlaces)
- Hammond (transclusión) (← enlaces)
- Edgard Ladrian (transclusión) (← enlaces)
- Fantasma (transclusión) (← enlaces)
- Cladent (transclusión) (← enlaces)
- Sazed (transclusión) (← enlaces)
- Yeden (transclusión) (← enlaces)
- Rashek (transclusión) (← enlaces)
- Teven Renoux (transclusión) (← enlaces)
- Shan Elariel (transclusión) (← enlaces)
- Elend Venture (transclusión) (← enlaces)
- Straff Venture (transclusión) (← enlaces)
- TenSoon (transclusión) (← enlaces)
- Allrianne Cett (transclusión) (← enlaces)
- Tindwyl (transclusión) (← enlaces)
- Felt (transclusión) (← enlaces)
- Zane Venture (transclusión) (← enlaces)
- Ati (transclusión) (← enlaces)
- Ruina (transclusión) (← enlaces)
- Conservación (transclusión) (← enlaces)
- Vasher (transclusión) (← enlaces)
- Sisirinah (transclusión) (← enlaces)
- Vivenna (transclusión) (← enlaces)
- Sondeluz (transclusión) (← enlaces)
- Denth (transclusión) (← enlaces)
- Susebron (transclusión) (← enlaces)
- Sangre Nocturna (transclusión) (← enlaces)
- Llarimar (transclusión) (← enlaces)
- Tonk Fah (transclusión) (← enlaces)
- Szeth (transclusión) (← enlaces)
- Jezrien (transclusión) (← enlaces)
- Kalak (transclusión) (← enlaces)
- Talenel (transclusión) (← enlaces)
- Kaladin (transclusión) (← enlaces)
- Shallan Davar (transclusión) (← enlaces)
- Jasnah Kholin (transclusión) (← enlaces)
- Sylphrena (transclusión) (← enlaces)
- Ishikk (transclusión) (← enlaces)
- Torol Sadeas (transclusión) (← enlaces)
- Adolin Kholin (transclusión) (← enlaces)
- Renarin Kholin (transclusión) (← enlaces)
- Gavilar Kholin (transclusión) (← enlaces)
- Tien (transclusión) (← enlaces)
- Meridas Amaram (transclusión) (← enlaces)
- Teft (transclusión) (← enlaces)
- Taravangian (transclusión) (← enlaces)
- Kabsal (transclusión) (← enlaces)
- Lirin (transclusión) (← enlaces)
- Hesina (transclusión) (← enlaces)
- Toralin Roshone (transclusión) (← enlaces)
- Moash (transclusión) (← enlaces)
- Navani Kholin (transclusión) (← enlaces)
- 17thshard.com (transclusión) (← enlaces)
- Elhokar Kholin (transclusión) (← enlaces)
- Kharbranth (transclusión) (← enlaces)
- Hoja esquirlada (transclusión) (← enlaces)
- Roshar (transclusión) (← enlaces)
- Hemalurgia (transclusión) (← enlaces)
- Ministerio del Acero (transclusión) (← enlaces)
- Inquisidor de acero (transclusión) (← enlaces)
- Koloss (transclusión) (← enlaces)
- Kandra (transclusión) (← enlaces)
- Despertar (transclusión) (← enlaces)
- Orden de los Corredores del Viento (transclusión) (← enlaces)
- Cosmere (transclusión) (← enlaces)
- Shinovar (transclusión) (← enlaces)
- Honor (transclusión) (← enlaces)
- Cultivación (transclusión) (← enlaces)
- Vigilante Nocturna (transclusión) (← enlaces)
- Axies (transclusión) (← enlaces)
- Vorinismo (transclusión) (← enlaces)
- Heraldo (transclusión) (← enlaces)
- Scadrial (transclusión) (← enlaces)