跳转到内容

模板:Color:修订间差异

来自天灾之下:危险连接资料站
bwiki>43881503
小 已更改“模板:Color”的保护等级([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期))
 
wiki>Waddie96
red ehhh
第1行: 第1行:
<includeonly><span style="color:{{{1}}};">{{{2}}}</span></includeonly><noinclude>
<includeonly><span style="color: {{#if:{{{1|}}}|{{{1}}}|var(--color-link-red, #bf3c2c)}};">{{{2}}}</span></includeonly><noinclude>
{{doc}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
[[分类:格式模板]]
{{Documentation}}</noinclude>
</noinclude>

2025年9月1日 (一) 00:14的版本

模板文档


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