Template:BookCat/core/doc

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

This subtemplate of {{BookCat}} handles the actual categorization of the page, using data provided by the parent template.

Usage[edit source]

Parameters namespace, pagename, and fullpagename are expected.

Internals[edit source]

This template is only a dispatcher, sending talk pages {{BookCat/talk}}, categories (and project pages) to {{BookCat/category}}, subject pages to {{BookCat/subject}}, templates to {{BookCat/template}}, userspace pages to {{BookCat/user}}, mainspace pages with prefix Department: or Shelf: to {{BookCat/department}} or {{BookCat/shelf}} respectively, and anything else to {{BookCat/default}}.