|
|
Line 1: |
Line 1: |
− | = Search Categories = | + | = Search Categories = |
| | | |
− | This Wiki allows you to categorize pages by adding one or more category tags to the text. Adding these tags create links at the bottom of the article which take you to the list of all pages in that category, which makes it easy to browse related articles. | + | This Wiki allows you to categorize pages by adding one or more category tags to the text. Adding these tags create links at the bottom of the article which take you to the list of all pages in that category, which makes it easy to browse related articles. |
| | | |
− | All pages should be categorized! This is essential for the functioning of the wiki and provides additionally some structure and guidance for the users. An article should not have more than 4 to 5 categories (otherwise you should consider splitting up the article into several minor ones). <br> | + | All pages should be categorized! This is essential for the functioning of the wiki and provides additionally some structure and guidance for the users. An article should not have more than 4 to 5 categories (otherwise you should consider splitting up the article into several minor ones). |
| | | |
− | == How to add categories == | + | == How to add categories to articles<br/> == |
| | | |
− | To add an article to a category put the following at the end of the page you are editing... | + | === Option 1<br/> === |
| + | |
| + | To add an article to a category click on the arrow next to "Categorize the article" at the bottom of the editor page. |
| + | |
| + | [[File:Categorize Articles.jpg|left|725x43px|Categorize Articles.jpg]] |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | The following box will open: |
| + | |
| + | [[File:Categorize Articles1.jpg|left|721x321px|Categorize Articles1.jpg]] |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | The right part of the box shows existing categories, which can be added to the respective article by clicking on the "plus" sign next to the category name. |
| + | |
| + | The left part of the box shows categories which have been added to the article. They can be removed by clicking the "minus" sign next to the category name. |
| + | |
| + | |
| + | |
| + | === Option 2<br/> === |
| + | |
| + | To add an article to a category put the following at the end of the page you are editing... |
| | | |
| <nowiki>[[Category:NAME]]</nowiki> | | <nowiki>[[Category:NAME]]</nowiki> |
− |
| |
− |
| |
− |
| |
− |
| |
| | | |
− | Replace NAME with the name of the category you want to add the page to. Any number of category tags may be added to the page - it will be listed in all of them.
| |
| | | |
− | You can also specify an additional SORT parameter that dictates where the page will appear, alphabetically, within the category. This is achieved by using the following markup: | + | |
| + | Replace NAME with the name of the category you want to add the page to. Any number of category tags may be added to the page - it will be listed in all of them. |
| + | |
| + | You can also specify an additional SORT parameter that dictates where the page will appear, alphabetically, within the category. This is achieved by using the following markup: |
| | | |
| <nowiki>[[Category:NAME|SORT]]</nowiki> | | <nowiki>[[Category:NAME|SORT]]</nowiki> |
Line 25: |
Line 73: |
| | | |
| | | |
− | So for example, to add this page to the 'Help' category, use: | + | So for example, to add this page to the 'Help' category, use: |
| | | |
| <nowiki>[[Category:Help|Categories]]</nowiki> | | <nowiki>[[Category:Help|Categories]]</nowiki> |
Line 33: |
Line 81: |
| | | |
| | | |
− | Note that we used 'Categories' as the sort parameter. Without this the page would be listed under 'H' for '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 <code>FirstName LastName</code> but within the category you want them listed as <code>LastName, FirstName</code>. | + | Note that we used 'Categories' as the sort parameter. Without this the page would be listed under 'H' for '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 <code>FirstName LastName</code> but within the category you want them listed as <code>LastName, FirstName</code>. |
| | | |
− | Another way to sort the article in the correct letter without the namespace is | + | Another way to sort the article in the correct letter without the namespace is |
| | | |
| <nowiki>[[Category:Help|{{SUBPAGENAME}}]]</nowiki> | | <nowiki>[[Category:Help|{{SUBPAGENAME}}]]</nowiki> |
Line 43: |
Line 91: |
| | | |
| | | |
− | This is extremely helpful when using templates which include a category tag. ... | + | This is extremely 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 '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 'Categories', and not 'Categories' as you might expect!'' |
| | | |
− | == Linking to Category Pages == | + | == Linking to Category Pages == |
| | | |
− | To create a link to a category page: | + | To create a link to a category page: |
| | | |
| <nowiki>[[:Category:NAME]]</nowiki> | | <nowiki>[[:Category:NAME]]</nowiki> |
Line 57: |
Line 105: |
| | | |
| | | |
− | [[:Category:Help|<br>]]If you want to display alternate text for the link:
| + | <br/>If you want to display alternate text for the link: |
| | | |
| <nowiki>[[:Category:NAME|TEXT]]</nowiki> | | <nowiki>[[:Category:NAME|TEXT]]</nowiki> |
Line 65: |
Line 113: |
| | | |
| | | |
− | <br>
| |
| | | |
− | == Categorize Categories ==
| |
| | | |
− | Categories themselves and other uploaded files like Pictures can be categorized exactly like normal pages. It is useful to connect the article-categories with categories already in place to establish connections and hierarchies. To this end, after saving the article, follow the category links at the end of the page to see, if the category is already in place and if not, categorize them until you connect them with an existing category. | + | == Categorize Categories == |
| | | |
− | == Moving categories ==
| + | Categories themselves and other uploaded files like Pictures can be categorized exactly like normal pages. It is useful to connect the article-categories with categories already in place to establish connections and hierarchies. To this end, after saving the article, follow the category links at the end of the page to see, if the category is already in place and if not, categorize them until you connect them with an existing category. |
| | | |
− | Categories cannot be easily moved like other pages. For this reason, category names should be chosen carefully.
| + | == Moving categories == |
| | | |
− | The easiest way (for those with admin privileges) is to create the new page, delete the old one, and then change the tags in each member of the category (manually or with a bot). However, this loses the page history - not a huge problem when categories are used only for navigation, but when a wiki is structured differently and the category pages contain significant amounts of text, this is undesirable.
| + | Categories cannot be easily moved like other pages. For this reason, category names should be chosen carefully. |
| | | |
− | __NOAUTHORLIST__
| + | The easiest way (for those with admin privileges) is to create the new page, delete the old one, and then change the tags in each member of the category (manually or with a bot). However, this loses the page history - not a huge problem when categories are used only for navigation, but when a wiki is structured differently and the category pages contain significant amounts of text, this is undesirable. |
| | | |
| [[Category:Articles]] | | [[Category:Articles]] |
Revision as of 07:20, 21 September 2011
Search Categories
This Wiki allows you to categorize pages by adding one or more category tags to the text. Adding these tags create links at the bottom of the article which take you to the list of all pages in that category, which makes it easy to browse related articles.
All pages should be categorized! This is essential for the functioning of the wiki and provides additionally some structure and guidance for the users. An article should not have more than 4 to 5 categories (otherwise you should consider splitting up the article into several minor ones).
How to add categories to articles
Option 1
To add an article to a category click on the arrow next to "Categorize the article" at the bottom of the editor page.
The following box will open:
The right part of the box shows existing categories, which can be added to the respective article by clicking on the "plus" sign next to the category name.
The left part of the box shows categories which have been added to the article. They can be removed by clicking the "minus" sign next to the category name.
Option 2
To add an article to a category put the following at the end of the page you are editing...
[[Category:NAME]]
Replace NAME with the name of the category you want to add the page to. Any number of category tags may be added to the page - it will be listed in all of them.
You can also specify an additional SORT parameter that dictates where the page will appear, alphabetically, within the category. This is achieved by using the following markup:
[[Category:NAME|SORT]]
So for example, to add this page to the 'Help' category, use:
[[Category:Help|Categories]]
Note that we used 'Categories' as the sort parameter. Without this the page would be listed under 'H' for '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|{{SUBPAGENAME}}]]
This is extremely 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 'Categories', and not 'Categories' as you might expect!
Linking to Category Pages
To create a link to a category page:
[[:Category:NAME]]
If you want to display alternate text for the link:
[[:Category:NAME|TEXT]]
Categorize Categories
Categories themselves and other uploaded files like Pictures can be categorized exactly like normal pages. It is useful to connect the article-categories with categories already in place to establish connections and hierarchies. To this end, after saving the article, follow the category links at the end of the page to see, if the category is already in place and if not, categorize them until you connect them with an existing category.
Moving categories
Categories cannot be easily moved like other pages. For this reason, category names should be chosen carefully.
The easiest way (for those with admin privileges) is to create the new page, delete the old one, and then change the tags in each member of the category (manually or with a bot). However, this loses the page history - not a huge problem when categories are used only for navigation, but when a wiki is structured differently and the category pages contain significant amounts of text, this is undesirable.