Template:SHELFNAME/core/doc
This is a documentation subpage for Template:SHELFNAME/core It may contain usage information, categories and other content that is not part of the original template page. |
This subtemplate of {{SHELFNAME}} does the actual deduction of the associated shelf-page name, using data provided by the parent template.
Usage
editThe two parameters expected are namespace
and basename
.
Internals
editIf the basename has prefix Shelf:
, nothing else is looked at. Otherwise, non-content pages lose their namespace prefix while content pages, consistent with the behavior of {{BOOKNAME}}, retain their namespace prefix.