模板:Scan page link 3
[[Page:Scan page link 3/{{{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 3|scan page|link label|main chapter}}
In the main namespace, this gives a link to the page label {{{2}}} in the chapter {{{3}}}.
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 American Indian:
{{scan page link 3|176|132|The American Indian/Chapter 8}}
This will then link to page 176, eg. (Page:The American Indian.djvu/176) from the index page when transcluded, and will link to page label 132 in Chapter 8 (The American Indian/Chapter 8#132) in the main namespace. In both places, the link will read "132".
See also
編輯- {{Scan page link}}: for auto-offset page links
- {{Scan page link 2}}: for page links that cannot be auto-offset (e.g. roman numerals)
- {{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
- {{TOC line}} and {{Dotted TOC line}}: have inbuilt {{{pagenum}}} and {{{positionoffset}}} parameters
- {{TOC page listing}} and {{Dotted TOC page listing}}: have inbuilt {{{pagenum}}} and {{{positionoffset}}} parameters
- {{Double link}}: for any link that varies when in Page: and the mainspace
- {{Namespace link}}: for links that vary between any namespaces
上述文件嵌入自Template:Scan page link 3/doc。 (編輯 | 歷史) 編者可以在本模板的沙盒 (建立 | 鏡像)和測試樣例 (建立)頁面進行實驗。 請在/doc子頁面中添加分類。 本模板的子頁面。 |