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...")
 
 
(One intermediate revision by the same user not shown)
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 8: Line 8:
  
 
To create a sub page put a forward slash '/' after the address and type in the name for that subpage:
 
To create a sub page put a forward slash '/' after the address and type in the name for that subpage:
*For example, http://wiki.ubc.ca/Course:ABCD123/Course_Content is a subpage of http://wiki.ubc.ca/Course:ABCD123
+
*For example, http://kumu.tru.ca/Course:Law3020/2014WT1/Group_A is a subpage of http://kumu.tru.ca/Course:Law3020/2014WT1
  
 
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

Latest revision as of 14:29, 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