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 Asphalt Wiki 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:", "Image talk:" and so on.
other = All other spaces, such as page names that start with "User:", "Image:", "Wikipedia:" and so on.