Template:Scan page link/doc


 * Helper template to display a page number (param 1), linking to the page within the scanned file with an offset specified in param 2.

This template gives links for tables of contents using a page number from the original text and a simple offset to link to the page in the scan.

Usage
In the main namespace, this gives a simple, unlinked label consisting of, the number in the "real" book.

In the page: namespace, it gives a link to the relevant page in the scan with the number in the first parameter added to the second eg. (Page:XXXX.djvu/+). The correct scan file is deduced from the page the template is used on.

In the index namespace, it will additionally show the proofreading status of the pages as a background colour.

Example
In the table of contents for Mandragora:

This will then link to page 17 (i.e. 1+16), which is "Page:Mandragora.djvu/17" from the page it is used on and the index page when transcluded, and will show the page number (unlinked) in the main namespace. In both places, the link will read "1".

Additional parameters

 * / : When transcluded into the mainspace, the page number will be a link to the chapter specified. Include the full link to the chapter page in the mainspace, including the main page, forward slash, and chapter name. Do not include an anchor here (#eg); use the /  parameter instead.
 * Example:
 * Is the same as:
 * / : If /  exists, this allows adds a link to an anchor on that page, when the template is transcluded into the mainspace (if not specified, this defaults to the page number specified by  + ).
 * Example:
 * Is the same as:
 * : the index file to use, if you wish to override the default (useful for page links to other volumes in multi-volume works). Do not add the "Index:" namespace prefix, just the filename, including .djvu/.pdf file extension.
 * Example: