Help: Categories: Difference between revisions

From A Wiki of Ice and Fire
Jump to: navigation, search
Mordin999 (talk | contribs)
m link
8dave (talk | contribs)
mNo edit summary
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
Categories are used to group pages with similar content, thereby making it easier to connect the information gathered in the wiki. The Categories links shown at the bottom of the page. <br>For example at the bottom of this page you'll see a link that says Category:Help. If you click on that, you'll get a list of all Help pages available on our wiki.
Categories are one of the ways we organize the articles on the site so that our readers and editors can find pages with similar content quickly. The category system we use is hierarchical, with [[:Category:Main]] on the top. Articles are placed in the best category possible, and occasionally multiple categories if the circumstances call for it. See the [[Help:Categories Overview|category hierarchy]] to see how they are organized.


* Each page and each image should be labelled with at least one subcategory or one overall category.
==How to use Categories==
* See [[Help:Categories Overview|Categories Overview]] for an Overview ans structure of the Categories used on this wiki.
To place an article in a category, you simply add a link to the category on the bottom of the page you are editing, for exmaple:
* You can find a list of special pages that will help us achieve that goal on the [[AWOIAF:Jobs|Helping out]] section of the [[A_Wiki_of_Ice_and_Fire:Community_portal|Community Portal]].
* Note, That many of the [[Help:Templates|Templates]] used in the wiki automatically tag a page with the appropriate category.


<code><nowiki>[[Category:Help]]</nowiki></code>


==Adding to Categories==
would add the page to a category named "Help", which is exactly what we have done on this page, you can see that at the bottom of the page a link to the help category has been added. Any number of category tags may be added to the page, it will be listed in all of them. (see [[Help:Categories Overview|Categories Overview]] for a list of existing categories).  
To add an article to a category simply put the following at the end of the page you are editing...


<code><nowiki>[[Category:{Name}]]</nowiki></code>
Note:
* Each page and each image should be labelled with at least one subcategory or one overall category.
* Many of the [[Help:Templates|Templates]] used in the wiki automatically tag a page with the appropriate category.


where {Name} is the name of the category you want to add it to.(see [[Help:Categories Overview|Categories Overview]] for a list of existing categories). Any number of category tags may be added to the page - the page will be listed in all of them.


==Advanced Options==
==Sort order in the Categories==
Additional You can specify a {Sort} parameter that dictates where the page will appear, alphabetically, within the category. This is achieved by using the following markup:
Normally the page added to the category will be listed according to their page name. However, you can specify a "sortkey" that will dictate where the page will appear, alphabetically, within the category. This is achieved by using adding a second option in addition to the Category name from before, for example to add this page under 'C' for '''C'''ategory, rather than 'H' for '''H'''elp:Categories you would use:
 
<code><nowiki>[[Category:{Name}|{Sort}]]</nowiki></code>
 
So for example, to add this page to the 'Help' category, you would use:


  <code><nowiki>[[Category:Help|Categories]]</nowiki></code>
  <code><nowiki>[[Category:Help|Categories]]</nowiki></code>
Line 33: Line 28:
''Note: the {sort} parameter does '''not''' affect how the page title is displayed within the category listing, just how it is ordered.  In the above example, the link to this page will still be 'Help:Categories', and not 'Categories' as you might expect!''
''Note: the {sort} parameter does '''not''' affect how the page title is displayed within the category listing, just how it is ordered.  In the above example, the link to this page will still be 'Help:Categories', and not 'Categories' as you might expect!''


==Creating a Category Page==
New category pages can be [[Help:Starting a new page|created]] like any other pages – by clicking on redlinks or entering the name in the search box and clicking "Go". If you intended to create the new category, add it to the page as if it exists, you will notice the category will show up in red. A category page can be edited like any other page. The article portion of the category is where the introductory text explaining the category contents is provided, followed by automatically generated lists of pages belonging to the category.
* Note: If you want to add or restructure some existing categories, it is best to discuss your plans with others working in the same areas, or at least to announce your intentions.


==See Also==
* [[Help:Categories Overview|Category hierarchy]].
* [[Wikipedia:Help:Category|Help:Category]]
* [[Wikipedia:Wikipedia:FAQ/Categorization|Wikipedia:FAQ/Categorization]]


{{Template:WikiHelpNav}}
[[Category:Help|Categories]]
[[Category:Help|Categories]]

Latest revision as of 22:39, 29 May 2014

Categories are one of the ways we organize the articles on the site so that our readers and editors can find pages with similar content quickly. The category system we use is hierarchical, with Category:Main on the top. Articles are placed in the best category possible, and occasionally multiple categories if the circumstances call for it. See the category hierarchy to see how they are organized.

How to use Categories

[edit]

To place an article in a category, you simply add a link to the category on the bottom of the page you are editing, for exmaple:

[[Category:Help]]

would add the page to a category named "Help", which is exactly what we have done on this page, you can see that at the bottom of the page a link to the help category has been added. Any number of category tags may be added to the page, it will be listed in all of them. (see Categories Overview for a list of existing categories).

Note:

  • Each page and each image should be labelled with at least one subcategory or one overall category.
  • Many of the Templates used in the wiki automatically tag a page with the appropriate category.


Sort order in the Categories

[edit]

Normally the page added to the category will be listed according to their page name. However, you can specify a "sortkey" that will dictate where the page will appear, alphabetically, within the category. This is achieved by using adding a second option in addition to the Category name from before, for example to add this page under 'C' for Category, rather than 'H' for Help:Categories you would use:

[[Category:Help|Categories]]

Note that we used 'Categories' as the sort parameter. Without this the page would be listed under 'H' for 'Help:Categories', instead of under 'C', which is more useful. Other situations where you might want to use the sort parameter is when you have articles about people that are titled as FirstName LastName but within the category you want them listed as LastName, FirstName.

Another way to sort the article in the correct letter without the namespace is

[[Category:Help|{{PAGENAME}}]]

This is extremly helpful when using templates which include a category tag.

Note: the {sort} parameter does not affect how the page title is displayed within the category listing, just how it is ordered. In the above example, the link to this page will still be 'Help:Categories', and not 'Categories' as you might expect!

Creating a Category Page

[edit]

New category pages can be created like any other pages – by clicking on redlinks or entering the name in the search box and clicking "Go". If you intended to create the new category, add it to the page as if it exists, you will notice the category will show up in red. A category page can be edited like any other page. The article portion of the category is where the introductory text explaining the category contents is provided, followed by automatically generated lists of pages belonging to the category.

  • Note: If you want to add or restructure some existing categories, it is best to discuss your plans with others working in the same areas, or at least to announce your intentions.

See Also

[edit]