Template:Transcluded category: Difference between revisions

From OSDev.wiki
Jump to navigation Jump to search
[checked revision][checked revision]
Content added Content deleted
(use link list module for templates)
(add documentation)
 
Line 1: Line 1:
{{Msgbox|title=This category is a transcluded category.|text=Pages are automatically added to this category if they use {{#invoke:Link list|listPages|template=1|or=1}}. Do ''not'' link this category directly in a page, unless you know what you are doing.}}{{Autocat|Transcluded categories|Category templates|nocat={{{nocat|}}}}}
{{Msgbox|title=This category is a transcluded category.|text=Pages are automatically added to this category if they use {{#invoke:Link list|listPages|template=1|or=1}}. Do ''not'' link this category directly in a page, unless you know what you are doing.}}<includeonly>{{#if:{{{nocat|}}}||[[Category:Transcluded categories]]}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 17:34, 19 June 2024

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

Template documentation

Transcluded from Template:Transcluded category/doc

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.