Template:Doc/doc

This template is used to transclude a template's documentation from its /doc subpage onto the template page itself. Usually, it is located at the bottom of the template code and wrapped in  tags:

Usage
Source page of the documentation, without the /doc suffix. Defaults to the page name, so it can almost always be omitted.
 * First unnamed parameter

Set this parameter if the documentation seems outdated or insufficient.
 * baddoc