Template:Category main section/doc

< Template:Category main section
Revision as of 18:04, 6 October 2024 by Muskit Gergous (talk | contribs) (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> ==Usage== This template is for use on category pages to refer to the primary section within an article associated with this category, which most of the time describes the entire set containing the category. :<code><nowiki>{{Category main section|article|section}}</nowiki></code> The parameter <code>|article=no</code> changes "in the article" to "on the page" if the main...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

This template is for use on category pages to refer to the primary section within an article associated with this category, which most of the time describes the entire set containing the category.

{{Category main section|article|section}}

The parameter |article=no changes "in the article" to "on the page" if the main page for the category is not an article.

{{Category main section|article|section|article=no}}

Example

Using {{Category main section|Mathematics|History}} produces the following result

See also

  • {{Main category}} - The inverse of this template, to be placed as a hatnote in the article section