Template:Shelf:Check category/doc
Appearance
This is a documentation subpage for Template:Shelf:Check 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 category page.
Usage
[edit source]Place this template on a page that expects the shelf category to exist. The only parameter expected, as of this writing, is
shelf
— the name of the shelf, without theShelf:
prefix.
Internals
[edit source]Only checks that the associated shelf category exists. If it doesn't (and if we aren't actually previewing the associated shelf category now), adds the current page to Category:Book:Wikibooks Stacks/Attention needed, generates a text message, and provides a button to create it via ordinary editing of a wikipage, requiring manually saving a preloaded template. A contemplated upgrade would detect availability of dialog and replace the editing button with one for a dialog-based assistant.