Help:Subpage View history

Revision as of 16:16, 2 May 2014 by Kentsmith9 (talk | contribs) (More additions)

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.


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.

The primary purposes of subpages for the Waze Wiki is:

  1. To group related information that is too large to put on a single page.
  2. Isolate content that is only relevant to certain readers of the Wiki.

Subpages can be created under subpages as deeply as required.


Examples

Because the guidelines for naming roads around the world is very different, a common basepage was created for all countries with Road names. From there if an editor wants to know the recommended naming for just the United States, they select the subpage Road names/USA.

In the state of Connecticut, there are additional detailed pages that only cover information for Connecticut. For that reason subpages were created under the one state page creating:


Difference from other page types

Subpages act and can be used similarly to other page types.

Transcluded pages

Transclusion will take the content of one page and display it directly into another page. The purpose is to have a single common source of that information requiring only one place to maintain changes, but still allow the exact same information to be displayed in multiple places.

Transcluding information from other pages will increase the size of the page using the transclusion. The Waze Wiki Main Page uses a number of transcluded pages.

Templates

Templates are pages with text and/or code that reside on a different page and get transcluded into other pages. Templates are often used to allow parameters to be sent to the template so that the content can be altered as it gets transcluded into the calling page.

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.

  • Template:Tlc: A page name Magic Word that produces the current name of the highest page in the hierarchy.
  • Template:Tlc: 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 information.