Template:Department:Check category/doc

From Wikibooks, open books for an open world
Jump to navigation Jump to search

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

Usage[edit source]

Place this template on a page that expects the department category to exist. The only parameter expected, as of this writing, is

  • department — the name of the department, without the Department: prefix.

Internals[edit source]

Only checks that the associated department category exists. If it doesn't, 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.

See also[edit source]