Template:Subjects/leaf2/doc
This is a documentation subpage for Template:Subjects/leaf2 It may contain usage information, categories and other content that is not part of the original template page. |
This template does exploratory checks on a category to which the page has been added, for future use of allbook scategories; and if any such problems are detected, adds the page to Category:Attention needed (allbooks).
Usage
editThe first parameter, {{{1}}}, is the name of the category the page has been added to. The second parameter, {{{2}}}, is the transcluded content of the subject page with the same name as the category. Three checks are performed:
- Does the subject page exist? If it doesn't, the value of {{{2}}} will be unparsable.
- Is the subject page formatted correctly for extracting parameters from it? If so, the value of {{{2}}} will be parsable.
- Does the subject page associate itself with the category? This can be determined if the value of {{{2}}} is parsable.