Template:BOOKCATEGORY/core/doc

From Wikibooks, open books for an open world
Jump to navigation Jump to search

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 Book: prefix on it.

Usage[edit source]

The book name is required as unnamed parameter.

Internals[edit source]

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