模板:Module category
{{Module category}} can be placed at the top of categories that contain module pages and related subcategories.
Usage 編輯
Full syntax 編輯
{{Module category | topic = | description = | help = }}
Parameters 編輯
The template may be used without any parameters, i.e. as {{Module category}}
.
Example: no parameters
The following parameters may be used to make the template more informative.
topic 編輯
- Use topic to add a description ending "...relating to topic".
Example: topic
{{Module category |topic=''topic''}}
description 編輯
- Use description to add a description in place of – or in addition to – the topic description above.
Example: description
{{Module category |description=This text is supplied by the ''description'' parameter.}}
|
Example: topic and description
{{Module category | topic = ''topic'' | description = ''description'' }}
help 編輯
- Use help to replace the instructions on adding a module to the category (second paragraph of the "Further module category notes" section). To omit the default instructions, set help to false, no, etc.
Example: replace help text
Example: omit help text
See also 編輯
其他分類頂部模板 編輯
|
上述文件嵌入自Template:Module category/doc。 (編輯 | 歷史) 編者可以在本模板的沙盒 (建立 | 鏡像)和測試樣例 (建立)頁面進行實驗。 請在/doc子頁面中添加分類。本模板的子頁面。 |