Difference between revisions of "Help:Categories"

From Krafties
Jump to navigation Jump to search
Line 17: Line 17:
 
:*'''Categories''' (for further sorting)
 
:*'''Categories''' (for further sorting)
 
:*'''Media Files''' (they have <code>File:</code> as namespace)
 
:*'''Media Files''' (they have <code>File:</code> as namespace)
:*'''Redirects''' (useful for getting certain things to appear on the Category page list)
+
:*'''Redirects''' (useful for getting certain things to appear on the Category page list, just add them before the Redirect link)
  
 
==Templates with Categories==
 
==Templates with Categories==

Revision as of 01:30, 22 August 2014

Our Wiki Help Pages
General Mediawiki Helpguides
Categories are important and useful for organizing pages.

All pages that have the Category: namespace, are categories.

Using Categories

  • To add a page to a category, write the category link on the page: [[Category:WikiHelp]]
  • To create a normal link to a category without adding the page to said category, you need to write it like this: [[:Category:WikiHelp]]

Notes

  • The Categories will always appear at the bottom of the page when viewed if done correctly, no matter where you put the Category tag when editing.
  • This is why it is best to add categories in the first line, so they are easily found when editing.
  • Even if a category has not been created, items can be put into it (the link will just appear red).
  • Categories are groups and can be used to link together related groups (Categories in Categories) and some are in multiple ones.

What can be Categorized?

Everything can be put into a category, such as

  • Pages
  • Categories (for further sorting)
  • Media Files (they have File: as namespace)
  • Redirects (useful for getting certain things to appear on the Category page list, just add them before the Redirect link)

Templates with Categories

Some templates have been made so it will add the page using it into the same category.

  • There will be a note on the template page itself, telling you what the template is made to do, such as if it will add the page to a category.
  • An example can be made of this help page, by using the {{WikiHelp}} template, the page has been organized into the WikiHelp Category.