Help:SubpagesEdit This Page

From FamilySearch Wiki

(Difference between revisions)
(update link)
m (Removed duplicate template)
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{PD Help Page}}
+
{{Help article}} 
{{Help article}}
+
<br>
+
  
 
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>).  
Line 13: Line 11:
 
Slashes (/) within a page name break the page into parent and subpages, recursively, e.g.:  
 
Slashes (/) within a page name break the page into parent and subpages, recursively, e.g.:  
  
*[[Subpages]] - this page  
+
*Subpages - this page  
*[[Help:Subpages/subpage]] - child page  
+
*Help:Subpages/subpage - child page  
*[[Help:Subpages/subpage/sub-subpage]] - grandchild 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.  
 
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.  
+
In subpages, a link back to previous pages will automatically appear at the top. These links do not appear, however, if the previous pages have not yet been created.  
  
 +
<br>
 +
 +
===Subpages/subpage===
 +
 +
This is an example of a subpage of Help:Subpages.
 +
 +
*Help:Subpages – parent page
 +
*Help:Subpages/subpage – this page
 +
*Help:Subpages/subpage/sub-subpage – child page
 +
 +
<br>
 +
 +
When the parent page actually exists, a link to the parent page automatically appears under the page name header at the top unless the subpage feature is turned off.
 +
 +
 +
===Subpages/subpage/sub-subpage ===
 +
 +
This is an example of a sub-subpage of Help:Subpage.
  
{{Contributor Help badge}}
+
*Help:Subpages|Help:Subpages – grandparent page
 +
*Help:Subpages/subpage|Help:Subpages/subpage – parent page
 +
*Help:Subpages/subpage/sub-subpage – this page
  
 +
When the antecedent pages actually exist, the links to antecedent pages automatically appear under the page name header at the top, creating a breadcrumb, unless the subpage feature is turned off.
  
 
=== Use of subpages  ===
 
=== Use of subpages  ===
 +
 +
{{Contributor Help badge
 +
| link = https://familysearch.org/ask/
 +
| name = Get Help}}
  
 
There are various uses for the subpage feature. Some of the typical usages of subpages are:  
 
There are various uses for the subpage feature. Some of the typical usages of subpages are:  
Line 33: Line 56:
 
*to create other language versions of a document in multilingual wikis
 
*to create other language versions of a document in multilingual wikis
  
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 [[Help:Categorization|category]] feature, which is more suitable for creating a hierarchical network of information.  
+
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 [[Help:Categorization|category]] feature, which is more suitable for creating a hierarchical network of information.  
  
{{Admin tip|tip=You can specify the namespaces to have the subpage feature enabled with {{mediawiki|Manual:$wgNamespacesWithSubpages|$wgNamespacesWithSubpages}} array.}}  
+
{{Admin tip|tip=You can specify the namespaces to have the subpage feature enabled with {{mediawiki|Manual:$wgNamespacesWithSubpages|$wgNamespacesWithSubpages}} array.}}
  
== See also  ==
+
== See also<br> ==
  
*[[Meta:Help:Link#Subpage_feature]]
 
 
*[[Help:Variables#Page_names]]
 
*[[Help:Variables#Page_names]]
  
{{Contributor help-navbox}} {{Editing help}}
+
{{Contributor help-navbox}} {{Editing help}}  
 +
 
 +
{{H-langs|en=Help:Subpages|es=Ayuda:Subpáginas}}
 +
 
 +
 
  
[[Category:Help|{{PAGENAME}}]] [[Category:Subpage|{{PAGENAME}}]]
+
[[Category:Help]]

Latest revision as of 18:54, 2 October 2014

Help-content.png This help article will guide you as you edit in the Wiki. See Contributor Help for more help articles.

 

Subpages introduce some hierarchical organization into wiki pages, with levels of the hierarchy separated by slashes (/).

Contents

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.:

  • 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 previous pages will automatically appear at the top. These links do not appear, however, if the previous pages have not yet been created.


Subpages/subpage

This is an example of a subpage of Help:Subpages.

  • Help:Subpages – parent page
  • Help:Subpages/subpage – this page
  • Help:Subpages/subpage/sub-subpage – child page


When the parent page actually exists, a link to the parent page automatically appears under the page name header at the top unless the subpage feature is turned off.


Subpages/subpage/sub-subpage

This is an example of a sub-subpage of Help:Subpage.

  • Help:Subpages|Help:Subpages – grandparent page
  • Help:Subpages/subpage|Help:Subpages/subpage – parent page
  • Help:Subpages/subpage/sub-subpage – this page

When the antecedent pages actually exist, the links to antecedent pages automatically appear under the page name header at the top, creating a breadcrumb, unless the subpage feature is turned off.

Use of subpages

Help-content.png Questions?
Visit the Get Help to receive help with contributing to the Wiki.


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
  • 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.

Tools.png Tip for wiki admins: You can specify the namespaces to have the subpage feature enabled with $wgNamespacesWithSubpages array.

See also


  • This page was last modified on 2 October 2014, at 18:54.
  • This page has been accessed 4,024 times.