Template:Simple chapter navigation
This template uses Lua: |
Usage
editExamples
editThe 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
editThis 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Previous chapter | previous | This should be the name of the previous chapter. | String | optional |
Next chapter | next | This should be the name of the next chapter. | String | optional |
No categorization | nocat | This parameter should have a value (any) if the page should not be put in the book template. Otherwise, it should be omitted. | String | optional |