Template:Vedic Mathematics/Nav

From Wikibooks, open books for an open world
Jump to navigation Jump to search
Vedic Mathematics
Nav


A custom template for navigating the Vedic Mathematics book. This is a modification of the Navigate template which includes the words "Next: " and "Previous: " before the appropriate links. It also includes two more optional variables PrevText and NextText which override the default display of the navigational target.

Usage[edit source]

This template takes four optional variables.

MediaWiki syntax Displays as
{{Vedic Mathematics/Nav
 | Book = Vedic Mathematics
 | Curr = What is Vedic Mathematics?
 | Next = Sutras}}
Vedic Mathematics
What is Vedic Mathematics? Next: Sutras
{{Vedic Mathematics/Nav
 | Book = Vedic Mathematics
 | Curr = Sutras
 | Prev = What is Vedic Mathematics?
 | Next = Techniques}}
Vedic Mathematics
Previous: What is Vedic Mathematics? Sutras Next: Techniques
{{Vedic Mathematics/Nav
 | Book = Vedic Mathematics
 | Curr = Useful Links
 | Prev = Why Does It Work?}}
Vedic Mathematics
Previous: Why Does It Work? Useful Links
{{Vedic Mathematics/Nav
 | Book = Vedic Mathematics
 | Curr = Sutras
 | Prev = What is Vedic Mathematics?
 | Next = Techniques}}
 | PrevText = What is VM?
 | NextText = Vedic Techniques}}
Vedic Mathematics
Previous: What is VM? Sutras Next: Vedic Techniques

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