Jump to content

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

Wikibooks වෙතින්

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

භාවිතය

[සංස්කරණය]

Place this template on a page that expects the shelf category to exist. Parameters, as of this writing, are

  • shelf — required — the name of the shelf, without the Shelf: prefix.
  • maxcount — optioal — the current maximum list size requested by the shelf, if any.

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

[සංස්කරණය]

Compares the size of the associated allblooks category to the currently requested maximum list size. If the associated allbooks category is larger, adds the current page to ප්‍රවර්ගය:පොත:Wikibooks Stacks/Attention needed, generates a text message, and provides a button to request a larger maximum 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.