Actions

Template

TEMPLATE:THUMB BOX (Thumbnail Box)TEMPLATES  

This purpose of this template is to easily create thumbnail boxes that gives you a number of options.

Decide the height and width of the image independent of the aspect ratio of the original image making the box crop the image to fit the settings you define.
Adjust the offset of the image to crop part of the image if not needed for the page in question.
Add a text box at the bottom part of the image.


Useable Fields

Note: Only the image parameter is required for the template to work.

image=
the image to use for the thumb box
text=
text to show in the bottom left of the image
link=
link for box image and the text at the bottom
width=
specifies the width of both the box and the image
height=
specifies the height of both the box and the image
height-offset=
specifies an offset to shift the image up or down within the box
imgwidth=
set the image width different than the box width. Generally a good idea to also use the height-offset parameter.

Examples

Basic (with only text and link fields defined)

{{Thumb Box
|image= Superman v2 001.png
|text= Superman Vol. 2
|link= Superman v2 1
}}


Moving the image slightly up

{{Thumb Box
|image= Superman v2 001.png
|text= Superman Vol. 2
|link= Superman v2 1
|width= 150px
|height-offset= -50px
}}


Making the image larger than the width of the box

{{Thumb Box
|image= Superman v2 001.png
|text= Superman Vol. 2
|link= Superman v2 1
|width= 150px
|height-offset= -40px
|imgwidth= 200px
}}