Template:Navlist/Map/Prev page/doc
This is a documentation subpage for Template:Navlist/Map/Prev page It contains usage information, categories and other content that is not part of the original template page. |
This template employs intricate features of template syntax. You are encouraged to familiarize yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly. Remember that you can conduct experiments, and should test all improvements, in either the general template sandbox or your user space before changing anything here. |
Usage
editThis 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}} |