Template:Navigate/doc
Appearance
This is a documentation subpage for Template:Navigate It contains usage information, categories and other content that is not part of the original template page. |
Usage
[edit source]This template takes six optional variables.
MediaWiki syntax | Displays as |
---|---|
{{Navigate | Book = Geometry for Elementary School | Curr = Introduction | Next = Our tools: Ruler and compass}} |
|
{{Navigate | Book = Geometry for Elementary School | Curr = Copying a triangle | Prev = Copying a line segment | Next = 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}} |
|
{{Navigate | Book = Geometry for Elementary School | Curr = Angles | Prev = Lines}} |
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.