模板:顶栏:修订间差异

(创建页面,内容为“<html> <div align=center> <div style="width:270px;background:</html>{{{背景色|#fbf6d7}}}<html>;border:2px </html>{{{描边色|#f7f33d}}};<html>border-radius:7px;"…”)
 
无编辑摘要
 
(未显示同一用户的16个中间版本)
第1行: 第1行:
<html>
<html>
<div align=center>
<div style="margin-top: 5px;"></div>
<div style="width:270px;background:</html>{{{背景色|#fbf6d7}}}<html>;border:2px </html>{{{描边色|#f7f33d}}};<html>border-radius:7px;">
<div align=center style="margin-button: 5px;">
     <table style="height: 100%;">
<div align=left style="width:270px;min-height:65px;background:</html>{{{背景色|#f8d8db}}}<html>;border:2px </html>{{{描边色|#E81123}}}<html>;border-radius:7px;">
     <table style="height: 100%;min-height:65px;">
         <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><div style="width:15px;"></div></td>
           <td>
           <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>
             </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:0.8em;"></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:0.7em;line-height:1% !important;"></html>{{{内容|请正确的向本模板传递样式参数。}}}<html></font>
                     </div>
                     </div>
                 </div>
                 </div>
第20行: 第22行:
         </tr>
         </tr>
       </table>
       </table>
    </div>
</div>
</div>
</div>
</html>
</html>


<noinclude>
<noinclude>
 
----
{{顶栏|标题=存在问题|内容=此模板存在BUG:多行行距过大。}}
== 用法 ==
== 用法 ==
你需要传入一些参数,包括:
你需要传入一些参数,包括:
 
*背景色:背景颜色
背景色:背景颜色
*强调色:左侧深色强调色
 
*图片:任何图片(32*32,无框),请使用WIKI格式。
描边色:外边框的颜色
*标题:大标题
 
*内容:内容(不要超过两行)
强调色:左侧深色强调色
 
图片:任何图片,可以是WIKI格式也可以是HTML的SVG、IMG等
 
标题:大标题
 
内容:内容


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


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

2020年7月31日 (五) 07:50的最新版本

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



Icon-error.png
存在问题
此模板存在BUG:多行行距过大。


用法[编辑]

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

  • 背景色:背景颜色
  • 强调色:左侧深色强调色
  • 图片:任何图片(32*32,无框),请使用WIKI格式。
  • 标题:大标题
  • 内容:内容(不要超过两行)

例子[编辑]

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


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

目前已有的固定顶栏样式[编辑]

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

未完成[编辑]

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


{{未完成}}

冥人堂[编辑]

Icon-box.png
冥人堂
人生自古谁无死,早死早超神。


{{冥人堂}}