跳转到内容

模板:Color:修订间差异

来自天灾之下:危险连接资料站
bwiki>43881503
小 已更改“模板:Color”的保护等级([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期))
 
枫海千叶​(留言 | 贡献)
无编辑摘要
 
(未显示2个用户的2个中间版本)
第1行: 第1行:
<includeonly><span style="color:{{{1}}};">{{{2}}}</span></includeonly><noinclude>
<span style="color: {{#if:{{{1|}}}|{{{1}}}|var(--color-link-red, #bf3c2c)}};">{{{2}}}</span><noinclude>
{{doc}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
[[分类:格式模板]]
{{Documentation}}</noinclude>
</noinclude>

2026年3月13日 (五) 21:12的最新版本

{{{2}}}

模板文档


Usage

{{color|orange|Let's be careful}}

Let's be careful

{{color|#229944|Looks good}}

Looks good

Colors text

模板参数[编辑模板数据]

参数描述类型状态
11

CSS color for text

默认值
red
示例值
#eee8aa
字符串可选
22

text to color

示例值
This text will appear colored.
字符串必需

See also