ਫਰਮਾ:Shelves/leaf2/doc
< ਫਰਮਾ:Shelves | leaf2
This is a documentation subpage for ਫਰਮਾ:Shelves/leaf2 (see that page for the ਫਰਮਾ itself). It contains usage information, categories, and other content that are not part of the original ਫਰਮਾ page. |
This template handles an individual shelf listing of a book for {{Shelves}}, after slight preprocessing by {{Shelves/leaf}}.
Usage
ਸੋਧੋThe name of the shelf is the first unnamed parameter. On entry here, the first letter of the shelf name is upper-case.
Internals
ਸੋਧੋIf there is a problem with the specified shelf or with its ancestry, this template prefers to display a message and do no categorization, leaving the shelf primarily responsible for requesting help; except this isn't possible if the shelf doesn't exist, in which case the page is added to Category:Book:Wikibooks Stacks/Attention needed. When everything looks okay, delegates allbooks categorization through {{Shelf:Map}} to {{Shelves/ancestor}}.