Jump to content

සැකිල්ල:පොත් රාක්කය:Check page/උපදෙස්

Wikibooks වෙතින්

This template checks the status of an expected shelf page.

භාවිතය

[සංස්කරණය]

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.

අභ්‍යන්තර ක්‍රියාකාරීත්වය

[සංස්කරණය]

Checks that the associated shelf exists and appears to be properly set up, per {{Shelf:Page?}}. If not, adds the current page to ප්‍රවර්ගය:පොත:විකිපොත් ගබඩාව/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.

ආශ්‍රිත

[සංස්කරණය]