Template:Magic word templates/book page see also
Appearance
- {{BOOKNAME}} — deduces full root name of book associated with the current page.
- {{BOOKPAGENAME}} — deduces the part of page name after name of associated book.
- {{BOOKSORTKEY}} — deduces usual sort key for use in book categories.
- {{BOOKTEMPLATE}} — deduces full root name for templates of book associated with the current page.
- {{BOOKCATEGORY}} — deduces full root name for categories of book associated with the current page.
- {{BOOKTALKNAME}} — deduces main talk page name of book associated with the current page.
- {{CHAPTERNAME}} — deduces first field of page name after the book name.
- {{NAIVEBOOKNAME}} — page name without subpages and retaining the namespace.
Usage
[edit source]Transclude this on a template documentation page to produce a bulleted list of See also links to magic word templates relating a page to its associated book, not including the current template. See for example Template:BOOKNAME/doc.
An unnamed parameter can override the choice of which template to omit from the list.
Internals
[edit source]The list is in subtemplate {{Magic word templates/book page see also/core}}; this template only chooses the template to omit and delegates there.