Help:Subpage View history

(Created initial page)
 
(Creation continues)
Line 1: Line 1:
Subpages are used to organize and group pages of related information. It also permits large single pages to be divided into smaller, more manageable and readable pages.
Subpages are used to organize and group pages of related information. It also permits large single pages to be divided into smaller, more manageable and readable pages.


== Definitions ==
== Definitions ==
* '''/ (forward slash)''': this character separates the levels of each page.
* '''Basepage''': The top-most page that does not include any forward slash in the name.
* '''Breadcrumbs''': Navigation links at the top of a subpage automatically generated to enable users to easily return or link to parent pages.
* '''Child page''': A subpage of a higher level page. A Child page can also have one or more Child pages below it.
* '''Parent page''': A higher level page than a Child page. A Parent page can also be a Child page of an even higher level Parent page. Any subpage can only have one Parent page.
* '''Subpage''': Any page created with a forward slash (/) in the page name. Subpages can be created under other subpages just by including the forward slash to separate the names.
== Examples ==
One example subpage in use today is [[Road names/USA]] where the basepage (or parent page) is [[Road names]].




== When to use ==
== When to use ==
Typically a Wiki will have subpages disabled for the main [http://www.mediawiki.org/wiki/Help:Namespaces Namespace], but the Waze Wiki has them enabled to help organize the data.
Subpages can be created under subpages as deeply as required.




Line 26: Line 42:


== How to convert a current page ==
== How to convert a current page ==
== Examples ==




Line 35: Line 48:


== Related templates ==
== Related templates ==
 
The following templates help with subpage formatting and navigation.
* {{tlc|BASEPAGENAME}}: A [http://www.mediawiki.org/wiki/Help:Magic_words#Page_names page name Magic Word] that produces the current name of the highest page in the hierarchy.
* {{tlc|SUBPAGENAME}}: A page name Magic Word that produces the current subpage name.
* [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23titleparts <nowiki>{{#titleparts:}}</nowiki>]: A parser function enabling finer control of page names including pages between the base page and deepest subpage.


== See also ==
== See also ==


Refer to the Mediawiki page on [http://www.mediawiki.org/wiki/Subpage Subpages] for more detailed information.
Refer to the Mediawiki page on [http://www.mediawiki.org/wiki/Subpage Subpages] for more detailed information.

Revision as of 15:55, 2 May 2014

Subpages are used to organize and group pages of related information. It also permits large single pages to be divided into smaller, more manageable and readable pages.


Definitions

  • / (forward slash): this character separates the levels of each page.
  • Basepage: The top-most page that does not include any forward slash in the name.
  • Breadcrumbs: Navigation links at the top of a subpage automatically generated to enable users to easily return or link to parent pages.
  • Child page: A subpage of a higher level page. A Child page can also have one or more Child pages below it.
  • Parent page: A higher level page than a Child page. A Parent page can also be a Child page of an even higher level Parent page. Any subpage can only have one Parent page.
  • Subpage: Any page created with a forward slash (/) in the page name. Subpages can be created under other subpages just by including the forward slash to separate the names.


Examples

One example subpage in use today is Road names/USA where the basepage (or parent page) is Road names.


When to use

Typically a Wiki will have subpages disabled for the main Namespace, but the Waze Wiki has them enabled to help organize the data.


Subpages can be created under subpages as deeply as required.


Difference from other page types

Transcluded pages

Templates

Namespaces

Translated pages

How to create one

How to convert a current page

Related categories

Related templates

The following templates help with subpage formatting and navigation.

  • {{BASEPAGENAME}}: A page name Magic Word that produces the current name of the highest page in the hierarchy.
  • {{SUBPAGENAME}}: A page name Magic Word that produces the current subpage name.
  • {{#titleparts:}}: A parser function enabling finer control of page names including pages between the base page and deepest subpage.

See also

Refer to the Mediawiki page on Subpages for more detailed information.