Template:BOOKPAGENAME/refactor
Appearance
This template is used on 6,000+ 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. |
This subtemplate of {{BOOKPAGENAME}} handles cases where an in-book-style page name has been derived from the name of an associated non-book page.
Usage
The in-book-style name is expected as parameter pagename
.
Internals
This template reparses the derived pagename, however it was derived before calling here, dispatching further deduction to either {{BOOKPAGENAME/inbook}}, {{BOOKPAGENAME/shelf}}, or {{BOOKPAGENAME/department}}. At this writing, the two non-book namespaces that invoke this are template space, where the derivation is trivial, and category space, where derivation is nontrivial and handled by {{BOOKPAGENAME/category}}.