Stapx Steve(讨论 | 贡献) (创建页面,内容为“<html> <div align=center> <div style="width:270px;background:</html>{{{背景色|#fbf6d7}}}<html>;border:2px </html>{{{描边色|#f7f33d}}};<html>border-radius:7px;"…”) |
Stapx Steve(讨论 | 贡献) 无编辑摘要 |
||
| 第1行: | 第1行: | ||
<html> | <html> | ||
<div | <div algin=center> | ||
<div style="width:270px;background:</html>{{{背景色|# | <div style="width:270px;height:80px;background:</html>{{{背景色|#f8d8db}}}<html>;border:2px </html>{{{描边色|#E81123}}}<html>;border-radius:7px;"> | ||
<table style="height: 100%;"> | <table style="height: 100%;"> | ||
<tr> | <tr> | ||
<th style="width:5px;background:</html>{{{强调色|# | <th style="width:5px;border-radius:21px 0 0 21px;background:</html>{{{强调色|#E81123}}}<html>"></th> | ||
<td> | <td><div style="width:15px;"></div></td> | ||
<td > | |||
</html>{{{图片|[[文件:Icon-error.png|无框]]}}}<html> | |||
</td> | </td> | ||
<td> | <td> | ||
<div style="margin-left: 15px; margin-right: 15px;"> | <div style="margin-left: 15px;margin-right: 15px;"> | ||
<div style="margin- | <div style="margin-button: 5px;border-bottom: 2px #f7f33d;"> | ||
< | <font><strong style="font-size:13px;"></html>{{{标题|无效调用}}}<html></strong></font> | ||
</div> | </div> | ||
<div style="margin-top: 5px; | <div> | ||
<font style="margin-top: 5px;font-size:10px;"></html>{{{内容|请正确的向本模板传递样式参数。}}}<html></font> | |||
</div> | </div> | ||
</div> | </div> | ||
| 第20行: | 第21行: | ||
</tr> | </tr> | ||
</table> | </table> | ||
</div> | |||
</div> | </div> | ||
</html> | </html> | ||
| 第28行: | 第29行: | ||
== 用法 == | == 用法 == | ||
你需要传入一些参数,包括: | 你需要传入一些参数,包括: | ||
*背景色:背景颜色 | |||
背景色:背景颜色 | *描边色:外边框的颜色 | ||
*强调色:左侧深色强调色 | |||
描边色:外边框的颜色 | *图片:任何图片(32*32,无框),请使用WIKI格式。 | ||
*标题:大标题 | |||
强调色:左侧深色强调色 | *内容:内容 | ||
标题:大标题 | |||
内容:内容 | |||
== 例子 == | == 例子 == | ||
{{顶栏|背景色=# | {{顶栏|背景色=#ecf7ff|描边色=#f7f33d|强调色=#8fd0ff|图片=[[文件:Icon-test.png|无框]]|标题=测试|内容=这是测试内容}} | ||
<html>{{顶栏|背景色=#ecf7ff|描边色=#f7f33d|强调色=#8fd0ff|图片=[[文件:Icon-test.png|无框]]|标题=测试|内容=这是测试内容}</html> | |||
== 目前已有的固定顶栏样式 == | == 目前已有的固定顶栏样式 == | ||
下面是目前已有的固定样式,可以直接使用。 | |||
=== 不够完整 === | |||
{{不够完整}} | {{不够完整}} | ||
<html>{{不够完整}}</html> | |||
</noinclude> | </noinclude> | ||