Template:Green
{{{1}}}
用法
自定义{{green|颜色}}文字。效果:
自定义颜色文字。
模板数据
<TemplateData> {
"description": "该模板输入文本的颜色更改为绿色",
"params": {
"1": {
"label": "Text",
"description": "要涂绿的文字。",
"type": "string",
"required": true
}
}
} </TemplateData>
参见
| 模板代碼 | 調色盤 | |
|---|---|---|
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– |
顏色模板
- 使用{{Background color}} 或 {{bg}}以設定背景顏色。
- 使用{{Color}} 或 {{Red}}等以設定文字顏色。
- 使用{{Font color}}同時設定背景及文字顏色。
- {{Color contrast ratio}}
- {{Talk quote inline}}
- Category:顏色模板(10)
| 上述文档嵌入自Template:Green/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |