Template:Navlist/Map/Next page/doc
This is a documentation subpage for Template:Navlist/Map/Next 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 successor of {{PAGENAME}} in the book outline. The result generated prefixes {{BOOKNAME}} to the successor page entry as it occurs in the navlist; if no successor is found, nothing is generated. Looking forward 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/Next page}} | |
module is last in navlist | {{Template:Navlist/Doc/F|=Template:Navlist/Map/Next page}} | |
skip 1 | {{Template:Navlist/Doc/D|=Template:Navlist/Map/Next page}} |