模板:QQchat:修订间差异
来自RIA | Wiki
更多操作
LettuceIce(留言 | 贡献) 创建页面,内容为“ <div style="margin: 0 auto; text-align: center; width: 60%; color: white; padding:12px 0px 8px 0px; background-image:linear-gradient(90deg,#00D7FE,#00A8FF);"> <p><span style="font-size:130%;">{{{1}}}</span><br> </div> <div style="background-color:#F1F1F1; width: 60%; padding-top:12px; padding-bottom:3px; margin: 0 auto;"> <!-- 1 --> <div style="text-align:center;color:gray;font-size:12px;"><p>{{{2}}}<p></div> </div> <noinclude> <templatedata> { "params":…” |
LettuceIce(留言 | 贡献) 无编辑摘要 |
||
| (未显示同一用户的29个中间版本) | |||
| 第1行: | 第1行: | ||
<noinclude> | |||
< | <templatestyles src=":User:LettuceIce/styles.css" /> | ||
< | QQ聊天消息模板。 | ||
</noinclude> | |||
<div class="chat_left_box"> | |||
<div class="chat_left_bubble_control"> | |||
<span class="chat_left_bubble"><span> | |||
<span class="chat_left_text">{{{message}}}</span> | |||
</div> | |||
<div class="chat_left_profile" style="{{{user_profile}}}"></div> | |||
<div class="chat_left_user_box> <!-- 3 --> | |||
<span class="chat_left_user_title">'''{{{user_title}}}'''</span> | |||
<span class="chat_left_user_name">{{{user_name}}}</span> | |||
</div> | </div> | ||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
<br> | |||
<br> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
" | "message": { | ||
"description": "消息内容", | |||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
" | "user_profile": { | ||
" | "description": "用户头像(仅接受background-color)", | ||
"example": "background-color:red", | |||
"default": "background-color:gray", | |||
"suggested": true | |||
}, | }, | ||
" | "user_title": { | ||
"type": "string" | "description": "用户头衔", | ||
"type": "string", | |||
"required": true | |||
}, | }, | ||
"user_name": { | "user_name": { | ||
"description": "用户昵称", | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
" | "message", | ||
" | "user_profile", | ||
"user_title", | "user_title", | ||
"user_name | "user_name" | ||
], | ], | ||
" | "description": "用于添加类似QQ聊天的消息气泡,包括头衔、昵称和消息内容。" | ||
} | } | ||
</templatedata> | </templatedata> | ||
{{QQchat_background | |||
|width = 50 | |||
|group_name = test | |||
|time = test | |||
|content = | |||
{{QQchat | |||
|message = test | |||
|user_profile = background-color:red | |||
|user_title = test | |||
|user_name = test | |||
}} | |||
{{QQchat | |||
|message = test | |||
|user_profile = background-color:red | |||
|user_title = test | |||
|user_name = test | |||
}} | |||
}} | |||
</noinclude> | </noinclude> | ||
2024年2月19日 (一) 09:51的最新版本
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