沙盒:修订间差异
(页面内容被替换为“{{InfoBox2|border=rgb(0,255,0) |image=tank.png |type=标题 |info=信息 |width=30%}}”) 标签:替换 |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
{{InfoBox2|border=rgb( | {{InfoBox2 | ||
|image= | |border=rgb(30,144,255) | ||
|type= | |width=75% | ||
|info= | |image=Msg.png | ||
|width= | |type=信息 | ||
|info=这是一个信息框! | |||
}} | |||
源码:<br> | |||
<pre> | |||
{{InfoBox2 | |||
|border=rgb(30,144,255) | |||
|width=75% | |||
|image=Msg.png | |||
|type=信息 | |||
|info=这是一个信息框! | |||
}} | |||
</pre> | |||
其中border参数填边框的颜色;width参数填这个信息框的宽度;image参数填要显示的图片;type填信息框类型(信息框标题),info填信息框正文。模板InfoBox2相对InfoBox在页面显示的位置是左对齐的。 | |||