Difference between revisions of "Rules for Categories"

From GhostBSD Wiki
Jump to: navigation, search
(Created page with "{{welcome}} {{Navbar Wiki Contributor Page}} ==Introduction== Categories, a software feature of MediaWiki, provide automatic indexes that are useful as tables of contents. <...")
 
(Usage)
Line 15: Line 15:
 
The category pages themselves contain 2 parts:
 
The category pages themselves contain 2 parts:
  
    * at their beginning, an optional part may contain text that can be edited, like any other page,
+
* at their beginning, an optional part may contain text that can be edited, like any other page,
    * at their end, an ever present, automatically generated, alphabetical list of all pages in that category, in the form of links. In fact, in the Unicode sort order.
+
* at their end, an ever present, automatically generated, alphabetical list of all pages in that category, in the form of links. In fact, in the Unicode sort order.
  
 
==Managing the category hierarchy==
 
==Managing the category hierarchy==

Revision as of 04:46, 5 February 2020

Welcome to Icon Disti GhostBSD.png Rules for Categories.
Wiki Contributor Page
Rules for Design Rules for Content
Rules for Maintenance Special Pages
Rules for Templates Rules for Navbars
Rules for Categories Rules for Translation
Syntax To Do Page
Back to Icon Disti GhostBSD.pngContribution

Introduction

Categories, a software feature of MediaWiki, provide automatic indexes that are useful as tables of contents.
The “Category” namespace contains categories, dynamic lists of other pages. To facilitate this, linking directly to a category page does not output an inline link, but instead includes the page into the associated category page. So the code [[Category:Foo]] causes a category link to appear at the bottom of the page (at the bottom in the box marked “Categories”). Clicking on that link takes you to the category page, where this page is visible in the category list.

To create an inline link to a category page, you need to add a colon to the front of the namespace: [[:Category:Foo]] produces Category:Foo.


Usage

Each of the pages in the Category namespace represents a so-called category, a grouping of related pages, and contains an index for the pages of its category. When a page belongs to one or more categories, these categories appear at the bottom of the page.

The category pages themselves contain 2 parts:

  • at their beginning, an optional part may contain text that can be edited, like any other page,
  • at their end, an ever present, automatically generated, alphabetical list of all pages in that category, in the form of links. In fact, in the Unicode sort order.

Managing the category hierarchy

Categories may belong to other categories in a hierarchy. Since category pages are much like any other page, a Category tag may be added to the bottom of a category page.

It is a good idea to organize all categories into a hierarchy with a single top level category. The category structure can take the form of a tree with separate branches, but more often will have a graph structure. Generally, there should be a contiguous chain of parent-child links between each category and the top level category.

Rule for this Wiki

We know, that the following rules are not full applied yet. But we work on it.

Some category names refer to Erics naming for Software Station and Update Station. These again seems to be related to train stations.

  1. The top level Category is connected to the Main Page should also be named as Category:Main Station
  2. The second or/and third level should be named Central Station<code>. It depends on if there are related sub-pages and a navbar is in use.
  3. The next level for application lists is chosen: Category:Station
  4. Other categories are more related to the special tasks.
  5. All categories should be connected in this way.
  6. All pages, templates, images, categories should be marked with category names and connected to get a hierarchy.