Template:Scan/doc

From Wikisource
Jump to navigation Jump to search

Usage[edit]

This template gives a link to the index corresponding to a text.

Examples[edit]

One parameter[edit]

{{scan|Works of Charles Dickens, ed. Lang - Volume 1.djvu}}

shows

Works of Charles Dickens, ed. Lang - Volume 1.djvu

The image links Works of Charles Dickens, ed. Lang - Volume 1.djvu to its scan: Index:Works of Charles Dickens, ed. Lang - Volume 1.djvu. This is only useful if the index and the mainspace pages have the same name.

Two parameters[edit]

{{scan|The Pickwick Papers|Works of Charles Dickens, ed. Lang - Volume 1.djvu}}

shows

The Pickwick Papers

The image links The Pickwick Papers to its scan: Index:Works of Charles Dickens, ed. Lang - Volume 1.djvu.

Three parameters[edit]

{{scan|The Pickwick Papers|Works of Charles Dickens, ed. Lang - Volume 1.djvu|Works of Charles Dickens, Volume 1}}

shows

Works of Charles Dickens, Volume 1

The image links The Pickwick Papers to its scan: Index:Works of Charles Dickens, ed. Lang - Volume 1.djvu, using the label Works of Charles Dickens, Volume 1.

"end" parameter[edit]

{{scan|The Pickwick Papers|Works of Charles Dickens, ed. Lang - Volume 1.djvu|end=yes}}

shows

The Pickwick Papers

The image links The Pickwick Papers to its scan: Index:Works of Charles Dickens, ed. Lang - Volume 1.djvu, and displays the book icon at the end of the line. The value of this parameter can be anything (even "no", "false", "0") to trigger, except blank.

See also[edit]