Template:Template doc/doc

This template displays a "Template documentation" box just like you are seeing now.

Usage

 * 1) Add   to the main template.
 * 2) Click the "edit" link, which points to the /doc subpage, and write documentation there.
 * 3) Add categories and interwiki links to the /doc subpage inside.

Limitation
A pipe character in the documentation page which is not inside double or triple braces or double brackets disturbs proper functioning of this template, because the content of that page is assigned to a template parameter. Use &amp;#124; instead.