模板:Highlight/doc
外观
| 文件:Codex icon book color-base.svg | This is a documentation subpage for 模板:Highlight. It contains usage information, categories and other content that is not part of the original 模板 page. |
This template highlights the text with a background color. Please make sure to use readable colors.
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| text | 1 | The text to be highlighted
| 未知 | 必需 |
| color | 2 | The background color (CSS color) to be used.
| 单行文本 | 可选 |
Usage
{{highlight|text|red}}, or {{highlight|text}} to use the default highlight color, shown above.