模板:Hatnote/doc

模板页面
< Template:Hatnote
Zorua Fox留言 | 贡献2023年8月26日 (六) 23:34的版本 (创建页面,内容为“{{shortcut|T:HAT}} {{lua|Module:Hatnote}} <templatedata> { "description": "Template for creating a standard hatnote. A hatnote is a short note placed at the top of an article to provide disambiguation of closely related terms or summarise a topic, explaining its boundaries.", "params": { "1": { "label": "Text", "description": "This field should contain the text that will be displayed in the hatnote.", "type": "string", "required"…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

Template for creating a standard hatnote. A hatnote is a short note placed at the top of an article to provide disambiguation of closely related terms or summarise a topic, explaining its boundaries.

模板参数

参数描述类型状态
Text1

This field should contain the text that will be displayed in the hatnote.

字符串必需
Extra classesextraclasses

Extra CSS classes to be added to the <div> tags surrounding the hatnote text.

单行文本可选
Self referenceselfref

Set to "yes" if the hatnote text is a self-reference to Wikipedia that would not make sense on mirrors or forks of the Wikipedia site. (E.g. "For the Wikipedia Sandbox, see [[Qiuwen:SAND]]".)

单行文本可选
Categorycategory

Set to "no", "n", "false", or "0" to suppresses the error tracking category (Category:Hatnote templates with errors). This only has an effect if the hatnote text is omitted.

未知可选