Template:Scan

From Wikisource
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]


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

Open book nae 02.svg 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

Open book nae 02.svg 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

Open book nae 02.svg 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 Open book nae 02.svg

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]

{{listen}} {{audio file}}