When you create a page with double colons (
::) as a separator in the page name, you are using a namespace to define parent and child pages. Sub-namespaces are created by adding more than one
:: separator to the page name. Each namespace or sub-namespace can have as many child pages under it as you like (within the resource limits of your hardware). The full path to each page is displayed in the banner with links to its namespace and sub-namespace(s) in the title.
For example, let's say you have these pages:
- [[Recipes::Desserts]]
- [[Recipes::Desserts::Cakes]]
- [[Recipes::Main dishes]]
- [[Recipes::Side dishes]]
- [[Recipes::Soups]]
Recipes:: is a namespace.
Desserts:: is a sub-namespace of the
Recipes:: namespace.
Cakes:: is a sub-namespace of the
Desserts:: sub-namespace.
If you open the
[[Recipes::Desserts::Cakes]] page, the title contains links to
Recipes and
Desserts. The
Recipes link opens a page listing all pages in the
Recipes:: namespace, and the
Desserts link opens a page listing all pages in the
Desserts:: sub-namespace.
All pages in any namespace can be given a custom sub-menu by creating a
Menu page inside the namespace. A sub-menu will be temporarily added to the main menu when any pages belonging to that page's namespace are opened. You can determine what goes into the sub-menu by editing the page with
::Menu in its name. The sub-menu will vanish as soon as you navigate away from its namespace.
For example, if you create the
[[Recipes::Menu]] page with
My favorite recipes! as its content, then whenever you open a page in the
Recipes:: namespace, a sub-menu will appear with
My favorite recipes! in it.
Some namespaces are reserved by the wiki for its own internal use or for specific use by the user:
- File:: for embedded files
- Image:: for embedded images
- Include:: for transclusion
- Javascript:: for direct JavaScript execution
- Lock:: used internally for encrypted pages
- Locked:: for encrypted pages
- ::Menu for sub-menus
- Special:: for all the special pages
- Tagged:: for all the tagged pages
- Tags:: for tagging pages
- Unlock:: used internally for encrypted pages
- Unlocked:: for plain (unencrypted) pages
- WoaS:: for the bootscript page, for Help pop-up pages, and reserved for future use