模板:color:修订间差异

添加117字节 、​ 2023年2月17日 (星期五)
已保护“模板:color”:​高流量页面([编辑=允许巡查员和管理员](无限期)[移动=允许巡查员和管理员](无限期))
无编辑摘要
(已保护“模板:color”:​高流量页面([编辑=允许巡查员和管理员](无限期)[移动=允许巡查员和管理员](无限期)))
 
(未显示4个用户的16个中间版本)
<includeonly><span style="color:{{{1}}};">{{{2}}}</span></includeonly><noinclude>
<!--{{Documentation}}-->
<templatedata>
== 用法 ==
{
<pre>
"description": "设置文本颜色",
{{color|颜色代码|内容}}
"params": {
</pre>
"1": {
 
"label": "颜色",
== 示例 ==
"description": "支持HTML颜色名、16进制颜色码、RGB函数等。",
<pre>
"type": "string",
{{color|green|绿色}}
"required": true
 
},
{{color|#F00|红色}}
"2": {
 
"label": "内容",
{{color|rgb(0,255,0)|黄色}}
"description": "需要改变颜色的内容。",
</pre>
"type": "content",
{{color|green|绿色}}
"required": true
 
}
{{color|#F00|红色}}
},
 
"format": "inline"
{{color|rgb(0,255,0)|黄色}}
}
 
</templatedata>
WTF??? 这个Wiki怎么肥事?
[[Category:格式模板]]</noinclude>
维护员、​界面管理员、​巡查员、​监督员、​小部件编辑者
3,462

个编辑