Jump to content

Template:Navlist/Map/Prev page/doc

From Wikibooks, open books for an open world

This template is designed to be passed to a navlist, which describes the organization of a book as documented at Template:Navlist/Doc. Its function is to identify the predecessor of {{PAGENAME}} in the book outline. The result generated prefixes {{BOOKNAME}} to the predecessor page entry as it occurs in the navlist; if no predecessor is found, nothing is generated. Looking backward in the list of pages from the current page, one or two blank entries may be skipped.

Some examples (see note on editing):

Description Code Result
module isn't in navlist {{Template:Navlist/Doc/A|=Template:Navlist/Map/Prev page}}
module is first in navlist {{Template:Navlist/Doc/F|=Template:Navlist/Map/Prev page}}
skip 2 {{Template:Navlist/Doc/D|=Template:Navlist/Map/Prev page}}