打开/关闭搜索
搜索
打开/关闭菜单
10
17
63
441
【VOCAKEY.WIKI】VOCAKEY愿你唱出心中的歌
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
上传文件
打开/关闭外观设置菜单
通知
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
创建账号
登录
查看“︁模板:AmBox”︁的源代码
来自【VOCAKEY.WIKI】VOCAKEY愿你唱出心中的歌
查看
阅读
查看源代码
查看历史
associated-pages
模板
讨论
更多操作
←
模板:AmBox
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于这些用户组的用户执行:
用户
、
管理员
、editor
您可以查看和复制此页面的源代码。
<table style="{{{style|}}}" class="ambox" style="font-size: 95%; width: 80%; margin: 0 auto; margin-top: -1px; border: 1px #AAA solid; border-left: 10px solid {{{color}}}; border-collapse: collapse; background-color: #EEE; color: #000;> <tr> <td style="width: 60px; padding: 2px 0px 2px 0.5em; text-align: center;">{{{image|[[Image:null.png|50px]]}}}</td> <td style="padding: 0.25em 0.5em;">'''{{{title|Title}}}''' <div style="font-size: smaller; margin-top:0.5em; margin-left:0.8em;"> {{{text|Text}}} </div></td></tr></table> <noinclude> == 使用示例 == {{AmBox | color = #39c5bb | title = 页面需要扩展 | image = [[File:Assets-AboutImage1.jpg|90px]] | text = 内容过少,欢迎你补充更多信息! }} </noinclude> <noinclude> <templatedata> { "description": "一个可自定义颜色、标题、图片与内容文本的提示框(ambox)。", "params": { "color": { "label": "颜色", "description": "左侧竖条颜色 (hex代码)", "type": "string", "example": "#ff5722" }, "title": { "label": "标题", "description": "在提示框顶部显示的标题", "type": "string", "example": "标题" }, "image": { "label": "图标", "description": "左侧显示的图标 使用[[File:...]]。", "type": "content", "example": "[[File:Example.svg|40px]]" }, "text": { "label": "内容文本", "description": "正文说明内容", "type": "content", "example": "此页面内容不足,请补充更多信息。" } }, "format": "block" } </templatedata> </noinclude>
该页面使用的模板:
模板:AmBox
(
查看源代码
)
返回
模板:AmBox
。
查看“︁模板:AmBox”︁的源代码
来自【VOCAKEY.WIKI】VOCAKEY愿你唱出心中的歌