Community Central
Community Central

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

Where it works[]

By default, MediaWiki's subpage feature works on every page in every namespace. Older wikis, including Gampedia wikis, may experience a bug where it only works on pages in the User or Talk namespace; if this is the case, you can contact Fandom Staff and they will update the wiki.

How it works[]

Slashes (/) within a page name break the page into parent and subpages, e.g.:

  • Subpages – this page
  • Subpages/subpage – child page
  • Subpages/subpage/subpage – grandchild page
  • Subpages/subpage/subpage/subpage – great-grandchild page
  • Subpages/subpage/subpage/subpage/subpage – great-great-grandchild page

You can link directly to any page's subpage using the normal double square brackets notation, by providing the full name – including the slash(es) and the individual subpage name(s). You can also link a page to one of its own subpages by simply leaving off the page name; for example, [[/Example]] would lead to a subpage called "Example" of whatever page you put it on.

Note: The part of page names after a slash is case-sensitive including the first letter.

Use of subpages[]

There are various uses for the subpage feature. Some of the typical usages of subpages are:

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 category feature, which is more suitable for creating a hierarchical network of information.

Displaying subpages[]

Subpages can be listed using Special:PrefixIndex. This special page can also be transcluded on a page. For example, this code lists all subpages of Help:Infoboxes:
{{Special:PrefixIndex/Help:Infoboxes}}
Result:

To show only the subpages but not the parent page, include the slash in the prefix:
{{Special:PrefixIndex/Help:Infoboxes/}}

To also strip the prefix from the result, and hide redirects, something like this can be used:
{{Special:PrefixIndex/Help:Infoboxes/|stripprefix=1|hideredirects=1}}
Result:


There is also the MediaWiki extension SubPageList, however this is not activated on Fandom wikis by default.

See also[]