සැකිල්ල:පොත් රාක්කය:Check page

Wikibooks වෙතින්
Jump to navigation Jump to search
[edit] [විරේචනය කරන්න] Template-info.svg Template documentation

This template checks the status of an expected shelf page.

Usage[සංස්කරණය]

Place this template on a page that expects the shelf to exist. This template expects one parameter, as of this writing:

  • shelf — required — the name of the shelf, without the Shelf: prefix.

Alternatively, if shelf is omitted, the information may instead be provided as an unnamed parameter.

Internals[සංස්කරණය]

Checks that the associated shelf exists and appears to be properly set up, per {{Shelf:Page?}}. If not, adds the current page to ප්‍රවර්ගය:පොත:Wikibooks Stacks/Attention needed, generates a text message, and provides a button to create/repair the shelf 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.

Another contemplated upgrade is to check that the shelf page responds to a parents query with a non-empty list.

See also[සංස්කරණය]

Using Wikibooks/Shelves, Categories, and Classifications