Template:In category/doc

![]() | 此頁面是Template:In category的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
本模板用於某個模板的說明文件。It produces a hatnote that specifies into which category the documented template is categorised.
Basic usage is along the lines of {{In category|Candidates for speedy deletion}}
, which produces the following message:
It is possible to specify more than one category, e.g. {{In category|Candidates for speedy deletion|Candidates for speedy deletion by user}}
produces:
Up to five categories are supported.
To override the "and" with another conjunction, use the |and=
parameter.
For example, {{In category|Candidates for speedy deletion|Candidates for speedy deletion by user}}
would produce:
This template does nothing to change the functionality of the documented template: in particular, it will not actually apply the categories. Its purpose is simply to produce a note about what the documented template does, but you will need to implement the template's actual functionality separately.