Template:Subjects/upper bound/doc

This is the terminating element of the series of integer-named sub-templates of template subjects.

Usage
Although this template is called using the usual numbered-template interface (the calling numbered template doesn't know whether it's calling another numbered template, or this one), only three of the parameters are ever used here. This template adds the current page to the allbooks category associated with the subject, and to Category:Attention needed (allbooks), the attention needed being the creation of another numbered sub-template, numbered {{{n}}}. If {{{diagnose}}} is non-blank, a message is generated explaining what needs to be done and providing a button to do it.
 * {{{subject}}} &mdash; The name of the next subject.
 * {{{n}}} &mdash; The integer number after the number of the last existing numbered template in the series.
 * {{{diagnose}}} &mdash; Usually blank. If non-blank, errors should be reported by messages, with suggested remedies and buttons to enact the remedies.