සැකිල්ල:Allbooks category/parent/doc
Jump to navigation
Jump to search
![]() |
This is a documentation subpage for සැකිල්ල:Allbooks category/parent (see that page for the සැකිල්ල itself). It contains usage information, categories, and other content that are not part of the original සැකිල්ල page. |
This template attempts to include this allbooks category in one of its parents.
Usage[සංස්කරණය]
{{Allbooks category/parent|parent=
<parent>|subject=
<subject>}}
where <subject> is the name of the subject page associated with this allbooks category (thus, Subject:
<subject>), and <parent> is a parent name provided by that subject page (thus, it is the value of a parameter {{{{parent}}} or {{{parent2}}} passed to a call to {{Subject page}} on page Subject:
<subject>).
This template then checks that the parent subject page exists (Subject:
<parent>) and is correctly formatted for automatic extraction of parameter values, and that its associated allbooks category exists; if not, it calls {{Allbooks category/error}}. If all is well, it adds this allbooks category to the parent's allbooks category.