模板:In category
本模板用於某個模板的說明檔案。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:
Produces a note about which categories a template will categorize the pages it's applied to into.
參數 | 描述 | 類型 | 狀態 | |
---|---|---|---|---|
Category 1 | 1 | The first category into which the documented template categorises | 不明 | 必填 |
Category 2 | 2 | The second category into which the documented template categorises | 不明 | 非必填 |
Category 3 | 3 | The third category into which the documented template categorises | 不明 | 非必填 |
Category 4 | 4 | The fourth category into which the documented template categorises | 不明 | 非必填 |
Category 5 | 5 | The fifth category into which the documented template categorises | 不明 | 非必填 |
Override for "and" | and | A word to use instead of "and" when writing the lists of categories that the documented template categorises into. Only used if at least two templates are listed.
| 內容 | 非必填 |