Template:Info:修订间差异
外观
创建页面,内容为“<includeonly> <div class="infoBox" style="width:{{{width|80%}}};border-left: 10px solid {{{color|#1e90ff}}};background-color:{{{backgroundColor|rgb(249,249,249)}}};b...” |
无编辑摘要 |
||
| 第17行: | 第17行: | ||
|leftimage= [[image:Icon-info.png|50px|link=]] | |leftimage= [[image:Icon-info.png|50px|link=]] | ||
|color= red | |color= red | ||
|backgroundColor= | |backgroundColor=rgb(249,249,249) | ||
}} | }} | ||
</nowiki>}} | </nowiki>}} | ||
| 第28行: | 第28行: | ||
|leftimage= [[image:Icon-info.png|50px|link=]] | |leftimage= [[image:Icon-info.png|50px|link=]] | ||
|color= red | |color= red | ||
|backgroundColor= | |backgroundColor=rgb(249,249,249) | ||
}} | }} | ||
基本上所有参数都有默认值,如果你不带任何参数使用此模板 | 基本上所有参数都有默认值,如果你不带任何参数使用此模板 | ||
2016年2月16日 (二) 06:19的版本
警告!你还没有添加任何内容
一个简易的模板框,适用于各种需要挂警告、禁止的情形
参数如下
{{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)
}}
上面的代码产生的效果
欢迎使用info模板框
基本上所有参数都有默认值,如果你不带任何参数使用此模板
{{Info}}
效果:
警告!你还没有添加任何内容