模板:顶栏:修订间差异

(创建页面,内容为“<html> <div align=center> <div style="width:270px;background:</html>{{{背景色|#fbf6d7}}}<html>;border:2px </html>{{{描边色|#f7f33d}}};<html>border-radius:7px;"…”)
 
无编辑摘要
第1行: 第1行:
<html>
<html>
<div align=center>
<div algin=center>
<div style="width:270px;background:</html>{{{背景色|#fbf6d7}}}<html>;border:2px </html>{{{描边色|#f7f33d}}};<html>border-radius:7px;">
<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>{{{强调色|#f8e856}}}"><html></th>
           <th style="width:5px;border-radius:21px 0 0 21px;background:</html>{{{强调色|#E81123}}}<html>"></th>
           <td>
           <td><div style="width:15px;"></div></td>
            </html>{{{图片|<svg style="margin-left: 15px;" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 5.177l8.631 15.823h-17.262l8.631-15.823zm0-4.177l-12 22h24l-12-22zm-1 9h2v6h-2v-6zm1 9.75c-.689 0-1.25-.56-1.25-1.25s.561-1.25 1.25-1.25 1.25.56 1.25 1.25-.561 1.25-1.25 1.25z"/></svg>}}}<html>
          <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-bottom: 5px;border-bottom: 2px #f7f33d;">
                     <div style="margin-button: 5px;border-bottom: 2px #f7f33d;">
                         <dont><strong style="font-size:13px;"></html>{{{标题|内容未完成}}}<html></strong></a>
                         <font><strong style="font-size:13px;"></html>{{{标题|无效调用}}}<html></strong></font>
                     </div>
                     </div>
                     <div style="margin-top: 5px;">
                     <div>
                        <a style="font-size:10px;"></html>{{{内容|本页面内容处于未完成状态,内容不完整同时有待追加和改正。}}}<html></a>
                        <font style="margin-top: 5px;font-size:10px;"></html>{{{内容|请正确的向本模板传递样式参数。}}}<html></font>
                     </div>
                     </div>
                 </div>
                 </div>
第20行: 第21行:
         </tr>
         </tr>
       </table>
       </table>
    </div>
</div>
</div>
</div>
</html>
</html>
第28行: 第29行:
== 用法 ==
== 用法 ==
你需要传入一些参数,包括:
你需要传入一些参数,包括:
 
*背景色:背景颜色
背景色:背景颜色
*描边色:外边框的颜色
 
*强调色:左侧深色强调色
描边色:外边框的颜色
*图片:任何图片(32*32,无框),请使用WIKI格式。
 
*标题:大标题
强调色:左侧深色强调色
*内容:内容
 
图片:任何图片,可以是WIKI格式也可以是HTML的SVG、IMG等
 
标题:大标题
 
内容:内容


== 例子 ==
== 例子 ==
{{顶栏|背景色=#fbf6d7|描边色=#f7f33d|强调色=#f8e856|图片=[[文件:Icon-warning.png|缩略图]]|标题=测试|内容=这是测试内容}}
{{顶栏|背景色=#ecf7ff|描边色=#f7f33d|强调色=#8fd0ff|图片=[[文件:Icon-test.png|无框]]|标题=测试|内容=这是测试内容}}
<html>{{顶栏|背景色=#ecf7ff|描边色=#f7f33d|强调色=#8fd0ff|图片=[[文件:Icon-test.png|无框]]|标题=测试|内容=这是测试内容}</html>


== 目前已有的固定顶栏样式 ==
== 目前已有的固定顶栏样式 ==
下面是目前已有的固定样式,可以直接使用。
=== 不够完整 ===
{{不够完整}}
{{不够完整}}
<html>{{不够完整}}</html>
</noinclude>
</noinclude>

2020年7月29日 (三) 16:13的版本

Icon-error.png
无效调用
请正确的向本模板传递样式参数。


用法

你需要传入一些参数,包括:

  • 背景色:背景颜色
  • 描边色:外边框的颜色
  • 强调色:左侧深色强调色
  • 图片:任何图片(32*32,无框),请使用WIKI格式。
  • 标题:大标题
  • 内容:内容

例子

Icon-test.png
测试
这是测试内容


{{顶栏|背景色=#ecf7ff|描边色=#f7f33d|强调色=#8fd0ff|图片=[[文件:Icon-test.png|无框]]|标题=测试|内容=这是测试内容}

目前已有的固定顶栏样式

下面是目前已有的固定样式,可以直接使用。

不够完整

Icon-warn.png
内容未完成
本页面内容处于未完成状态。


{{不够完整}}