Module:Chapter navigation/doc
This module provides a way to generate navigation bars to navigate between chapters of a book and a way to put a book chapter in the book category.
Usage
[edit source]This module should not be invoked directly. The {{simple chapter navigation}} template should be used instead.
Functions
[edit source]This module provides two functions: one to create a navigation bar and one to categorize the page automatically, assuming it is a book chapter. The former receives two optional arguments, previous and next, which should be the names of the previous and next chapters, respectively. It uses these chapter names to generate a navigation bar that is meant to be put at the bottom of the chapter page. The latter function does not have any parameter and puts the chapter page in the book category, ordering it properly. These two functions assume that the book follows the Wikibooks naming policy and are likely to work improperly if it is not followed.
This is a documentation subpage for Module:Chapter navigation It may contain usage information, categories and other content that is not part of the original module page. |