Template:Navlist/Map/Top page/doc
This is a documentation subpage for Template:Navlist/Map/Top page It contains usage information, categories and other content that is not part of the original template page. |
This template is under development. As of this writing, it doesn't yet perform its intended function. |
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 parent of {{PAGENAME}} in the book outline. The result generated prefixes {{BOOKNAME}} to the parent page entry as it occurs in the navlist; if no parent 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/Top page}} | |
module is last in navlist | {{Template:Navlist/Doc/F|=Template:Navlist/Map/Top page}} | |
skip 1 | {{Template:Navlist/Doc/D|=Template:Navlist/Map/Top page}} |