Template:Main talk category other/doc

From The Sonic Eats Rings Museum
< Template:Main talk category other
Revision as of 11:05, 7 November 2008 by SoNick (talk | contribs) (New page: {{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> __NOTOC__ This is the {{tl|main talk category other}} template. It helps other templates...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:Main talk category other (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

This is the {{main talk category other}} template.

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

Basic usage[edit]

This template usually takes four parameters, like this:

{{main talk category other|Article text|Talk text|Category text|Other text}}

If the template is on for instance any kind of talk page, it will return this:

Talk text

If the template is on a page that is not an article (main space), talk page or category page, then it will return this:

Other text

Some of the parameters can be left empty and the template will then not return anything if it is on that kind of page.

Advanced usage[edit]

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

See also[edit]