打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

目前wiki关闭了自行注册账号的功能,如需注册账号,请查阅Help:注册账号

模板:QQchat:修订间差异

来自RIA | Wiki
LettuceIce留言 | 贡献
无编辑摘要
LettuceIce留言 | 贡献
无编辑摘要
 
(未显示同一用户的15个中间版本)
第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>
<noinclude>
<br>
<br>
<br>
<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="color: #000000; font-size:14px; ">{{{message}}}</span>
<div style="position:absolute;left:-42px;top:-25px;width:36px;height:36px;border-radius:50%;{{{user_profile}}}"></div>
<div style="position:absolute; top: -36px; left:0px;> <!-- 3 -->
<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>
</div> <!-- 3 -->
</div> <!-- 2 -->
<noinclude>
<templatedata>
<templatedata>
{
{
第42行: 第47行:
"user_title",
"user_title",
"user_name"
"user_name"
]
],
"description": "用于添加类似QQ聊天的消息气泡,包括头衔、昵称和消息内容。"
}
}
</templatedata>
</templatedata>


{{QQchat_background
{{QQchat_background
|width = 50
|group_name = test
|group_name = test
|time = test
|time = test
|content =
{{QQchat
|message = test
|user_profile = background-color:red
|user_title = test
|user_name = test
}}
{{QQchat
{{QQchat
|message = test
|message = test

2024年2月19日 (一) 09:51的最新版本

QQ聊天消息模板。

{{{message}}}

{{{user_title}}} {{{user_name}}}



用于添加类似QQ聊天的消息气泡,包括头衔、昵称和消息内容。

模板参数[编辑模板数据]

参数描述类型状态
messagemessage

消息内容

字符串必需
user_profileuser_profile

用户头像(仅接受background-color)

默认值
background-color:gray
示例值
background-color:red
未知推荐
user_titleuser_title

用户头衔

字符串必需
user_nameuser_name

用户昵称

字符串必需

test

test


test

test test


test

test test