Template:BookCat/category

From Wikibooks, open books for an open world
Jump to navigation Jump to search
Template documentation[edit] [history] [purge]
update use count

Usage

This 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

This 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