Template:Autocat: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added purge button.)
No edit summary
 
(26 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{uselangflags|en=1|eo=1|ru=1|vi=1|zh=1}}
{{ulf|en=1|eo=1|ru=1|vi=1|zh=1}}
{{Translate|type=template|langs=Russian|Should look similar to how {{tl|Stub}} does it.}}
 
{{ModernTodo|Adding /strings translations if possible.}}
{{Doc}}
{{Doc}}
<includeonly><onlyinclude>
<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">
<!--        ++Right Title++      -->
<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|eo=Aŭtomata Kategorio|ru=Автоматичес&shy;кая&nbsp;категория|vi=Thể loại<br>tự dộng|zh=自动<br>类别}}</p>
<!--        ++Top text++        -->
<p style="background:rgba(230, 54, 29, .1); flex:1; align-items:center; margin:0; padding:.3em">'''{{Autolang
|1=Please <span style=color:#FFF>do not</span> manually add pages to this category.
|eo=Bonu <span style=color:#FFF>ne</span> mane aldonu paĝojn al tiu ĉi kategorio.
|vi=Xin <span style=color:#FFF>đừng</span> tự ý thêm trang vào cái thể loại này.
|zh=请<span style=color:#FFF>不要</span>手动将页面添加到此类别。}}'''<br><!--
            ++Bottom text++
-->{{Autolang
|1=This category is automatically added {{#if: {{{1|}}}
          |by the {{#if:{{{2|}}}
                  |following templates: {{Code|&#123;&#123;[[Template:{{{1|}}}|{{{1|}}}]]&#125;&#125;}} {{Code|&#123;&#123;[[Template:{{{2|}}}|{{{2|}}}]]&#125;&#125;}} {{#if:{{{3|}}}
                        |{{Code|&#123;&#123;[[Template:{{{3|}}}|{{{3|}}}]]&#125;&#125;}}|}} {{#if:{{{4|}}}
                                |{{Code|&#123;&#123;[[Template:{{{4|}}}|{{{4|}}}]]&#125;&#125;}}|}} {{#if:{{{5|}}}
                                      |{{Code|&#123;&#123;[[Template:{{{5|}}}|{{{5|}}}]]&#125;&#125;}}|}}|{{Code|&#123;&#123;[[Template:{{{1|}}}|{{{1|}}}]]&#125;&#125;}} template.}}
          |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}}" this page.
          }}
|eo=Tiun ĉi kategorion aŭtomate aldonis {{#if: {{{1|}}}
          |la {{#if:{{{2|}}}
                  |sekvantaj ŝablonoj: {{Code|&#123;&#123;[[Template:{{{1|}}}|{{{1|}}}]]&#125;&#125;}} {{Code|&#123;&#123;[[Template:{{{2|}}}|{{{2|}}}]]&#125;&#125;}} {{#if:{{{3|}}}
                        |{{Code|&#123;&#123;[[Template:{{{3|}}}|{{{3|}}}]]&#125;&#125;}}|}} {{#if:{{{4|}}}
                                |{{Code|&#123;&#123;[[Template:{{{4|}}}|{{{4|}}}]]&#125;&#125;}}|}} {{#if:{{{5|}}}
                                      |{{Code|&#123;&#123;[[Template:{{{5|}}}|{{{5|}}}]]&#125;&#125;}}|}}|{{Code|&#123;&#123;[[Template:{{{1|}}}|{{{1|}}}]]&#125;&#125;}} ŝablono.}}
          |de ŝablono uzata en tiuj paĝoj.
          }}
|vi=Cái thể loại này sẽ được tự động thêm {{#if: {{{1|}}}
          |bởi {{#if:{{{2|}}}
                  |những bản mẫu này: {{Code|&#123;&#123;[[Template:{{{1|}}}|{{{1|}}}]]&#125;&#125;}} {{Code|&#123;&#123;[[Template:{{{2|}}}|{{{2|}}}]]&#125;&#125;}} {{#if:{{{3|}}}
                        |{{Code|&#123;&#123;[[Template:{{{3|}}}|{{{3|}}}]]&#125;&#125;}}|}} {{#if:{{{4|}}}
                                |{{Code|&#123;&#123;[[Template:{{{4|}}}|{{{4|}}}]]&#125;&#125;}}|}} {{#if:{{{5|}}}
                                      |{{Code|&#123;&#123;[[Template:{{{5|}}}|{{{5|}}}]]&#125;&#125;}}|}}|{{Code|&#123;&#123;[[Template:{{{1|}}}|{{{1|}}}]]&#125;&#125;}} bản mẫu này.}}
          |bởi cái bản mẫu được sử dụng trong những trang này. Nếu trang đã được thêm vào mục này bởi một bản mẫu, nhưng nó không hiện lên, bạn có thể "{{purge|Làm mới}}" trang thể loại này.
          }}
|zh=此类别{{#if: {{{1|}}}
          |由{{#if:{{{2|}}}|以下模板自动添加:{{Code|&#123;&#123;[[Template:{{{1|}}}|{{{1|}}}]]&#125;&#125;}} {{Code|&#123;&#123;[[Template:{{{2|}}}|{{{2|}}}]]&#125;&#125;}} {{#if:{{{3|}}}


                |{{Code|&#123;&#123;[[Template:{{{3|}}}|{{{3|}}}]]&#125;&#125;}}|}} {{#if:{{{4|}}}
<includeonly>


                        |{{Code|&#123;&#123;[[Template:{{{4|}}}|{{{4|}}}]]&#125;&#125;}}|}} {{#if:{{{5|}}}
<onlyinclude>{{footer
| bgcolor = rgb(60, 60, 60)
| borderrgb = 82, 82, 82
| borderalpha = 1
| titlergb = 10, 10, 10
| textbgrgb = 20, 20, 20
| title = {{Autocat/strings|title}}


                              |{{Code|&#123;&#123;[[Template:{{{5|}}}|{{{5|}}}]]&#125;&#125;}}|}}
| 1 = '''{{Autocat/strings|top}}'''<br>{{Autocat/strings|bottom1}} {{#if: {{{1|}}}
| {{Autocat/strings|bottom2}} {{#if: {{{2|}}}
| {{Autocat/strings|bottom3}} {{T|{{{1}}}}} {{T|{{{2|}}}}} {{#if:{{{3|}}}
| {{T|{{{3|}}}}}
|
}} {{#if:{{{4|}}} | {{T|{{{4|}}}}} }} {{#if:{{{5|}}} | {{T|{{{5|}}}}} }}
| {{T|{{{1|}}}}} {{Autocat/strings|bottom4}}
}}
    | {{Autocat/strings|bottom5}}
}}<br>{{Autocat/strings|bottom6}}
}}{{yesno | {{{nocat|}}}
| no = {{#switch: {{{type|}}}
| #default = {{ACategory|Automatic category}}
| user = [[Category:Automatic user category]]__EXPECTUNUSEDCATEGORY__
}}
| yes =
}}</onlyinclude>


                |&nbsp;{{Code|&#123;&#123;[[Template:{{{1|}}}|{{{1|}}}]]&#125;&#125;}} 模板自动添加。}}
</includeonly>


          |由下列页面上使用的模板自动添加。}}}}</p>
[[Category:Asbox templates]]
</div></div></onlyinclude></includeonly>

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