“模板:Attribute”的版本间的差异

来自Ballance Wiki
跳转至: 导航搜索
第1行: 第1行:
<div style="margin: 0 auto; max-width: 1200px; padding: 0 1vw">
+
<div style="margin: 0 auto; max-width: 1200px; padding: 0 1vw"><table style="box-sizing: border-box; background: #f6f6f6; border: 1px solid gray; margin: 0 auto; width: 96%; min-width: 96%; max-width: 96%; border-collapse: collapse;"><tr>
    <table style="box-sizing: border-box; background: #f6f6f6; border: 1px solid gray; margin: 0 auto; width: 96%; min-width: 96%; max-width: 96%; border-collapse: collapse;">
+
<td style="width: 8px; min-height: 72px; background: {{{3|blue}}}" rowspan="2"></td>
        <tr>
+
<td style="width: 50px; padding: 2px 1px 2px 7px; min-height: 72px" rowspan="2">[[File:{{{4|ExtraLife-sample.jpg}}}|50px|frameless]]</td>
            <td style="width: 8px; min-height: 72px; background: {{{3|blue}}}" rowspan="2"></td>
+
<th style="text-align: left; padding: 5.5px 4px 0px 10px; font-size: 14px; font-family: sans-serif; line-height: 22px; font-weight: bold; color: rgb(34, 34, 34);">{{{1|Attribute}}}</th>
            <td style="width: 50px; padding: 2px 1px 2px 7px; min-height: 72px" rowspan="2">[[File:{{{4|ExtraLife-sample.jpg}}}|50px|frameless]]</td>
+
</tr>
            <th style="text-align: left; padding: 5.5px 4px 0px 10px; font-size: 14px; font-family: sans-serif; line-height: 22px; font-weight: bold; color: rgb(34, 34, 34);">{{{1|Attribute}}}</th>
+
<tr><td style="font-size: 12px; color: rgb(34, 34, 34); padding: 2px 11.2px 5.5px 10px; line-height: 19px;">{{{2|Description}}}</td></tr></table></div><noinclude>
        </tr>
 
        <tr>
 
            <td style="font-size: 12px; color: rgb(34, 34, 34); padding: 2px 11.2px 5.5px 10px; line-height: 19px;">{{{2|Description}}}</td>
 
        </tr>
 
    </table>
 
</div>
 
<noinclude>
 
  
 
== Usage ==
 
== Usage ==
 
<pre><nowiki>{{Attribute|Name|Description|Color|ImageName}}</nowiki></pre>
 
<pre><nowiki>{{Attribute|Name|Description|Color|ImageName}}</nowiki></pre>
 
</noinclude>
 
</noinclude>

2019年9月5日 (四) 19:59的版本

ExtraLife-sample.jpg Attribute
Description

Usage

{{Attribute|Name|Description|Color|ImageName}}