Template:Autocat/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 15: Line 15:
| {{Autocat}}
| {{Autocat}}
|-
|-
| align="center" | {{Param|1}}
| align="center" | {{Param|template <2-3>}}
| The template that adds this category
| The template that adds this category. Must specify {{Param|template}} for {{Param
| {{CodeBlock|margin=5px|<nowiki>{{Autocat|Software page}}</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>{{Autocat|template = Software page|template 2 = Half life games}}</nowiki>}}
| {{Autocat|Software page}}
| {{Autocat|template = Software page|template 2 = Half life games}}
|}
|}


{{Doc/Sandbox other|[[Category:Notice templates]]}}
{{Doc/Sandbox other|[[Category:Notice templates]]}}

Revision as of 12:17, 26 April 2023

Edit-copy.png
This is a documentation subpage for Template:Autocat.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Usage

This template is used on hidden categories used in templates, such as the hidden categories used for the platforms in the {{Software page}} template.

Parameters

Parameter Description Example Result
No Parameters When multiple templates add this category, or you cannot discern what template adds this category.
{{Autocat}}

Automatic Category

Please do not manually add pages to this category
This category is automatically added by a template used on these pages.
If the page has been added to this category by a template, but does not show up, you can "Purge cache" this page.

{{{template <2-3>}}} The template that adds this category. Must specify {{{template}}} for {{Param
{{Autocat|template = Software page|template 2 = Half life games}}

Automatic Category

Please do not manually add pages to this category
This category is automatically added by a template used on these pages.
If the page has been added to this category by a template, but does not show up, you can "Purge cache" this page.