Template:Main talk other/doc

This is the {{main talk other}} meta-template.

This template is used inside other templates that need to behave differently (usually look differently) depending on what type of page they are on. It detects and groups all the different namespaces used on Wikipedia into three types:

main = Main/article space, as in normal Wikipedia articles.
talk = Any talk space, such as page names that start with "Talk:", "User talk:", "File talk:" and so on.
other = All other spaces, such as page names that start with "User:", "File:", "Wikipedia:" and so on.

This page is also the documentation for some other templates:

  • {{main talk other flex}} – It works exactly the same, but it has some minor internal differences. Read more about that below.