Template:BOOKPAGENAME/department/doc

This subtemplate of BOOKPAGENAME handles cases where the page is a department of the Wikibooks Stacks.

Usage
The only parameter expected is.

Internals
This template simply strips off the  prefix.