Difference between revisions of "Help:Subpages"

From Kumu Wiki - TRU
Jump to navigation Jump to search
(Created page with "Subpages allow articles in specific namespaces of the UBC Wiki to be organized hierarchically. Subpages are created by appending the name of the sub page a...")
 
Line 1: Line 1:
Subpages allow articles in specific [[Help:Namespaces|namespaces]] of the UBC Wiki to be organized hierarchically. Subpages are created by appending the name of the sub page after the name of the parent page.  The proper syntax is:
+
Subpages allow articles in specific [[Help:Namespaces|namespaces]] of the Kumu Wiki to be organized hierarchically. Subpages are created by appending the name of the sub page after the name of the parent page.  The proper syntax is:
 
<pre>Prefix:Parent Page/Child Page</pre>
 
<pre>Prefix:Parent Page/Child Page</pre>
 
*Prefix indicates the namespace prefix and will usually be either Course:, Sandbox:, or Documentation:.  
 
*Prefix indicates the namespace prefix and will usually be either Course:, Sandbox:, or Documentation:.  
Line 12: Line 12:
 
MediaWiki, the software on which the UBC Wiki runs, automatically adds navigation links between subpages and parent pages.
 
MediaWiki, the software on which the UBC Wiki runs, automatically adds navigation links between subpages and parent pages.
  
'''''Please note''''': the [[Main Space]] of the Wiki does not allow subpages.  The [[Documentation]], [[Course]], and [[Sandbox]] namespaces, as well [[Help:User page|User pages]], do.
+
'''''Please note''''': the [[Main Space]] of the Wiki does not allow subpages.  The [[Documentation]], [[Course]], and [[Notepad]] namespaces, as well [[Help:User page|User pages]], do.
  
 
==Listing subpages==
 
==Listing subpages==
Line 25: Line 25:
  
 
[[Category:Help]]
 
[[Category:Help]]
 +
 +
 +
 +
First draft of this page derived from: http://wiki.ubc.ca/UBC_Wiki:FAQs

Revision as of 15:08, 18 September 2014

Subpages allow articles in specific namespaces of the Kumu Wiki to be organized hierarchically. Subpages are created by appending the name of the sub page after the name of the parent page. The proper syntax is:

Prefix:Parent Page/Child Page
  • Prefix indicates the namespace prefix and will usually be either Course:, Sandbox:, or Documentation:.
  • The colon after the prefix is mandatory
  • Parent page is the title of the parent page
  • The forward slash is mandatory
  • Child page is the name of the desired subpage.

To create a sub page put a forward slash '/' after the address and type in the name for that subpage:

MediaWiki, the software on which the UBC Wiki runs, automatically adds navigation links between subpages and parent pages.

Please note: the Main Space of the Wiki does not allow subpages. The Documentation, Course, and Notepad namespaces, as well User pages, do.

Listing subpages

Copy the following code and put it in the body of the top level page to list all of its subpages:

<dpl>
titlematch={{PAGENAME}}/%
namespace={{NAMESPACE}}
shownamespace=false
</dpl>


First draft of this page derived from: http://wiki.ubc.ca/UBC_Wiki:FAQs