模板:Hatnote/doc

模板頁面
< Template:Hatnote
於 2023年8月26日 (六) 23:34 由 Zorua Fox留言 | 貢獻 所做的修訂 (创建页面,内容为“{{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.

不明非必填