ਫਰਮਾ:BOOKNAME/category/doc
This is a documentation subpage for ਫਰਮਾ:BOOKNAME/category (see that page for the ਫਰਮਾ itself). It contains usage information, categories, and other content that are not part of the original ਫਰਮਾ page. |
This subtemplate of {{BOOKNAME}} handles for {{BOOKNAME/core}} the case of category namespace.
Usage
ਸੋਧੋThe two parameters expected are namespace
and pagename
.
Internals
ਸੋਧੋAt this writing, the associated book name for a category is derived from the pagename
by stripping an optional Book:
prefix and treating the result as the full name (with namespace) of an in-book page, delegating through {{BOOKNAME/refactor}} to {{BOOKNAME/inbook}}.
If the Book:
prefix is missing, by not stripping the category name's first five characters, it is treated as an old-style book-category name.