This is a documentation subpage for Template:TOC page listing. It contains usage information, categories and other content that is not part of the original template page. |
This template uses TemplateStyles: |
This template is intended for replicating an original work's Table of Contents entries within the Wikisource Page: namespace.
Usage
editParameters:
entrytext (1)
– the title of the chapter or entrypagetext (2)
– the page number to be linked; can be any text including Roman numerals, etc.; for wikilinking, consider {{Scan page link 2}}pagenum
– Display page number to wikilink to; must be an Arabic numberpositionoffset
– use with pagenum to wikilink to compute page number of current document to link to, adjusted for pages of front matterhi
– a measure for an optional hanging indent
Example
editFor an example of the use of {{TOC page listing}} (combined with {{Dotted TOC page listing}}) see: this page.
See also
edit- Template:Dotted TOC page listing (typically used for TOC lines)