“模板:Attribute”的版本间的差异
BearKidsTeam(讨论 | 贡献) |
BearKidsTeam(讨论 | 贡献) |
||
第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;"> | + | <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><td style="width: 8px; min-height: 72px; background: {{{3|blue}}}" rowspan="2"></td><td style="width: 50px; padding: | + | <tr> |
− | <th style="text-align: left; padding: | + | <td style="width: 8px; min-height: 72px; background: {{{3|blue}}}" rowspan="2"></td> |
− | <tr><td style="font-size: 12px; color: rgb(34, 34, 34); padding: 2px 11.2px | + | <td style="width: 50px; padding: 2px 1px 2px 7px; min-height: 72px" rowspan="2">[[File:{{{4|ExtraLife-sample.jpg}}}|50px|frameless]]</td> |
− | </td></tr></table></div><noinclude> | + | <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> | ||
+ | <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> |