Template:BOOKPAGENAME/refactor/doc
Appearance
This is a documentation subpage for Template:BOOKPAGENAME/refactor It contains usage information, categories and other content that is not part of the original template page. |
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
[edit source]The in-book-style name is expected as parameter pagename
.
Internals
[edit source]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}}.