Template:Namespace detect/doc
From Zoophilia Wiki
Jump to navigationJump to search
This is a documentation subpage for Template:Namespace detect. It may contain usage information, categories and other content that is not part of the original template page. |
This is the {{namespace detect}} meta-template.
It helps other templates detect what type of page they are on.
It detects and groups all the different namespaces used on Wikipedia into several 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.
- user, wikipedia, image, mediawiki, template, help, category and portal = The other namespaces except the talk pages.
- other = Any other namespaces that was not specified as a parameter to the template. See explanation below.
Usage
See also
- {{main other}} – Simple one for article templates.
- {{talk other}} – Simple one for talk page templates.
- {{image other}} – Simple one for image templates.
- {{category other}} – Simple one for category templates.
- {{main talk other}} – Separates some namespaces.
- {{main talk category other}} – Separates some more namespaces.
- Wikipedia:Namespace – Lists all the namespaces.
- Help:Magic words – About
{{NAMESPACE}}
etc. - meta:Help:ParserFunctions – About
{{#ifeq:|||}}
etc.