සැකිල්ල:අංශය:Allbooks category
භාවිතය
[සංස්කරණය]Use this template on the allbooks category page of a department of the විකිපොත් ගබඩාව; everything on the allbooks category page other than the template call should be noinclude
d.
An allbooks category is associated with a department category, Category:Department:department
, and is automatically populated with all books that belong to any descendant shelf of that department. The name of the allbooks category is formed by appending suffix "/all books" to the name of the department category, thus Category:Department:department/all books
.
This template, when performing its full function, checks to make sure various associated pages are set up correctly, and generates the appropriate content for the allbooks category page. If unnamed parameter 1
is non-blank, or the template is called from a non-category page, or the transcluding page does not have prefix Department:
, the template returns the pagename of the template itself, අංශය:Allbooks category
.
If this template finds a problem with associated pages, it displays a notice explaining the problem and suggesting how to fix it, with buttons to perform likely remedial actions.
අභ්යන්තර ක්රියාකාරීත්වය
[සංස්කරණය]This template itself determines which sort of information request is being made, and either provides information directly, or delegates the display function to {{අංශය:Allbooks category/display}}.