Template:Department:Check allbooks category/doc
This is a documentation subpage for Template:Department:Check allbooks category It may contain usage information, categories and other content that is not part of the original template page. |
This template checks the status of an expected department allbooks category page.
Usage
editPlace this template on a page that expects the department allbooks category to exist. This template expects one parameter, as of this writing:
department
— required — the name of the department, without theDepartment:
prefix.
Internals
editChecks that the associated allbooks category exists and appears to be properly set up, per {{Department: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.