打开/关闭搜索
搜索
打开/关闭菜单
1706
4999
924
6.3万
RIA | Wiki
导航
首页
最近更改
随机页面
MediaWiki帮助
上传文件
RIA社群
RIA官网&红报社
RIA论坛
打开/关闭外观设置菜单
通知
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
登录
目前wiki关闭了自行注册账号的功能,如需注册账号,请查阅
Help:注册账号
。
查看“︁模板:QQchat”︁的源代码
来自RIA | Wiki
查看
阅读
查看源代码
查看历史
associated-pages
模板
讨论
更多操作
←
模板:QQchat
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于这些用户组的用户执行:
用户
、已验证用户
您必须确认您的电子邮件地址才能编辑页面。请通过
参数设置
设置并确认您的电子邮件地址。
您可以查看和复制此页面的源代码。
<noinclude> QQ聊天消息模板。 </noinclude> <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> { "params": { "message": { "description": "消息内容", "type": "string", "required": true }, "user_profile": { "description": "用户头像(仅接受background-color)", "example": "background-color:red", "default": "background-color:gray", "suggested": true }, "user_title": { "description": "用户头衔", "type": "string", "required": true }, "user_name": { "description": "用户昵称", "type": "string", "required": true } }, "paramOrder": [ "message", "user_profile", "user_title", "user_name" ], "description": "用于添加类似QQ聊天的消息气泡,包括头衔、昵称和消息内容。" } </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>
该页面嵌入的页面:
用户:LettuceIce/styles.css
(
查看源代码
)
模板:QQchat
(
查看源代码
)
模板:QQchat background
(
查看源代码
)
返回
模板:QQchat
。
查看“︁模板:QQchat”︁的源代码
来自RIA | Wiki