小 (已保护“Template:Hatnote”:机器用户批量保护高风险模板([编辑=仅允许模板编辑员](无限期)[移动=仅允许模板编辑员](无限期))) |
小 (导入1个版本:导入自求闻百科的页面[页面文字原许可:CC BY-SA 4.0]) |
於 2023年4月7日 (五) 11:35 的修訂
此模板基於以下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. | 不明 | 非必填 |