Help:Subpages

From Fanlore
Jump to: navigation, search

Subpages introduce some hierarchical organisation into wiki page names, with levels of the hierarchy separated by slashes (/).

Contents

How subpages work

Slashes within a page name break the page into parent and subpages recursively, i.e.:

Example page
Example page/A sub-page
Example page/A sub-page/A sub-sub-page

The wiki software interprets the slash in the title as the demarcation between the subpage and its parent.

How to create a subpage

Subpages are created like any other page. Start by typing the full title of the subpage you intend to create into the search box and hit Go. For example, just as you would type in Sesame Street to create a page about Sesame Street, type in Sesame Street/Big Bird to create a subpage of Sesame Street about Big Bird.

Then, simply add content as you would on any other page. A breadcrumb back to the parent page will automatically appear. There is no code you need to add for this.

At present, we have yet to determine how we will categorise subpages, so for the time being please do not include any category on subpages you create.

A link back to parent will automatically appear at the top of each subpage. In the case of sub-sub-pages, a set of breadcrumb navigation links will automatically be presented. However, these links will not appear if the parent page has not yet been created.

How to display a list of subpages

To show a list of subpages on a parent page, use the listsubpages template.

There is currently no template to display a list of sibling subpages on the subpages themselves. However, you can customize the following wiki code:

<splist
 parent=
 showparent=no
 sort=asc
 sortby=title
 liststyle=bar
 showpath=notparent
 kidsonly=no
 debug=0
/>

Specify the parent name, substituting spaces with underscores (_). Like this: Enterprise_Log_Entries

When and Why Subpages are used

Subpages are a way to organise content hierarchically without using categories.

Subpages on Fanlore dig deeper into or expand on the content of the parent page. This may include:

  • Details about long-running conventions, awards, and zines may be put on subpages if the main page becomes too large. For example, see S and H.
  • Oral Histories and Primary Sources - Where there is no source to cite back to but the oral history of someone involved, Fanlore may be used as an archive of the person's experience of the historical event. See the subpages of Fanlore Live, Reminisce With Me.

Note: Previous policy was to put Character, Pairing, and fandom-specific list pages in subpages of the main fandom page. These pages have now been moved to top-level pages. See Fanlore:Fandom as a Category.

Personal tools
Namespaces

Variants
Actions
Fanlore
Browse Categories
Help
Shortcuts for Editors
Toolbox