Help:Category

From binaryoption
Jump to navigation Jump to search
Баннер1
  1. Help:Category

Introduction to Categories

Categories are a fundamental organizational tool in MediaWiki, allowing you to group pages together based on shared themes or topics. This makes it significantly easier for readers to navigate the wiki and find related information. Think of them like the index of a book, but much more dynamic and interconnected. Properly categorizing pages is crucial for maintaining a well-structured and user-friendly wiki. This guide will provide a comprehensive overview of how to use categories, from basic addition to more advanced techniques.

Why Use Categories?

  • Improved Navigation: Categories allow users to browse content by topic, rather than relying solely on search or internal links. This is especially helpful for large wikis with a vast amount of information.
  • Content Discovery: Users exploring a category can easily discover pages they might not have found otherwise. It promotes serendipitous learning and exploration.
  • Organization & Maintenance: Categories help maintain a logical structure, making it easier to manage and update the wiki over time. A well-categorized wiki is easier to maintain.
  • Search Enhancement: While not a direct replacement for search, categories can complement search results by providing a thematic context.
  • Reporting & Statistics: Categories can be used to generate reports on the number of pages within a specific topic. This can be useful for identifying areas of strength or weakness in content coverage.

How to Add a Page to a Category

Adding a page to a category is remarkably simple. You use the following syntax:

```wiki ```

Replace `CategoryName` with the name of the category you want to add the page to. This line *must* be placed on the page itself, typically near the bottom, often below any external links or templates.

Example:

If you're writing a page about the Bollinger Bands technical indicator, you would add the following line to the page:

```wiki ```

This places the page within the "Technical Analysis" category. The category will then appear on the Special:Categories page, and the page will be listed within it.

Creating a New Category

If the category you need doesn't exist yet, MediaWiki will automatically create it when you use the categorization syntax. However, it's good practice to create a *category page* itself. This page serves as a central hub for the category and can contain a description of the category's scope and purpose.

To create a category page:

1. Type the category name into the search box. If it doesn't exist, you'll be given the option to create it. 2. Click the "Create the page" link. 3. Add a description of the category's purpose. This is important for helping other editors understand how to use the category correctly. 4. You can also add subcategories to the category page (see below).

Example:

If you create a "Trading Strategies" category, you might add the following text to the category page:

```wiki

Trading Strategies

This category contains pages detailing various trading strategies used in financial markets. Strategies listed here may cover stocks, forex, cryptocurrencies, and other asset classes. See also and. ```

Subcategories

Categories can be nested within each other to create a hierarchical structure. This allows for more granular organization. To create a subcategory, simply use the following syntax:

```wiki ```

Where `ParentCategory` is the name of the category you want this page (which will become the subcategory) to be a part of.

Example:

Let's say you want to create a subcategory called "Day Trading Strategies" within the "Trading Strategies" category. You would create a page named "Category:Day Trading Strategies" and add the following line to it:

```wiki ```

This makes "Day Trading Strategies" a subcategory of "Trading Strategies". Pages categorized as "Day Trading Strategies" will automatically also be categorized as "Trading Strategies".

Hidden Categories

Sometimes you need to categorize a page for internal tracking or maintenance purposes, but you don't want the category to be visible to regular readers. This is where hidden categories come in.

To create a hidden category, prefix the category name with a colon (`:`).

```wiki ```

Hidden categories are not displayed on the page itself and are only visible on Special:Categories and in category listings for administrators and users with appropriate permissions. They're often used for maintenance tasks like identifying pages that need attention.

Example:

You might create a hidden category called "Pages Needing Review" to track pages that require further editing or verification.

Category Pages and Listing

Category pages automatically list all pages belonging to that category. The listing can be customized to some extent using templates and extensions, but the basic functionality is built-in. The default listing is alphabetical.

  • Sorting: You can control the order in which pages appear in a category listing by adding a sort key to the categorization syntax. Use a pipe (`|`) followed by the sort key.
   ```wiki
   ```
   For example, to sort a page about the Fibonacci retracement under the letter "F" in the "Technical Analysis" category, you would use:
   ```wiki
   ```
  • Default Sort Key: If you don't specify a sort key, MediaWiki will use the page title as the sort key.

Advanced Categorization Techniques

  • Multiple Categories: A page can belong to multiple categories. Simply add multiple `` tags to the page.
   Example:
   A page about Elliott Wave Theory might be categorized as:
   ```wiki
   ```
  • "noindex" Categories: These categories prevent the category page itself from being indexed by search engines. This is useful for internal categories or categories that are not intended for public consumption. Add `` to the category page.
  • Recursive Categories: MediaWiki can recursively list pages from subcategories within a category. This is enabled by default. However, it can be disabled if desired.
  • Templates for Categorization: You can create templates to simplify the process of adding categories to pages, especially when dealing with frequently used categories. This promotes consistency and reduces the risk of errors.

Best Practices for Categorization

  • Be Consistent: Use the same categories consistently across the wiki. Avoid creating multiple categories for the same concept.
  • Be Specific: Choose categories that accurately reflect the content of the page. Avoid overly broad categories.
  • Use Descriptions: Add clear and concise descriptions to category pages to explain their purpose.
  • Review Existing Categories: Before creating a new category, check if an existing category already covers the topic.
  • Avoid Over-Categorization: Don't add a page to too many categories. This can make it difficult for users to find the information they're looking for.
  • Consider the User: Think about how users will search for information when choosing categories.
  • Regular Maintenance: Periodically review categories to ensure they are still relevant and accurate. Remove any unnecessary or outdated categories.
  • Use Subcategories Wisely: Subcategories are powerful, but don’t create too many levels of nesting. Keep the hierarchy relatively flat.

Related Topics & Resources

Start Trading Now

Sign up at IQ Option (Minimum deposit $10) Open an account at Pocket Option (Minimum deposit $5)

Join Our Community

Subscribe to our Telegram channel @strategybin to receive: ✓ Daily trading signals ✓ Exclusive strategy analysis ✓ Market trend alerts ✓ Educational materials for beginners

Баннер