Template:Navigation/doc
This is a documentation subpage for Template:Navigation It may contain usage information, categories and other content that is not part of the original template page. |
This template provides a navigation menu intended for the top and/or bottom of a book chapter, section or subpage. A link to the book (or higher section) appears at the top of the menu if it's not on a subpage. This template also includes the subpage it appears on in the book's main category.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Previous page | previous | This should be the name of the book subpage that comes before the current subpage. It should not be a link or include the book title. If the subpage is the first part of the book, this parameter should be omitted. | String | optional |
Next page | next | This should be the name of the book subpage that comes after the current subpage. It should not be a link or include the book title. If the subpage is the last part of the book, this parameter should be omitted. | String | optional |
Category | cat | This parameter should be the name of the book category to put the subpage in. It should be omitted if the category has the same name as the book, which is the most common case. | String | optional |
Usage: {{navigation|previous=page|next=page}}