跳转到内容

模板:Badge/doc

来自天灾之下:危险连接资料站
Hyucen​(留言 | 贡献)2025年12月16日 (二) 16:40的版本 (导入1个版本)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Badge

This template creates a badge with a light background. It can be used e.g. in page status indicators.

模板参数

此模板首选参数不换行的行内格式。

参数描述类型状态
Contentscontent

The badge's content.

内容必需
Extra stylestyle

Extra CSS for the badge's style tag.

字符串可选
Extra classclass

Extra CSS classes.

字符串可选

Badge templates

See also

  • T188443
  • Help:Page status indicators