Template:BookCat/category/subjects/doc
This is a documentation subpage for Template:BookCat/category/subjects It contains usage information, categories and other content that is not part of the original template page. |
This template is used on 2,500+ 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 adding subject categories to a book category. Its logic is isolated here from the rest of {{BookCat/category}} because it's more elaborate than the rest of that template put together, so if included there it would obfuscate that whole template; it works by transcluding the book main page and parsing it to find the non-allbooks subject categories. The book is passed in as parameter book
.