“模板:Attribute”的版本间的差异
BearKidsTeam(讨论 | 贡献) |
BearKidsTeam(讨论 | 贡献) |
||
第1行: | 第1行: | ||
− | <div style="margin: 0 | + | <div style="margin: 0 10%;"><table style="box-sizing: border-box; background: #f6f6f6; border: 1px solid #a2a9b1; margin: 0 auto; width: 96%; min-width: 96%; max-width: 96%; border-collapse: collapse;"><tr> |
<td style="width: 8px; min-height: 72px; background: {{{3|blue}}}" rowspan="2"></td> | <td style="width: 8px; min-height: 72px; background: {{{3|blue}}}" rowspan="2"></td> | ||
<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: 50px; padding: 2px 1px 2px 7px; min-height: 72px" rowspan="2">[[File:{{{4|ExtraLife-sample.jpg}}}|50px|frameless]]</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> | <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> | </tr> | ||
− | <tr><td style="font-size: 12px; color: rgb(34, 34, 34); padding: | + | <tr><td style="font-size: 12px; color: rgb(34, 34, 34); padding: 0px 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> |