Vorlage:Namespace detect/Doku
Dies ist eine nachgeordnete Seite der Dokumentation von Vorlage:Namespace detect. Sie enthält Informationen zur Verwendung, Kategorisierung und zu anderem Inhalt, der nicht Bestandteil der originalen Vorlage-Seite ist. |
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.