Help:Namespaces: Difference between revisions

m
no edit summary
(Created page with "{{shortcut|1|H:NAME}} Pages on Bulbapedia are grouped into collections called “'''namespaces'''” which differentiate between the purpose of the pages at a high level. Page...")
 
mNo edit summary
Line 2: Line 2:
Pages on Bulbapedia are grouped into collections called “'''namespaces'''” which differentiate between the purpose of the pages at a high level. Pages in certain namespaces can also have special properties or behave differently when they interact with other pages.
Pages on Bulbapedia are grouped into collections called “'''namespaces'''” which differentiate between the purpose of the pages at a high level. Pages in certain namespaces can also have special properties or behave differently when they interact with other pages.


Namespaces are indicated in page titles by prefixing the page name with <code><nowiki><namespace>:</nowiki></code>, so the prefix <code>Help:</code></tvar> in this page's title (<code>{{FULLPAGENAME}}</code>) indicates that this page is in the <code>{{NAMESPACE}}</code> namespace. Each namespace is identified by a number and a name, which can also have some aliases.
Namespaces are indicated in page titles by prefixing the page name with <code><nowiki><namespace>:</nowiki></code>, so the prefix <code>Help:</code> in this page's title (<code>{{FULLPAGENAME}}</code>) indicates that this page is in the <code>{{NAMESPACE}}</code> namespace. Each namespace is identified by a number and a name, which can also have some aliases.


A page whose name is ''not'' prefixed by a namespace lies in the mainspace. Note, however, that colons and prefixes can also appear in page titles ''without'' indicating a namespace: the page <code>Foo:{{PAGENAME}}</code> is a page located in the mainspace because the namespace “Foo” does not exist. Similarly the page <code>{{NAMESPACE}}:Foo:{{PAGENAME}}</code> is in the “{{NAMESPACE}}” namespace.
A page whose name is ''not'' prefixed by a namespace lies in the mainspace. Note, however, that colons and prefixes can also appear in page titles ''without'' indicating a namespace: the page <code>Foo:{{PAGENAME}}</code> is a page located in the mainspace because the namespace “Foo” does not exist. Similarly the page <code>{{NAMESPACE}}:Foo:{{PAGENAME}}</code> is in the “{{NAMESPACE}}” namespace.