Introduction
This article explains what subpages are in the Knowledge Base (KB). Understanding subpages helps you organize large topics into manageable sections and create a clear hierarchical structure. By using subpages, you enhance navigation and improve the user experience.
Target Audience
- User
Understanding Subpages
Definition
A subpage is a child page linked to a parent page by using a slash (/) in the title. Subpages are useful for breaking down complex information into smaller parts. They automatically appear in the breadcrumb navigation, helping users see the page structure easily.
Characteristics of a Subpage
- Syntax-based: A subpage uses a slash in the page title (e.g., parent-page/subpage).
- Navigation: Subpages improve breadcrumb navigation.
- Hierarchy: They help build "strongly associated" page structures.
- Language Versions: Subpages can organize translations of a page.
How It Works
To create a subpage, simply append the subpage name to the parent page title using a slash. The parent page does not need to exist before creating the subpage.
Examples:
- Installation Guide/System Preparation
- Installation Guide/System Preparation/Windows
- Installation Guide/System Preparation Windows/IIS
Reasons for Using Subpages
- Creating Modular Pages: Large topics can be split into specific detailed pages for better linking and management.
- Managing Meeting Minutes: Example: Project A/Minutes/2022-12-02.
- Template-Based Content: Standardized content structure using templates and subpages.
- Translation Management: Different language versions stored as subpages (e.g., German version of an English page).
- Documenting Templates: Detailed documentation for complex templates stored as subpages.
Creating a List of Subpages
To display the subpages of the current page, add the following tag in the page source:
Special:PrefixIndex/{{FULLPAGENAME}}/
Example: To show subpages for the page Edit articles, use:
Special:PrefixIndex/Edit articles/ |hideredirects=1 |stripprefix=1
The list appears in a multi-column layout once the page is saved. For more flexibility, you can also use the Subpage tag.
Conclusion
Subpages are a powerful way to organize content in the Knowledge Base. They allow you to manage complex topics, create modular documentation, and improve navigation for users. Learning to use subpages effectively will help keep your KB clear and user-friendly.
