ვიკიწიგნები:კატეგორიები

ვიკიწიგნებიდან

Wikibooks uses several methods of page organization, the easiest of which are Categories. This page discussed how to categorize pages properly.

კატეგორიები[რედაქტირება]

Tag a Page
To "tag" a page or book with a category is to add a link to the category. For instance, to put a book in the "Category:My Category", we would add the link "[[Category:My Category]] onto the page. The MediaWiki software will take all the pages that have that same category link on them, and add those pages into the category.
Tag a Book
To "tag" an entire book, you add the category link to the cover page, or the table of contents (TOC). You do not add every single page in the book to the category, because this will make the categories messy and difficult to navigate.

Purposes[რედაქტირება]

Categories achieve three main goals in the organization of books.

  1. Categories serve as "book binders". Holding all pages or chapters of a book together in their own category.
  2. Categories sort books by subject matter. Thus, the "book binders" of all books on a subject will appear in a particular category.
  3. Categories create a way of navigation through all books on Wikibooks, from general to the most specific subjects.

Categories also allow lists of pages to be compiled automatically. The Mediawiki software will automatically add all pages with the appropriate tag to the category, which means we can see a list of related pages without having to update all the lists manually.

Category Types[რედაქტირება]

Book Categories[რედაქტირება]

A Book Category is a category that contains all the pages and templates of a single book. In general, the book's category has the same name as the book itself. For example, the "My Book" book, will use the category "Category:My Book".

It is common practice for a book's category tag to be placed in a standard template, such as a page-top template, or a navigational template that is common to all pages. In this way, the pages can be added to the category automatically, simply by adding the appropriate templates to the pages.

Most pages in Wikibooks are book sub-pages, and therefore will only be tagged with a book category.

Subject Categories[რედაქტირება]

A book category is only used with the pages in a single book. However, we also use categories to group together multiple books on related topics. For instance, Category:Mathematics will contain links to multiple mathematics-related books. Frequently, subject categories are related to bookshelves, so that all pages on Wikibooks:Mathematics bookshelf are probably also located in Category:Mathematics.

"Cross-Categorization" is when a book is added to multiple subject categories. Cross-categorization should not be used to simply advertise a new book, and books should only be added to categories where they legitimately belong.

The sub-pages of a book should never be included in the subject category. If you want to add a book to a subject category, only tag the title page or the TOC with that category.

Organizational Categories[რედაქტირება]

In addition to regular subject categories, Wikibooks uses a number of other organizational schemes such as the Dewey Decimal system, the Library of Congress system, and an Alphabetical listing. Each of these organization systems use categories to produce the lists of books.

Project Categories[რედაქტირება]

Occasionally several books are related together because they are associated with a particular project, and not because they share a common subject. For instance, all the books written to a single curriculum (science, math, and language books) would be related together, but they would not be in the same subject category. For these situations, you should add all the related books into the necessary project categories.

Subcategories[რედაქტირება]

A subcategory is a category that links to one or more other categories through the use of the category system, effectively creating a parent-child relationship. All categories should be a subcategory of one or more other categories, except for the root category. By using subcategories, we can all navigate through the category system faster and more effectively find the book, page, image or template we are looking for.

Subcategories should only be created as needed, such as dividing a large subject or book category in order to find books or pages quicker. Any new categories created for this purpose should have a good descriptive name that shares some common characteristics with the larger category name. For example category:dog training and behavior is a subcategory of category:dogs and effectively describes a common relationship between the two categories. Another example is category:algebra and category:mathematics. Book subcategories are also sometimes used, for instance, the template "Template:My Book/Stub", which marks a page as being a stub, will add a book's pages to the "My Book/Stubs" category.

How categories work[რედაქტირება]

Say, for example, you are looking for information on dog care. In this case, there are two distinct paths to the book:

In general, categories move from lowest to highest.

Adding a page to a category[რედაქტირება]

Books and pages are added to categories by placing a category tag on the page (usually at the bottom). For example, this project could be placed in the category "Categories" by adding:

[[Category:Categories|{{SUBPAGENAME}}]]

When a category tag is added to a page, that page will then automatically appear on the category list. The subpagename magic word helps organize the category page.