Template:Simple chapter navigation

From Wikibooks, open books for an open world
Jump to: navigation, search
Template documentation[edit] [history] [purge]

This template creates a simple navigation bar, to be placed at the bottom of a book chapter page, that provides link to the previous and next chapters. It also puts the chapter in the book category and orders it appropriately. This template will only function properly if the book follows the Wikibooks naming policy.

Template parameters

ParameterDescriptionTypeStatus
Previous chapterprevious

This should be the name of the previous chapter.

Default
empty
Example
empty
Auto value
empty
Stringoptional
Next chapternext

This should be the name of the next chapter.

Default
empty
Example
empty
Auto value
empty
Stringoptional
No categorizationnocat

This parameter should have a value (any) if the page should not be put in the book template. Otherwise, it should be omitted.

Default
empty
Example
empty
Auto value
empty
Stringoptional

Examples[edit]

The codes below give the following results and add the appropriate book category:

{{simple chapter navigation|previous=Previous chapter|next=Next chapter}}


{{simple chapter navigation
|previous=Previous chapter
|next=Next chapter
|border-top-style=
|border-top-width=
|border-bottom-style=dotted
|border-bottom-width=5px
}}