Template:TOC page listing/doc

From Wikisource
Jump to navigation Jump to search

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 entry
  • pagetext (2) – the page number to be linked; can be any test including Roman numerals, etc.; for wikilinking, consider {{DJVU page link 2}}
  • pagenum – Display page number to wikilink to; must be an Arabic number
  • positionoffset – use with pagenum to wikilink to compute page number of current document to link to, adjusted for pages of front matter
  • hi – 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]