Difference between revisions of "Help:Categories"

From Krafties
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
{{WikiHelp}}
 
{{WikiHelp}}
 
:'''Categories''' are important and useful for organizing pages.
 
:'''Categories''' are important and useful for organizing pages.
All links that have the <code>Category:</code> namespace, are categories.  
+
All ''pages'' that have the <code>Category:</code> namespace, are categories.
 +
==Using Categories==
 +
*To add a page to a category, write the link to the category: <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===
 +
*The ''Categories'' will '''always''' appear at the bottom of the page 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.
  
 
==What can be Categorized?==
 
==What can be Categorized?==
Everything can be put into a category
+
Everything can be put into a category, such as
*'''Pages'''
+
:*'''Pages'''
*'''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)
 
 
==Using Categories==
 
:*To add a page to a category, you simply add it's link on the page
 
:*When viewing the page, the Category will '''always''' appear at the bottom, no matter where you put the link when editing.
 
:::''Example: When editing this page, the category link is in the first line. But when viewing the category link appears on the bottom.
 
:*''When adding '''multiple categories''', each needs to be a separate link
 
:::They will automatically arrange the links '''alphabetically''' when viewed.
 
:*For clean setup, I recommend to '''always''' put the category link in the first line, for easy location when editing.
 
  
 
==Templates with Categories==
 
==Templates with Categories==

Revision as of 05:46, 14 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 link to the category: [[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 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.

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)

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.