跳转到内容

模板:Badge/doc

来自天灾之下:危险连接资料站
wiki>Pppery2025年10月27日 (一) 00:58的版本 (Reverted edits by ~2025-30089-51 (talk) to last version by Eduardogobi)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

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