Перейти до вмісту

Шаблон:Nav/Документація

Матеріал з Вікіпідручника

Usage

[ред.]

This template provides navigation links to the previous, next, and root pages of the book automatically from the table of contents thanks to Module:Printable version. This makes reordering a book significantly easier; simply rearrange the links in the book's table of contents, without the painstaking process of editing navigation links on all affected or adjacent pages. {{BookCat}} is automatically included as well (unless nocat is set), further reducing copy-and-paste boilerplate.

The table of contents is usually the root page of the book. If the /TOC subpage exists, or the TOC/1 parameter is set, that page is used instead. It is recommended to call this template as just {{Nav}} with no parameters, unless you intentionally want to create an example of this template being used on a book or page different than the current one.

Приклади

[ред.]




TemplateData

[ред.]
Це документація TemplateData для шаблону Nav, яка використовується Візуальним редактором та іншими інструментами.

Pages navigation links

Параметри шаблону[Редагувати дані шаблону]

ПараметрОписТипСтатус
Table of contents1 TOC

Name of a page that links to every page in this book; if unset, the book's /TOC subpage (if existent) or root page will be used

Рядокнеобов'язковий
Current page name2 page

Current page name

Рядокнеобов'язковий
Don't autocategorizenocat

If set, don't automatically categorize this article based on its hierarchy in the book

Логічне значеннянеобов'язковий