साँचा:BOOKPAGENAME/category/विव
यह एक साँचा विवरण उपपृष्ठ है साँचा:BOOKPAGENAME/category के लिए (ख़ुद साँचा पृष्ठ के लिए उसे ही देखें)। यहाँ प्रयोगविधि, श्रेणियाँ और अन्य संबंधित जानकारी रखी गयी है जो मूल साँचा पृष्ठ पर न लिख कर यहाँ लिखी गयी है और वहाँ प्रदर्शित होती है। |
This subtemplate of {{BOOKPAGENAME}} handles for {{BOOKPAGENAME/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 {{BOOKPAGENAME/refactor}} to {{BOOKPAGENAME/inbook}}.
If the Book:
prefix becomes mandatory in the future, the optional-prefix-stripping could be modified to simply always strip off the first five characters, but it's not clear that making the code less able to handle contingencies is a fair exchange for vanishingly small cost savings, even if the contingencies aren't expected to happen anymore.