Template:Simple chapter navigation/doc

Usage

edit

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
}}

TemplateData

edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Simple chapter navigation

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.

Stringoptional
Next chapternext

This should be the name of the next chapter.

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.

Stringoptional