Template:Department:Check page/doc
This is a documentation subpage for Template:Department:Check page 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 page.
Usage
editPlace this template on a page that expects the department 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 department exists and appears to be properly set up, per {{Department:Page?}}. 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 department page 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.