Difference between revisions of "Help:Categories"

From Krafties
Jump to navigation Jump to search
m
 
(17 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
All ''pages'' that have the <code>Category:</code> namespace, are categories.  
 
All ''pages'' that have the <code>Category:</code> namespace, are categories.  
 
==Using Categories==
 
==Using Categories==
*To add a page to a category, write the link to the category: <code><nowiki>[[Category:WikiHelp]]</nowiki></code>
+
*To add a page to a category, write the category link on the page: <code><nowiki>[[Category:WikiHelp]]</nowiki></code>
 
*To create a normal [[Help:Links|link]] to a category without adding the page to said category, you need to write it like this: <code><nowiki>[[:Category:WikiHelp]]</nowiki></code>
 
*To create a normal [[Help:Links|link]] to a category without adding the page to said category, you need to write it like this: <code><nowiki>[[:Category:WikiHelp]]</nowiki></code>
  
 
===Notes===
 
===Notes===
*The ''Categories'' will '''always''' appear at the bottom of the page if done correctly, no matter where you put the Category tag when editing.  
+
*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.
 
*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?==
 
==What can be Categorized?==
Line 15: 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, just add them after the Redirect link)
  
 
==Templates with Categories==
 
==Templates with Categories==

Latest revision as of 02: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[edit]

  • 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[edit]

  • 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?[edit]

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 after the Redirect link)

Templates with Categories[edit]

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.