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编辑 | 历史
编者可以在本模板的沙盒创建 | 镜像和测试样例创建页面进行实验。
请将模板自身所属的分类添加在文档中。本模板的子页面