Template:Tall image

From eRepublik Official Wiki
Revision as of 12:03, 24 January 2019 by Bogi (Talk | contribs) (removed extra line of space)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Usage

{{Tall image|name|image width|box height|alt=alt text|caption|alignment}}

The name is the name of the image without any preceding "File:" or "Image:".

The image width option is optional, but must be given in pixels without the "px". It will set the width of the image to that amount. Default is 250px.

The box height option is optional, but must be given in pixels without the "px". It will set the height of the box containing the image to that amount. Default is 500px.

The alt text describes the image to visually-impaired readers and should have little in common with any caption.

The caption option is optional, and an image frame will be used if a caption is supplied. If the caption contains an equal sign, use the parameter |3=caption in the place of |caption. If the caption supplied is exactly equal to image syntax such as thumb, the image's tooltip will no longer display the caption, but instead default to the name of the image.

The alignment option is also optional but requires box width to be defined. If given a value of right or left, it will align the entire wide image frame respectively. Default is right, use none for in-line.