“模板:Infobox/row”的版本间的差异

来自Ballance Wiki
跳转至: 导航搜索
2个标签移动版编辑移动网页编辑
第1行: 第1行:
 
{{#if:{{{header|}}}
 
{{#if:{{{header|}}}
  |<tr {{#if: {{{rowstyle|}}} | style="width: 100%; min-width: 100%; {{{rowstyle}}}" }}><th colspan="2" {{#if: {{{class|}}} | class="{{{class}}}" }} style="text-align: center; width: 100%; min-width: 100%; {{{headerstyle|}}}">{{{header}}}</th></tr>
+
  |<tr {{#if: {{{rowstyle|}}} | style="{{{rowstyle}}}; width" }}><th colspan="2" {{#if: {{{class|}}} | class="{{{class}}}" }} style="text-align: center; width: 100%; {{{headerstyle|}}}">{{{header}}}</th></tr>
 
  |{{#if:{{{data|}}}
 
  |{{#if:{{{data|}}}
 
   |<tr {{#if: {{{rowclass|}}} | class="{{{rowclass}}}" }} {{#if: {{{rowstyle|}}} | style="{{{rowstyle}}}" }}>{{#if:{{{label|}}}
 
   |<tr {{#if: {{{rowclass|}}} | class="{{{rowclass}}}" }} {{#if: {{{rowstyle|}}} | style="{{{rowstyle}}}" }}>{{#if:{{{label|}}}
   |<th scope="row" style="text-align: left; width: 38.4%; min-width: 38.4%; {{{labelstyle|}}}">{{{label}}}</th>
+
   |<th scope="row" style="text-align: left; width: 38.4%; {{{labelstyle|}}}">{{{label}}}</th>
     <td {{#if: {{{class|}}} | class="{{{class}}}" }} {{#if: {{{datastyle|}}} | style="width: 61.6%; {{{datastyle}}}" }}>
+
     <td {{#if: {{{class|}}} | class="{{{class}}}" }} {{#if: {{{datastyle|}}} | style="width: 61.6%;
   |<td colspan="2" {{#if: {{{class|}}} | class="{{{class}}}" }} style="width: 100%; min-width: 100%; text-align:center; {{{datastyle|}}}">
+
{{{datastyle}}}" }}>
 +
   |<td colspan="2" {{#if: {{{class|}}} | class="{{{class}}}" }} style="text-align:center; width: 61.6%; {{{datastyle|}}}">
 
   }}
 
   }}
 
{{{data}}}</td></tr>
 
{{{data}}}</td></tr>
 
  }}
 
  }}
 
}}
 
}}

2019年8月10日 (六) 23:18的版本