小 (导入1个版本:导入自求闻百科的页面[页面文字原许可:CC BY-SA 4.0]) |
小 (导入1个版本:导入自正文维基百科的页面[页面文字原许可:CC BY-SA 3.0]) |
(没有差异)
|
2023年4月18日 (二) 21:53的最新版本
此模板基于以下Lua模块编写:
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.
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
Text | 1 | This field should contain the text that will be displayed in the hatnote. | 字符串 | 必需 |
Extra classes | extraclasses | Extra CSS classes to be added to the <div> tags surrounding the hatnote text. | 单行文本 | 可选 |
Self reference | selfref | 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]]".) | 单行文本 | 可选 |
Category | category | 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. | 未知 | 可选 |