Template:Autocat: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
{{Doc}}
{{Doc}}
<includeonly><onlyinclude>
<includeonly><onlyinclude>
<div style="background: #262626; border-radius:.5em; display:flow-root; margin:.4em 0" align="left"> <div style="display:flex; border:1px solid #FF262A; border-radius: .5em; overflow:hidden;">
<div style="background:#262626; border-radius:.5em; display:flow-root; margin:.4em 0; {{Dir|rtl=direction:rtl}}"><div style="display:flex; border:1px solid #E6361D; border-radius:.5em; overflow:hidden">
<p style="background:rgb(255, 38, 42, .3); flex-basis:3em; align-items:center; display:inline-flex; margin:0; padding:.3em; justify-content:center; font-weight:bold;">Automatic Category</p>
<p style="background:rgba(230, 54, 29, .3); flex-basis:3em; align-items:center; display:inline-flex; margin:0; padding:.3em; justify-content:center; font-weight:bold">{{Autolang|Automatic Category|ru=Автоматичес&shy;кая&nbsp;категория}}</p>
<p style="background:rgb(255, 38, 42, .1); flex:1; align-items:center; margin:0; padding:.3em;">'''Please do NOT manually add pages to this category.'''<br>{{#if: {{{1|}}}|This category is automatically added by the {{tl|{{{1|}}}}} template.|This category is automatically added by a template used on these pages.}} </p>
<p style="background:rgba(230, 54, 29, .1); flex:1; align-items:center; margin:0; padding:.3em">'''Please <span style=color:#FFF>do not</span> manually add pages to this category.'''<br>{{#if: {{{1|}}}|This category is automatically added by the {{Code|&#123;&#123;[[Template:{{{1|}}}|{{{1|}}}]]&#125;&#125;}} template.|This category is automatically added by a template used on these pages.}} </p>
</div></div></onlyinclude></includeonly>
</div></div></onlyinclude></includeonly>

Revision as of 19:27, 25 April 2023

Template:ModernTodo

Info content.png
This template needs translations.
This template does not contain translations for the most popular languages.
If you are fluent in one of these languages, please help out by translating the text inside this template. This can be done by using the {{language}} template where appropriate.
Also, please make sure the article complies with the alternate languages guide.
The following content or section specifically needs to be translated:
Need translations for most popular languages. Should look similar to how {{Stub}} does it.
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}}

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}

Please do not manually add pages to this category.
This category is automatically added by a template used on these pages.

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

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}

Please do not manually add pages to this category.
This category is automatically added by the {{Software page}} template.

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

Category

Category:Automatic category