ਫਰਮਾ:Shelf:Check page/doc
This is a documentation subpage for ਫਰਮਾ:Shelf:Check page (see that page for the ਫਰਮਾ itself). It contains usage information, categories, and other content that are not part of the original ਫਰਮਾ page. |
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 theShelf:
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 Category:Book:ਫਰਮਾ:Shelf:Check page/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
[ਸੋਧੋ]- {{Shelf:Editintro format}}
- {{Shelf:Editintro}}
- {{Shelf:Preload}}