• Home
  • Random
  • Log in
  • Settings
Donate Now If this site has been useful to you, please give today.
  • About Wikisource
  • Disclaimers
Wikisource

Template:Scan

  • Template
  • Discussion
  • Language
  • Watch
  • Edit
Template documentation[view] [edit] [history] [purge]


Contents

  • 1 Usage
  • 2 Examples
    • 2.1 One parameter
    • 2.2 Two parameters
    • 2.3 Three parameters
    • 2.4 "end" parameter
  • 3 See also

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 form only works if the index and the mainspace pages have the same name; to link a work and an index with names that differ, use the two- or three-parameter form described below.

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
  • {{small scan link}}
  • {{ext scan link}}
  • {{audio file}}
  • {{listen}}
The above documentation is transcluded from Template:Scan/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikisource.org/w/index.php?title=Template:Scan&oldid=14410906"
Last edited on 16 August 2024, at 13:41

Languages

    • Беларуская
    • Català
    • فارسی
    • Français
    • Latina
    • Norsk
    • ଓଡ଼ିଆ
    • ਪੰਜਾਬੀ
    • Português
    • Română
    • Українська
    Wikisource
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 16 August 2024, at 13:41.
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikisource
    • Disclaimers
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop