The following documentation is located at Template:Scriptt/doc. [edit]

This template is added to all script code templates. It displays all available information (in subtemplates), adds them to the appropriate category, and also adds them to a cleanup category is something is wrong with the template or its subtemplates (such as when one is missing).

This template itself has two parameters:

  • 1= - Provides the sort key for the template. Defaults to {{PAGENAME}}.
  • nocat=1 - Don't show the main category page for this code. This is mostly useful for 'special' codes that don't have a category.

The template also shows the documentation located in the /doc subpage of the code template, where available, so you don't have to add {{documentation}} separately.