Template:Wide image/doc
This is a documentation subpage for Template:Wide image. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
{{Wide image|name|image width|caption|box width|alignment|dir=direction}}
A 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 box width
option is optional, and if given a value in pixels followed by "px", or a value in percent followed by "%", will set the width of the box to that amount.
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.
The dir
option is also optional, if given a value "rtl", will set the image scrolling from right to left.
Example
[edit]Without caption
[edit]{{wide image|Panoramic view of King Georges Sound (composite).jpg|2000px}}
With caption
[edit]{{wide image|Panoramic view of King Georges Sound (composite).jpg|2000px|''Panoramic view of King George's Sound, part of the colony of Swan River'' by Robert Havell}}