Template:BOOKCATEGORY/core

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

Category:Book:{{{1}}}

Template documentation[edit] [history] [purge]

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

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.