Help:Categories
- This article is a help page for using categories. For information about categories specifically for the Twinsunica, see Twinsunica:Categories
A Category is a technique for grouping together articles of the same subject. For example, the category Grobos is a list of all grobos in the Twinsunica. For a list of all categories in the Twinsunica, see Special:Categories.
Contents
Adding an article to a category
Adding an article to a category is not done through the category page, but rather through the article itself. To add an article to a category, enter the article's edit page, and insert a link to the category at the bottom of the article, like that:
[[Category:Grobos]]
This will add a link to the category in the bottom of the page, as you can see in this page for example. Although the position does not matter, preferably place the links in the bottom of the article, so that editors will be able to find it quickly. Regardless, the list of categories will always appear at the bottom.
Adding an article to several categories
Adding an article to more than one category is easy and common. All you have to do is add the Category link more than once. For example, the categories list of the Francos Island bazaar looks like that:
[[Category:Island of the Francos]] [[Category:Village of the Francos]] [[Category:Shops]]
Location in the category
The list of articles in the category is alphabetized. However, sometimes we want an article to appear in a different location in the list, sometimes even under another letter. To do so, add "|[name]" after the category name in the link. For example:
[[Category:Speros|Vortix, Bob]]
This will make the article appear under the letter V in the list. Note that the name of the article will not change though, and will still appear under its original name (in this case, Bob Vortix).
If the article is the main subject of the category, add an asterisk (*) after the |. For example, Citadel Island is categorized as [[Category:Citadel Island|*]]. That way it will be on top of the list.
Linking to a category
Sometimes we want to link to a category, but without making the article a part of this category (just like the Grobos category is linked to in the beginning of this page). To do so, simply add a : before the word Category in the link. For example, [[:Category:Francos]] becomes Category:Francos. Of course, you can also use the pipe trick here.
Creating a new category
If you added an article to a category that does not yet exist, the link to it will appear in red. Click on the link, and you will be taken to the category's edit page. Write a brief description of what this category is about (for example, "This category lists all the islands in the Southern Hemisphere"), and save the page. The new category is now ready.
Sub-categories
Each category can also be categorized, thus creating an entire tree of categories. Categorizing a category is done the same way as with any other page- through the edit page.
Most categories in the Twinsunica are sub-categories of a wider category. For example, all the locations categories are sub-categories of the place they are found. This creates trees like Locations-Twinsun-Southern Hemisphere-Citadel Island-Bug Street.
Images in categories
Images can also be categorized, and in categories they will be displayed as a gallery, i.e. thumbnails of the images. If you wish to display the file name rather than the image, insert __NOGALLERY__ in the category page.