模板:Hatnote

模板頁面
文檔圖示 模板文件[檢視] [編輯] [查看歷史] [清除快取]

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.

不明選填
上述文檔內容嵌入自Template:Hatnote/doc編輯 | 歷史
編者可以在本模板的沙盒創建 | 鏡像和測試樣例創建頁面進行實驗。
請將模板自身所屬的分類添加在文檔中。本模板的子頁面