模板:QQchat:修订间差异
来自RIA | Wiki
更多操作
LettuceIce(留言 | 贡献) 无编辑摘要 |
LettuceIce(留言 | 贡献) 无编辑摘要 |
||
| 第2行: | 第2行: | ||
QQ聊天消息模板。 | QQ聊天消息模板。 | ||
</noinclude> | </noinclude> | ||
<div style="position: relative; left: 52px; margin-bottom: 10px; max-width: 75%;"> <!-- 2 --> | <div style="position: relative; left: 52px; margin-bottom: 10px; max-width: 75%;"> <!-- 2 --> | ||
<span style="border-radius: 10px;background-color: white; padding: 6px 10px 6px 10px; display: inline-block;"><span> | <span style="border-radius: 10px;background-color: white; padding: 6px 10px 6px 10px; display: inline-block;"><span> | ||
| 第10行: | 第9行: | ||
<span style="color:white;background-image:linear-gradient(90deg,#C487FF,#E8A2FC); padding: 0px 3px 0px 3px; border-radius: 3px; font-size:10px;display: inline-block;">'''{{{user_title}}}'''</span> | <span style="color:white;background-image:linear-gradient(90deg,#C487FF,#E8A2FC); padding: 0px 3px 0px 3px; border-radius: 3px; font-size:10px;display: inline-block;">'''{{{user_title}}}'''</span> | ||
<span style="color:gray;font-size:12px;vertical-align: bottom;">{{{user_name}}}</span> | <span style="color:gray;font-size:12px;vertical-align: bottom;">{{{user_name}}}</span> | ||
</div> <!-- 3 --> | </div> <!-- 3 --> | ||
</div> <!-- 2 --> | </div> <!-- 2 --> | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
2023年11月2日 (四) 17:30的版本
QQ聊天消息模板。
{{{message}}}
{{{user_title}}} {{{user_name}}}
用于添加类似QQ聊天的消息气泡,包括头衔、昵称和消息内容。
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| message | message | 消息内容 | 字符串 | 必需 |
| user_profile | user_profile | 用户头像(仅接受background-color)
| 未知 | 推荐 |
| user_title | user_title | 用户头衔 | 字符串 | 必需 |
| user_name | user_name | 用户昵称 | 字符串 | 必需 |
test
test
test
test test
test
test test