Template:Set category
![]() | 该分类为集合分类,只应包含Set category或Set category列表,以及包含这些页面的子分类(自身为集合分类)。有关Set category的主题一般应放在相关主题分类。 |
![]() | 此Template被引用於許多頁面。 為了避免造成大規模的影響,所有對此Template的編輯應先於沙盒、測試樣例或您的沙盒上測試。 測試後無誤的版本可以一次性地加入此Template中,但是修改前請務必於討論頁發起討論。 模板引用數量會自動更新。 |
![]() | 本模板必须替換引用(使用{{subst:Set category}} )。 |
Usage
[编辑]This message box should be placed at the top of set categories to alert editors.
The name of the category will replace "Set category" in the message.
The category will automatically be added to Category:集合分类. If the template is transcluded on a page outside of the category namespace, the page will not be added to Category:集合分类.
Parameters
[编辑]The parameter |alternative=alternative text
replaces the name of the category in the message with "alternative text". Replace "alternative text" with text that fits better into the message than the name of the category. This should also be used if the first letter of the first word of the category is capitalised but would not be capitalised in the middle of a sentence. Do not use links in the alternative text as this would clutter up the message.
The parameter |first=first alternative text
replaces the first occurrence of the name of the category or alternative text in the message with "first alternative text". Replace "first alternative text" with text that fits better into the message than the name of the category. It can be used to provide more information than the alternative text and can contain links.
The parameter |topic=Topic category
adds "Category:Topic category, one of its subcategories or other" after "should be placed in" in the message. Replace "Topic category" with a related topic category.
The parameter |single=example
adds "Topics and categories related to just an individual example should not be in this category." to the end of the message.
All parameters are optional; however, the single parameter is recommended.
例子
[编辑]{{Set category|first=[[披頭四樂隊]]成员|alternative=披頭四樂隊成员|topic=披頭四樂團|single=披頭四樂隊}}
将生成:
![]() | 该分类为集合分类,只应包含披頭四樂隊成员或披頭四樂隊成员列表,以及包含这些页面的子分类(自身为集合分类)。有关披頭四樂隊成员的主题一般应放在Category:披頭四樂團或其中一子分类中。仅单独与披頭四樂隊相关的分类不应在此分类中。 |
See also
[编辑]其他分類頂部模板
[编辑]
|
上述文档嵌入自Template:Set category/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |