Template:TOC page listing/sandbox
Appearance
Entry text
This is the template sandbox page for Template:TOC page listing (diff). |
This template uses TemplateStyles: |
This template is intended for replicating an original work's Table of Contents entries within the Wikisource Page: namespace.
Usage
[edit]Parameters:
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
[edit]For 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)