跳转到内容

模板:内容盒子:修订间差异

来自电棍ottowiki———电棍笑传之查查编
Subpages:
棍牧典
棍牧典留言 | 贡献 (创建页面,内容为“<div style="width:100%; border-radius:{{圆角|8px}}; overflow:hidden; border:1px solid {{边框颜色|#ddd}};"> <table style="width:100%; border-collapse:collapse;"> {{#if:{{{标题|}}}| <tr> <td style="padding:{{标题内边距|8px 8px 8px 15px}}; text-align:left; font-weight:bold; background-color:{{标题背景色|#87CEFA}}; color:{{标题文字颜色|snow}};"> {{{标题}}} </td> </tr> }} <tr> <td style="padding:{{内容内边距|10px 15px}}; line-height: {…”)
 
第1行: 第1行:
<div style="width:100%; border-radius:{{圆角|8px}}; overflow:hidden; border:1px solid {{边框颜色|#ddd}};">
<div style="width:100%; border-radius:{{{borderRadius|8px}}}; overflow:hidden; border:1px solid {{{borderColor|#ddd}}};">
<table style="width:100%; border-collapse:collapse;">
<table style="width:100%; border-collapse:collapse;">
{{#if:{{{标题|}}}|
{{#if:{{{title|}}}|
<tr>
  <tr>
<td style="padding:{{标题内边距|8px 8px 8px 15px}}; text-align:left; font-weight:bold; background-color:{{标题背景色|#87CEFA}}; color:{{标题文字颜色|snow}};">
    <td style="padding:{{{titlePadding|8px 8px 8px 15px}}}; text-align:left; font-weight:bold; background-color:{{{titleBgColor|#87CEFA}}}; color:{{{titleColor|snow}}};">
{{{标题}}}
      {{{title}}}
</td>
    </td>
</tr>
  </tr>
}}
}}
<tr>
  <tr>
<td style="padding:{{内容内边距|10px 15px}}; line-height: {{内容行高|1.8}};">
    <td style="padding:{{{contentPadding|10px 15px}}}; line-height: {{{contentLineHeight|1.8}}};">
{{{内容|<!-- 默认无内容 -->}}}
      {{{content|<!-- 默认无内容 -->}}}
</td>
    </td>
</tr>
  </tr>
</table>
</table>
</div>
</div>

2025年5月9日 (五) 22:53的版本