FANDOM


Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:VignetteThumbnail/doc to edit this documentation. (How does this work?)
Description
This template is used for generating thumbnails with Wikia's Vignette, for cases where MediaWiki's standard image resizing capabilities don't cut it.
NB: Pages that include images with this template will not show up in the "Appears on these pages" section of those images' pages.
Syntax
{{VignetteThumbnail|<name>|<mode>|<named params…>}}
For a description of what each mode does, consult Vignette's documentation.
A summary of valid named parameters per mode follows.
Mode width height x-offset / y-offset / window-width / window-height
fixed-aspect-ratio / fixed-aspect-ratio-down
scale-to-width / scale-to-width-down
scale-to-height-down
thumbnail / thumbnail-down
top-crop / top-crop-down
window-crop
window-crop-fixed
zoom-crop / zoom-crop-down
Sample output
[[Image:Izuku Midoriya school profile.png|75px]] vs.
{{VignetteThumbnail|Izuku Midoriya school profile.png|top-crop|width=75|height=75}} gives…
Izuku Midoriya school profile vs. Izuku_Midoriya_school_profile.png
[[Image:Class 1-A Hero Costumes.png|200px]] vs.
{{VignetteThumbnail|Class 1-A Hero Costumes.png|zoom-crop|width=200|height=124}} gives…
Class 1-A Hero Costumes vs. Class_1-A_Hero_Costumes.png
[[Image:Mashirao asks about the Hosu incident.png|200px]] vs.
{{VignetteThumbnail|Mashirao asks about the Hosu incident.png|window-crop|width=200|x-offset=1080|y-offset=160|window-width=792|window-height=562}} gives…
Mashirao asks about the Hosu incident vs. Mashirao_asks_about_the_Hosu_incident.png
*Disclosure: Some of the links above are affiliate links, meaning, at no additional cost to you, Fandom will earn a commission if you click through and make a purchase. Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+