සැකිල්ල:පොත් රාක්කය:ප්රවර්ගය
<{{පොත් රාක්කය:ප්රවර්ගය}} called, but this page isn't a category>
භාවිතය
[සංස්කරණය]This template should be placed on each shelf category page; it categorizes the shelf category and displays an appropriate category header, using information provided by the corresponding shelf page.
A shelf page Shelf:name
has corresponding category Category:Shelf:name
. If this template is used on a page whose name is not of the correct form, or if the corresponding shelf page does not exist or isn't correctly formatted, this template generates an error message. If the first unnamed parameter is ping
, this template returns Shelf:Category
.
අභ්යන්තර ක්රියාකාරීත්වය
[සංස්කරණය]Template {{Shelf:Category}} itself only checks for ping
, verifies the transcluding page name is of the correct form and deduces the name of the shelf, and passes the shelf name for further processing to template {{සැකිල්ල:පොත් රාක්කය:ප්රවර්ගය/display}}.
ආශ්රිත
[සංස්කරණය]- {{Shelf:Allbooks category}}
- {{Shelf:Page}}
- {{Department:Category}}