This page is protected against editing.

Template:Otherversion

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
[[{{{1}}}|500x120px]] [[:{{{1}}}]]
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Otherversion/doc.

Used to display another version of the image

Usage

{{Otherversion |1= |2= |3= |page= }}

the page parameter will only work with .djvu files

Template parameters

ParameterDescriptionDefaultStatus
1filename of other versionemptyrequired
2short description of the other version. For example "Version from en.wikipedia"emptyoptional
3preview size (add 'px' to value), default is 500x120pxemptyoptional
pagepage number where a specific page from a DjVu file is requirednoneoptional

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

Placement:

usually used within | other_versions = parameter within infobox templates

See also

{{Other}} – with description below image and option to suppress filename

Examples

Basic usage:

{{otherversion|File:Australian Legendary Tales p27.png}} gives

File:Australian Legendary Tales p27.png

With optional description:

{{otherversion|Australian Legendary Tales p27.png|''Other version'' description}} gives

File:Australian Legendary Tales p27.png
Other version description

With optional size override:

{{otherversion|Australian Legendary Tales p27.png||250px}} gives

File:Australian Legendary Tales p27.png

With optional page number for DjVu files:

{{otherversion|Jim of the Hills.djvu|page=11}} gives

File:Jim of the Hills.djvu