Template:Department:Check allbooks category/doc

This template checks the status of an expected department allbooks category page.

Usage

edit

Place 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 the Department: prefix.

Internals

edit

Checks 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.

See also

edit