Help:Subpages: Difference between revisions
Created page with "'''Subpages''' introduce some hierarchical organization into wiki pages, with levels of the hierarchy separated by slashes (<code>/</code>). === Where it works === By default..." |
Rebranding tutorial headers as demo headers. |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{tutorialNav}} | |||
'''Subpages''' introduce some hierarchical organization into wiki pages, with levels of the hierarchy separated by slashes (<code>/</code>). | '''Subpages''' introduce some hierarchical organization into wiki pages, with levels of the hierarchy separated by slashes (<code>/</code>). | ||
Latest revision as of 18:55, 7 February 2019
Part of a series of tutorials for the Refuge Wiki | |||||||||||||||||||
Tutorial Navigation
| |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Demo Pages
| |||||||||||||||||||
Subpages introduce some hierarchical organization into wiki pages, with levels of the hierarchy separated by slashes (/
).
Where it works
By default, MediaWiki's subpage feature is turned off in the main namespace, but can be used on talk pages and user pages. See Help:Namespaces. In namespaces where the feature is switched off, any slashes (/) within a page name are simply part of the page name and do nothing special.
How it works
Slashes (/) within a page name break the page into parent and subpages, recursively, e.g.:
- Help:Subpages - this page
- Help:Subpages/subpage - child page
- Help:Subpages/subpage/sub-subpage - grandchild page
Note that the part of page names after a slash is case sensitive including the first letter.
In subpages, a link back to antecedent pages will automatically appear at the top. These links do not appear, however, if the antecedent pages have not yet been created.
Use of subpages
There are various uses for the subpage feature. Some of the typical usages of subpages are:
- to create archives of old discussions under a talk page
- to create scratchpad editing spaces under a user page
Subpages are useful for organising information hierarchically. On the other hand, subpages tend to have a long name that is hard to remember, so it may be more user-friendly to use them as little as possible. You can also organize pages with the category feature, which is more suitable for creating a hierarchical network of information. Note that the admin of Refuge Wiki hates subpages with a passion and will only allow them to be used in user and talk pages.