Template:BookCat/category/doc
This is a documentation subpage for Template:BookCat/category It contains usage information, categories and other content that is not part of the original template page. |
This template is used on 4,000+ pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
editThis template handles pages in the category namespace for {{BookCat}}.
Parameters are passed down from the parent. At this writing, parameters used are optional sortkey
, and required fullpagename
and pagename
.
Internals
editThis template respects the category name's choice to use or not use prefix Book:
. If a category has a non-blank {{BOOKPAGENAME}}, this template puts the category in parent named by stripping off the last subfield. If the {{BOOKPAGENAME}} is blank, {{BOOKNAME}} {{BookCat/category/subjects}} and {{BookCat/category/shelves}} are used to retrieve subject categories.
See also
edit- {{BookCat/core}}