How To Use Subpages: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
(Support for subpages has been turned on for all namespaces)
 
imported>Arkalor
(moved How To Use Subpages to Help:Subpages: Moving to the Help namespace)
 
Line 1: Line 1:
{{Related|Help:Contents{{!}}Help Index}}
#REDIRECT [[Help:Subpages]]
 
'''Subpages''' introduce some hierarchical organization into wiki pages, with levels of the hierarchy separated by slashes (<code>/</code>).
 
=== 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. 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. On ACCWiki subpages are turned on for all namespaces.
 
=== How it works ===
Slashes (/) within a page name break the page into parent and subpages, recursively, e.g.:
 
* [[How To Use Subpages]] - this page
* [[How To Use Subpages/subpage]] - child page
* [[How To Use 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 organize content that would be too big for a single page, especially when the sections will receive many small edits.
* To create archives of old discussions under a talk page.
* To create scratchpad editing spaces under a user page.
* To create other language versions of a document in multilingual wikis.
 
Subpages are useful for organizing 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. Use your judgment to decide which is best for a particular set of pages.
 
== See also ==
* [http://www.mediawiki.org/wiki/Manual:$wgNamespacesWithSubpages $wgNamespacesWithSubpages]
* [[Special:PrefixIndex]] &ndash; Provides a list of subpages.
 
[[Category:Help]]

Latest revision as of 18:49, 8 April 2014

Redirect to: