Template:Wb/syl/Namespace detect/doc

From Wikimedia Incubator

Template:Wb/syl/High risk

This is the {{Wb/syl/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 Wikibooks into several types:

main = Main/book space, as in normal Wikibooks pages.
talk = Any discussion page, such as page names that start with "Talk:", "User talk:", "File talk:" and so on.
user, wikibooks, subject, file, mediawiki, template, help, category, transwiki, wikijunior, and cookbook = The other namespaces except the discussion pages.
other = Any namespaces that were not specified as a parameter to the template. See explanation below.

For backwards compatibility this template also understands the old name image for file. But using image is now deprecated.

Note! For most usage cases it might be better to use the simpler namespace detection templates. (See the see also section below.) Since this template is more prone to human errors such as misspelling the parameter names.