Template:Navigation/doc

From Open Educational Resources
< Template:Navigation
Revision as of 12:52, 28 August 2023 by Chandra (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Book Title
 ← Previous Chapter Title Chapter Title Next Chapter Title → 


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.

Template parameters

ParameterDescriptionTypeStatus
Previous pageprevious

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.

Stringoptional
Next pagenext

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.

Stringoptional
Categorycat

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.

Stringoptional

Usage: {{navigation|previous=page|next=page}}

See also