Template:Otherversion

From Wikimedia Commons, the free media repository
Jump to: navigation, search
[[{{{1}}}|500x120px]] [[:{{{1}}}]]
Documentation icon Documentationviewedithistorypurge

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

Parameter Description Default Status
1 filename of other version empty required
2 short description of the other version. For example "Version from en.wikipedia" empty optional
3 preview size (add 'px' to value), default is 500x120px empty optional
page page number where a specific page from a DjVu file is required none optional

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
Australian Legendary Tales p27.png File:Australian Legendary Tales p27.png
  • With optional description:
{{otherversion|Australian Legendary Tales p27.png|''Other version'' description}} gives
Australian Legendary Tales p27.png File:Australian Legendary Tales p27.png
Other version description
  • With optional size override:
{{otherversion|Australian Legendary Tales p27.png||250px}} gives
Australian Legendary Tales p27.png File:Australian Legendary Tales p27.png
  • With optional page number for DjVu files:
{{otherversion|Jim of the Hills.djvu|page=11}} gives
Jim of the Hills.djvu File:Jim of the Hills.djvu