跳转到内容
主菜单
主菜单
移至侧栏
隐藏
导航
首页
最近更改
随机页面
关于计算器百科
资助计算器百科
联系计算器百科
聊天室
友情链接
计算器百科
搜索
搜索
外观
登录
个人工具
登录
查看“︁Template:Info”︁的源代码
模板
讨论
不转换
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
阅读
查看源代码
查看历史
工具
工具
移至侧栏
隐藏
操作
阅读
查看源代码
查看历史
常规
链入页面
相关更改
页面信息
外观
移至侧栏
隐藏
←
Template:Info
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
<includeonly> <div class="infoBox" style="width:{{{width|80%}}};border-left: 10px solid {{{color|#1e90ff}}};background-color:{{{backgroundColor|rgb(249,249,249)}}};border-top: 1px solid #aaa;border-right: 1px solid #aaa;border-bottom: 1px solid #aaa;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;"> <div class="infoBoxContent" {{#if:{{{backgroundColor|}}}|style="border-color:{{{backgroundColor}}};background-color:{{{backgroundColor}}}"}}> <div class="infoBoxIcon" style="{{#if:{{{backgroundColor|}}}|background-color:{{{backgroundColor}}};}}{{{icon-style|}}};display: table-cell;padding: 2px 0 2px .5em;vertical-align: middle;">{{{leftimage|[[image:Icon-info.png|50px|link=]]}}}</div> <div class="infoBoxText" style="{{{text-style|}}};display: table-cell;padding: .25em .5em .25em 1.3em;width: 100%;vertical-align: middle;">{{{text|{{{1|'''警告!你还没有添加任何内容'''}}}}}}</div></div></div></includeonly><noinclude> {{Info}} 一个简易的模板框,适用于各种需要挂警告、禁止的情形 参数如下 {{Code|<nowiki>{{info |width=50% |text= 欢迎使用info模板框 |text-style= color: red; font-weight: bold; font-style: italic; |leftimage= [[image:Icon-info.png|50px|link=]] |color= red |backgroundColor=rgb(249,249,249) }} </nowiki>}} 上面的代码产生的效果 {{info |width=50% |text= 欢迎使用info模板框 |text-style= color: red; font-weight: bold; font-style: italic; |leftimage= [[image:Icon-info.png|50px|link=]] |color= red |backgroundColor=rgb(249,249,249) }} 基本上所有参数都有默认值,如果你不带任何参数使用此模板 {{Code|<nowiki>{{Info}}</nowiki>}} 效果: {{Info}} </noinclude> <noinclude>[[Category:元模板]]</noinclude>
该页面嵌入的页面:
Template:Code
(
查看源代码
)
Template:Documentation
(
查看源代码
)(受半保护)
Template:Documentation/docname
(
查看源代码
)
Template:Info
(
查看源代码
)
Template:Info/doc
(
查看源代码
)
返回
Template:Info
。
搜索
搜索
查看“︁Template:Info”︁的源代码
添加话题