Template:Holiday Image/doc

This template will put a banner that says "Holiday" in the top right corner of any image, like it would do with Holiday Skins in Mallhalla.

Brief syntax
In brief, the syntax for displaying an image is:


 * Name : Only Name is required. All images default " " with a default size of 300px. The other details are optional and can be placed in any order. The name of the image must be followed by the extension whether it be,  , etc.
 * Location : " ", " ", " " or " ". Determine the horizontal placement of the image on the page. This defaults to " " for all images.
 * Size : The image fixed by specifying a size in pixels: "Width "
 * Link : Link the image to a different resource, or to nothing.
 * Alt : Specify the alt text for the image. This is intended for visually impaired readers. See WP:ALT for how this should typically differ from the caption.

Name
This parameter is mandatory. The name of the image must be specified as well as the file extension. The name and extension must match, and it must be a valid image name.

The style of the template only allows images with aspect ratios of 1:1, otherwise the template will spit out a Red Link and a banner that looks extremely out of place.

Location
Location will default to  so inclusion is not necessary, but any location other   must be specified before the size (if size is specified).


 * (nothing specified) : Same as . Place the image on the left side of the page. The article text that follows the image is placed below the image.
 * : Place the image on the right side of the page. The article text that follows the image flows around the image. This is the default when  or   is used.
 * : Place the image on the left side of the page. The article text that follows the image flows around the image, but there may be formatting issues with lists and indented text.
 * : Place the image in the center of the page. The article text that follows the image is placed below the image.

Size

 * (nothing specified) : The image is displayed with a size of 300px
 * : The image is displayed with a size of ###px

Link

 * Page : Ordinarily, clicking on an image takes the reader to the image description page. The link option allows the reader to be taken instead to a different page, such as a fuller image from which the image was cropped, or to a full document of which the image was a single page (or crop of a single page). Do not enclose the page name in square brackets. If Page is a URL, the reader will be taken outside the project; this is not normally done in article space.
 * : Disables the link so that clicking on the image does nothing.

Alt
.


 * (nothing specified) : Defaults to "Holiday Exclusive". Uses "Holiday Exclusive" as the alt text for the image. Tooltip will read "Holiday Exclusive".
 * Alt : Uses "Alt" as the alt text for the image. Tooltip will read "Alt".

Using the basic syntax
The most basic example uses the syntax. This scales the image to 300px and does not allow text to wrap around it. This is not normally appropriate in an article.

This is rendered on a seperate line, so unspaced text like the following:

 text text text text text text text text text text text text text text text

gives

text text text text text text

text text text text text

text text text text