Template:Navigate/doc

Usage

edit

This template takes six optional variables.

MediaWiki syntax Displays as
{{Navigate
 | Book = Geometry for Elementary School
 | Curr = Introduction
 | Next = Our tools: Ruler and compass}}
Geometry for Elementary School
Introduction Our tools: Ruler and compass
{{Navigate
 | Book = Geometry for Elementary School
 | Curr = Copying a triangle
 | Prev = Copying a line segment
 | Next = Copying an angle}}
Geometry for Elementary School
Copying a line segment Copying a triangle Copying an angle
{{Navigate
 | Book = Geometry for Elementary School
 | Curr = Copying a triangle
 | Prev = Copying a line segment
 | Next = Copying an angle
 | PrevText = Prev: Copying a line segment
 | NextText = Next: Copying an angle}}
Geometry for Elementary School
Prev: Copying a line segment Copying a triangle Next: Copying an angle
{{Navigate
 | Book = Geometry for Elementary School
 | Curr = Angles
 | Prev = Lines}}
Geometry for Elementary School
Lines Angles

Note that the Book and Curr variables default to the book and current sub-page names, respectively. Most cases should not require setting these.

Note that the PrevText and NextText variables override the default display of the target so an alternative text may be substituted.