Template:Transcluded category/doc

From OSDev.wiki
Revision as of 17:32, 19 June 2024 by Lukflug (talk | contribs) (Created page with "<noinclude>{{Documentation page}}</noinclude><!-- -->This template should be added on top of category pages for categories that should be almost always assigned to a page by transcluding a certain template. Use positional arguments to list those templates, and set <code>nocat</code> to disable automatic categorization into Category:Transcluded categories. For example: <syntaxhighlight lang="mediawiki"> {{Transcluded category|Transcluded category}} </syntaxhighlight>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a template documentation page

This template should be added on top of category pages for categories that should be almost always assigned to a page by transcluding a certain template. Use positional arguments to list those templates, and set nocat to disable automatic categorization into Category:Transcluded categories. For example:

{{Transcluded category|Transcluded category}}

Produces:

This category is a transcluded category.
Pages are automatically added to this category if they use {{Transcluded category}}. Do not link this category directly in a page, unless you know what you are doing.