Stapx Steve(讨论 | 贡献) 小无编辑摘要 |
Stapx Steve(讨论 | 贡献) 小无编辑摘要 |
||
| 第12行: | 第12行: | ||
<div style="margin-left: 15px;margin-right: 15px;"> | <div style="margin-left: 15px;margin-right: 15px;"> | ||
<div style="margin-button: 5px;border-bottom: 2px #f7f33d;"> | <div style="margin-button: 5px;border-bottom: 2px #f7f33d;"> | ||
<font><strong style="font-size: | <font><strong style="font-size:0.8em;"></html>{{{标题|无效调用}}}<html></strong></font> | ||
</div> | </div> | ||
<div> | <div> | ||
<font style="margin-top: 5px;font-size: | <font style="margin-top: 5px;font-size:0.7em;line-height:1% !important;"></html>{{{内容|请正确的向本模板传递样式参数。}}}<html></font> | ||
</div> | </div> | ||
</div> | </div> | ||
2020年7月29日 (三) 16:47的版本
用法
你需要传入一些参数,包括:
- 背景色:背景颜色
- 描边色:外边框的颜色
- 强调色:左侧深色强调色
- 图片:任何图片(32*32,无框),请使用WIKI格式。
- 标题:大标题
- 内容:内容(不要超过两行)
例子
{{顶栏|背景色=#ecf7ff|描边色=#f7f33d|强调色=#8fd0ff|图片=[[文件:Icon-test.png|无框]]|标题=测试|内容=这是测试内容,测试内容需要老长长长长长长长长长长长长长长长长才能体现效果。}
目前已有的固定顶栏样式
下面是目前已有的固定样式,可以直接使用。
不够完整
{{不够完整}}