Template:Red:修订间差异
外观
删除的内容 添加的内容
enwiki>Jonesey95 dark mode is fine; it's the semantic meaning that is the problem |
IdleTap-bot(留言 | 贡献) 导入自求闻百科 |
||
| 第1行: | 第1行: | ||
{{color|red|{{{1<includeonly>|</includeonly>}}}}}<noinclude>{{doc|content= |
|||
<noinclude>{{Ombox|type=content|text=This template should '''NOT''' be used for generic error messages and warnings, because it does not have any semantic meaning embedded. Please use {{tl|error-small}} for errors, and {{tl|destructive}} for everything else.}}</noinclude><span style="color: red;">{{{1}}}</span><noinclude> |
|||
<templatedata> |
|||
<!-- Add categories to the /doc subpage, not here! --> |
|||
{ |
|||
{{Documentation}} |
|||
"description": "此模板用于产生红色的文字。此模板相当于{{color|red|文字}},或者<span style=\"color:red\">。红色的文字通常可用于强调重要且可能有危险或者风险的内容,但是一般不适合在条目内使用。", |
|||
</noinclude> |
|||
"params": { |
|||
"1": { |
|||
"label": "文字", |
|||
"description": "要显示为红色的文字。", |
|||
"type": "line", |
|||
"required": true |
|||
} |
|||
}, |
|||
"format": "inline" |
|||
} |
|||
</templatedata> |
|||
== 示例 == |
|||
{{tlx|red|文字}}的显示效果为:{{red|文字}}。它等价于{{tlx|color|red|文字}}。 |
|||
== 使用说明 == |
|||
条目内一般不建议使用红色的文字,因为看上去比较像内链,而且可能干扰用户的注意力。 |
|||
{{文字颜色模板}} |
|||
}} |
|||
[[Category:文字颜色模板]] |
|||
2026年8月3日 (一) 15:24的最新版本
{{{1}}}
此模板用于产生红色的文字。此模板相当于{{color|red|文字}},或者<span style="color:red">。红色的文字通常可用于强调重要且可能有危险或者风险的内容,但是一般不适合在条目内使用。
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| 文字 | 1 | 要显示为红色的文字。 | 单行文本 | 必需 |
示例
模板链接:{{red|文字}}的显示效果为:文字。它等价于模板链接:{{color|red|文字}}。
使用说明
条目内一般不建议使用红色的文字,因为看上去比较像内链,而且可能干扰用户的注意力。