This high-risk template is indefinitely protected from editing to prevent vandalism.

Template:Shelf:Check allbooks category

From Wikibooks, open books for an open world
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]


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

Usage

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

Internals

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

See also