跳转到内容

模板:Scan page link 2

维基文库,自由的图书馆

[[Page:Scan page link 2/{{{1}}}|{{{2}}}]]

文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

This template gives links for tables of contents when a simple offset system as used in {{scan page link}} is not sufficient.

Usage

[编辑]
{{scan page link 2|scan page|link label}}

In the main namespace, this gives a simple, unlinked label consisting of {{{2}}}, the link label.

In the page: namespace, it gives a link to the relevant page with the number in the first parameter, eg. (Page:XXXX.djvu/{{{1}}}). The correct scan file is deduced from the page the template is used on. The link text will still be the second parameter, as in the main namespace.

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 The Mathematical Principles of Natural Philosophy:

{{scan page link 2|9|iii}}

This will then link to page 9, eg. (Page:The Mathematical Principles of Natural Philosophy - 1729 - Volume 1.djvu/9) from the index page when transcluded, and will show the page number (unlinked) in the main namespace. In both places, the link will read "iii".

See also

[编辑]
  • {{Scan page link}}: for auto-offset page links
  • {{Scan page link 3}}: for page links that are not auto-offset, and allow linking to mainspace chapter
  • {{Scan page link 4}}: for page links that are not auto-offset, occur on the same page (to appear not in bold), and allow linking to mainspace chapter
  • {{TOC link}}: for table of content page links, allowing linking to mainspace chapter
  • {{Auto TOC link}}: adds an automatic link to the correct chapter in mainspace, for ease of use when large numbers of links are required
  • {{Double link}}: for any link that varies when in Page: and the mainspace
  • {{Namespace link}}: for links that vary between any namespaces