साँचा:Chapter navigation/विव
दिखावट
यह एक साँचा विवरण उपपृष्ठ है साँचा:Chapter navigation के लिए (ख़ुद साँचा पृष्ठ के लिए उसे ही देखें)। यहाँ प्रयोगविधि, श्रेणियाँ और अन्य संबंधित जानकारी रखी गयी है जो मूल साँचा पृष्ठ पर न लिख कर यहाँ लिखी गयी है और वहाँ प्रदर्शित होती है। |
Uses CSS and JavaScript to position chapter navigations at both the top and bottom of a page. Use template only once per page. The template adds:
- Top of page: Navigation for the previous and next pages of the book.
- Bottom of page: Navigation for previous page, table of contents, and next page of the book.
- Book category or optionally another category (e.g. a chapter) in its place, and sorts by chapter name.
प्रयोगविधि
[सम्पादन]- {{chapter navigation|optional previous page name|optional next page name|optional category (if not book category)}}, or
- {{chapnav|optional previous page name|optional next page name|optional category (if not book category)}} as shortcut
For first and last chapter of a book, leave first or second field blank respectively:
- {{chapter navigation||next subpage name}} first chapter
- {{chapter navigation|previous subpage name}} last chapter
Pages are added to the book category unless another category is specified as the third parameter.
This can also be expanded to list the chapters of a book. See {{Learning Theories/Navigation}} and {{Chess/Navigation}} for examples.
उदाहरण
[सम्पादन]See Rhetoric and Composition/Narration for an example. The code {{chapter navigation|Description|Exposition}}
is used at the bottom of the page.