跳转到内容

模板:Color:修订间差异

来自天灾之下:危险连接资料站
wiki>Waddie96
red ehhh
枫海千叶​(留言 | 贡献)
无编辑摘要
 
(未显示另一用户的1个中间版本)
第1行: 第1行:
<includeonly><span style="color: {{#if:{{{1|}}}|{{{1}}}|var(--color-link-red, #bf3c2c)}};">{{{2}}}</span></includeonly><noinclude>
<span style="color: {{#if:{{{1|}}}|{{{1}}}|var(--color-link-red, #bf3c2c)}};">{{{2}}}</span><noinclude>
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
{{Documentation}}</noinclude>
{{Documentation}}</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