「Template:Hatnote」:修訂間差異

模板頁面
(已更改“Template:Hatnote”的保护等级:高風險模板:107380引用<!-- 機器人3 -->([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期)))
(已保护“Template:Hatnote”:​机器用户批量保护高风险模板([编辑=仅允许模板编辑员](无限期)[移动=仅允许模板编辑员](无限期)))
第1行: 第1行:
<includeonly>{{#invoke:Hatnote|hatnote}}</includeonly><noinclude>
<includeonly>{{#invoke:Hatnote|hatnote}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
</noinclude>

於 2023年2月4日 (六) 18:25 的修訂

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

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編輯 | 歷史
編者可以在本模板的沙盒創建 | 鏡像和測試樣例創建頁面進行實驗。
請將模板自身所屬的分類添加在文檔中。本模板的子頁面