Template:Autocat: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(separate user categories)
No edit summary
 
Line 30: Line 30:
| no = {{#switch: {{{type|}}}
| no = {{#switch: {{{type|}}}
| #default = {{ACategory|Automatic category}}
| #default = {{ACategory|Automatic category}}
| user = [[Category:Automatic user category]]
| user = [[Category:Automatic user category]]__EXPECTUNUSEDCATEGORY__
}}
}}
| yes =  
| yes =  

Latest revision as of 03:39, 23 May 2025

English (en)Esperanto (eo)Русский (ru)Tiếng Việt (vi)中文 (zh)
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.
Number of strings:8
Approximate status of translation:English (en) 100% Esperanto (eo) 87.5% Hrvatski (hr) 100% Русский (ru) 100% Tiếng Việt (vi) 100% 中文 (zh) 100% 

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.

{{{1-5}}} For listing a template that adds this category.
{{Autocat|Software page}}

Automatic Category

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

{{{nocat}}} Prevent any category from being added by this template.
{{Autocat|nocat=1}}
N/A

Category

Category:Automatic category