Template:Template other/doc

This is the template other meta-template.

It helps other templates detect what type of page they are on.

Basic usage
This template usually takes two parameters, like this:

If the template is on a template page, it will return this:



If the template is on any other page, it will return this:



A typical usage case could be to make it so that a template only adds a category when not on a template page. Thus not adding the template itself and other templates that are built with it to the category. Like this:

Note that in the example above the "template" parameter was left empty.

Advanced usage
This template works like main talk other, see full documentation there. Note that it detects "Template talk:" pages as type other. The test parameter demospace for this template understands the values template and other.