Template:Shelf:Check allbooks category/doc
This is a documentation subpage for Template:Shelf:Check allbooks category It contains usage information, categories and other content that is not part of the original template page. |
This template checks the status of an expected shelf allbooks category page.
Usage
editPlace this template on a page that expects the shelf allbooks category to exist. This template expects one parameter, as of this writing:
shelf
— required — the name of the shelf, without theShelf:
prefix.
Internals
editChecks that the associated allbooks category exists and appears to be properly set up, per {{Shelf:Allbooks category?}}. If not, adds the current page to Category:Book:Wikibooks Stacks/Attention needed, generates a text message, and provides a button to create/repair the allbooks category via ordinary editing of a wikipage. A contemplated upgrade would detect availability of dialog and replace the editing button with one for a dialog-based assistant.