User:Andrewds1021/Hotlink Vignette

This template was created in response to Thread:1640832 and also applies to. This page is under construction

This template is meant to simplify the process of using Vignette to hotlink and optionally crop/resize images from the local wiki.

Parameters

 * 1) image - required
 * 2) *name of the image including the file extension
 * 3) replaced
 * 4) *timestamp when the desired version was replaced (i.e. when the next version was uploaded) in the form YYYYMMDDhhmmss
 * 5) *leave blank if latest version is desired
 * 6) mode
 * 7) *type of cropping/resizing to perform
 * 8) *recognized values
 * 9) *#set
 * 10) *#*fix the dimensions of the output image by padding where needed
 * 11) *#*resizes like "max" mode
 * 12) *#*required parameters: width, height
 * 13) *#width
 * 14) *#*resizes to match the "width" parameter
 * 15) *#*required parameters: width
 * 16) *#height
 * 17) *#*resizes to match the "height" parameter
 * 18) *#*required parameters: height
 * 19) *#max
 * 20) *#*resizes to smallest of either "width" mode or "height" mode
 * 21) *#*required parameters: width, height
 * 22) *#crop
 * 23) *#*crop the image before resizing
 * 24) *#*crop submode determined by "position" parameter
 * 25) *#*required parameters: position
 * 26) *leave blank if no cropping/resizing is desired
 * 27) width
 * 28) *target width of resized image
 * 29) height
 * 30) *target height of resized image
 * 31) position
 * 32) upscale
 * 33) *allow upscaling when resizing
 * 34) *enable by providing a non-blank value
 * 35) *not used by "height" mode and "custom" position
 * 36) fixed
 * 37) *fix the dimensions of the output image by padding where needed
 * 38) *enable by providing a non-blank value
 * 39) *used by "custom" position only
 * 40) x offset
 * 41) *used by "custom" position only
 * 42) y offset
 * 43) *used by "custom" position only
 * 44) window width
 * 45) *used by "custom" position only
 * 46) window height
 * 47) *used by "custom" position only
 * 48) fill
 * 49) *color to use for padding
 * 50) query
 * 51) *additional query string portion to append