Jump to content

Template:Subjects/upper bound/doc

From Wikibooks, open books for an open world

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

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.

  • {{{subject}}} — The name of the next subject.
  • {{{n}}} — The integer number after the number of the last existing numbered template in the series.
  • {{{diagnose}}} — Usually blank. If non-blank, errors should be reported by messages, with suggested remedies and buttons to enact the remedies.

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.

See also

[edit source]