
Organize Wiki Categories Subcategories Tree
Learn how to create and organize categories, subcategories, and display them using category trees on your wiki. Discover tips for maintaining a clean structure for better search and navigation.
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
Organizing our Wiki with Categories How to create categories, subcategories, and display them with <categorytree>
Categories, Subcategories and Pages Categories are like folders that group related topics. Subcategories are smaller folders inside a category. They help narrow down topics further. Pages are the actual documents or articles with the information you need. These are where instructions, guides, or explanations are written. In the example on the right there are 2 top level categories (IT and Processes and SOPs) with their subcategories and pages. Categories and Subcategories are indicated by the triangle sign and are collapsible. I m working on indicating pages with a circle (or bullet point).
How to create a category There are 2 ways of creating a category. By opening the url of a category that does not exist yet (https://mediawiki.serrula- research.co.uk/index.php/Category:New-Category) and clicking on Create
By adding a category that does not yet exist from either the inbuilt editor or the Visual Editor 1. If using the default editor ( Edit source ) add this code at the bottom: [[Category:CategoryName]] 2. From the Visual Editor ( Edit ) select Categories from the menu and add one. The new category will show in red at the bottom of the page (this means it does not exist yet). Click on it to create it.
Create Subcategories Let s say we have a category called New Category and we want to add a subcategory called Sub1 to it. All we need to do is create Sub1 and add the parent New Category category to it. This will make Sub1 a subcategory of New Category
Display the Tree with <categorytree> To show a collapsible category tree use this code is the default editor ( Edit source ): <categorytree mode="all" depth=0>ROOT</categorytree> Replace ROOT' with your top-level category name. For example this code: <categorytree mode="all" depth=0>Sampling</categorytree> Will show This code instead: <categorytree mode="all" depth=0>Data Sources</categorytree> Will show
Tips for a Clean Wiki Structure - Use broad categories (e.g., IT, SOPs) - Subdivide with subcategories (e.g., Python, Troubleshooting) - Group related pages for easier browsing - Consistent naming helps search and navigation