Template:BOOKCATEGORY/core/doc

This subtemplate of BOOKCATEGORY was used during the transition from old to new book-category naming scheme, to deduce the associated book-category name from the associated book name; in particular, it decides whether the book-category name should have a  prefix on it.

Usage
The book name is required as unnamed parameter.

Internals
The prefixed name is used unless the category with the prefixed name doesn't exist and the category with the unprefixed name does exist.