Jump to content

විකිපොත්:ප්‍රවර්ග

Wikibooks වෙතින්

විකිපොත්, පිටු පිටු පිළිවෙලකට තබාගැනීම සඳහා ක්‍රම කිහිපයක් භවිතා කරයි. ඒවායෙන් සරල ම එක ප්‍රවර්ග (categories) වෙයි. මෙම පිටුව නිවැරදි ලෙස ප්‍රවර්ගකරණය කිරීම පිළිබඳව සාකච්ඡා කරයි.

Structure of Wikibooks
The structure of Wikibooks: Categories and subjects contain books, which themselves contain pages and modules.


අරමුණ

[සංස්කරණය]

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. This allows navigation through all books from general to the most specific subjects.
  3. Categories serve to identify problem areas so that people can help improve books and the Wikibooks project.

Categories also allow automated lists of related pages to be compiled, because any changes to a category will cause any lists depending on the category to be updated as well. The most common example of this is in the construction of subject pages.

The sections below explain how to categorize books using the different methods to ensure books can be easily found.

A book category is a category that indexes all pages, templates and media of a single book. Each book should have its own book category.

  • What to do:
For each page of the book, other than its main page, just place {{BookCat}} at the bottom of the page. Alternatively, place {{BookCat}} inside any template intended to be used on all pages of the book, which takes care of all the pages that use that template. It does no harm to do both, and no harm if {{BookCat}} ends up on the main page of the book (which might easily happen by accident if a template containing {{BookCat}} is also used on the book main page).
  • How it works:
Book categories use names based on the name of the book itself, with a prefix Book:. For example, the book category for a book titled "Cryptozoology" should be "Category:Book:Cryptozoology". Books and book categories should be categorized by subject using all the same subject categories (we'll discuss subject categories next).
Historically, book categories didn't have a prefix Book:, so the book category for title "Cryptozoology" would be "Category:Cryptozoology". We are slowly converting to the new naming convention; many pre-existing book categories on the site use the old convention.
The {{BookCat}} device automatically deduces, from the name of the page it is on, what book it's in, files the page it is on into the book's category, and sorts the pages inside that category by the portion of the page name following the name of the book. As a result, the book category provides an alphabetical index of all the book's pages.
Template {{BOOKCATEGORY}} produces the name of the book category of the book associated with the page on which it occurs; or, you can provide it with a page name as a parameter, {{BOOKCATEGORY|<page name>}}, and it will produce the name of the book category of the book associated with <page name>. Currently, {{BOOKCATEGORY}} can detect whether a given book uses the old or new convention for book-category names; and it would also presumably handle any future change in the naming convention (if such a thing should ever happen).

විෂයය

[සංස්කරණය]

A subject category is a category that groups together books on a related topic.

  • What to do:
On the main page of each book, place {{subjects|...}} at the bottom of the page, replacing "..." with one or more names of subjects, separated by "pipe" characters (the vertical bar, like the one just before the "..." in the example: | ).
Books should only be added to subjects as specific as possible. For example, the book Music Theory is located in Subject:Music theory, but not in Subject:Music, because musical theory is a more specific topic than music. Most books only belong to one or two subjects; use multiple subjects only to aid in finding books that are legitimately important to several subject areas and not used to simply advertise new books. Subjects are used to help make finding books easier, so proper filing of books in subjects is important.
Examples: at this writing, book Modern History has {{subjects|History}}, while book HydroGeoSphere has {{subjects|Geology|Computer software}}.
  • How it works:
Subject categories use names based on the name of the subject, with a prefix Subject:. Subject names use sentence casing because, unlike books, the name of a subject is not a title. For example, the subject category for Subject:Music theory would be Category:Subject:Music theory. A subject should only be created when there are multiple books that can be added to it.
Each subject has three pages associated with it:
  • a subject page, called "Subject:<name>", which is the primary place to go for topic <name>. The subject page explains what the subject is about; says what other subject or subjects this one is contained in, and what other subjects are contained in this one; lists books on this subject by how complete they are; and lists featured books on this subject. The book lists include books in subsections as well as books filed directly in that subject. The very biggest subjects, like Subject:Mathematics, list subsections but not books, because the list of books would be so awkwardly long.
  • a subject category, called "Category:Subject:<name>", which contains just those books that are filed specifically under that subject. This page echoes the information display from the subject page.
  • an internal category, whose page is not meant to be publicly viewed, called "Category:Subject:<name>/all books", which contains all books filed under the subject or any other subject contained within it.
The {{subjects}} template on a book main page knows what subjects the book should be filed under. Each subject page has information on it naming the one or two parent subjects containing that subject. The various pages share information between them automatically to populate the internal categories, which enable the subject pages — and the subject categories — to list books in all subsections as well as books filed directly in the subject.

ව්‍යාපෘතිය

[සංස්කරණය]

A project category is a category for associating several related books with a particular project. For instance, all books written for a single course curriculum (science, math, and language books). For these situations, you should add all the related books into the necessary project categories.

සංවිධානය

[සංස්කරණය]

Wikibooks uses a number of other organizational schemes, such as an Alphabetical listing and a Reading Levels system. Each of these organization systems use categories to produce lists of books.

උප ප්‍රවර්ගය

[සංස්කරණය]

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 more quickly. Any new category created for this purpose should have a good descriptive name that shares some common characteristics with the larger category name. For example, Category:Subject:Music theory is a subcategory of Category:Subject:Music and effectively describes a common relationship between the two categories. Another example is Category:Subject:Algebra and Category:Subject:Mathematics.

Book subcategories are also sometimes used; for instance, if a book is not using a flat structure and consists of several chapters with many subpages in each one, {{BookCat|filing=deep}} can be placed on the pages of the book or in a template placed on those pages to create subcategories of the form Category:Book Name/Chapter Name. Then simply add {{BookCat}} to those subcategories to automatically place them in the root book category of the book.

ප්‍රවර්ග ක්‍රියාත්මක වන ආකාරය

[සංස්කරණය]

Pages are listed in categories by adding a category link on pages (usually at the bottom). For example, this project was listed in Category:Categories by adding:

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

The subpagename magic word helps organize category pages by sorting pages by name. This can be particularly useful for books since all pages begin with the book name.

Now say you were looking for information on animal behavior. In this case, there is only one distinct path to find books on the subject:

If you wanted Animal Behavior to be found here, you would need to add {{BookCat}} to the bottom of each page, add {{subjects|zoology}} to Animal Behavior, and add {{BookCat}} to Category:Book:Animal Behavior. (In this case, {{BookCat}} figures out that the page it's on is a book category, and looks at the book's main page to see what subjects it belongs to.) By now you should be starting to understand how Zoology is added to Biology, and so on.

In general, categories go from the most general to the most specific category. You can link to a category by adding:

[[:Category:Category Name|display text]]

ආශ්‍රිත මාතෘකා

[සංස්කරණය]
"https://si.wikibooks.org/w/index.php?title=විකිපොත්:ප්‍රවර්ග&oldid=19680" වෙතින් සම්ප්‍රවේශනය කෙරිණි