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

来自Ballance Wiki
跳转至: 导航搜索
2个标签移动版编辑移动网页编辑
(removed width settings)
2个标签移动版编辑移动网页编辑
 
(未显示同一用户的3个中间版本)
第1行: 第1行:
 
{{#if:{{{header|}}}
 
{{#if:{{{header|}}}
  |<tr {{#if: {{{rowstyle|}}} | style="{{{rowstyle}}}; width" }}><th colspan="2" {{#if: {{{class|}}} | class="{{{class}}}" }} style="text-align: center; width: 100%; {{{headerstyle|}}}">{{{header}}}</th></tr>
+
  |<tr {{#if: {{{rowstyle|}}} | style="{{{rowstyle}}}; width" }}><th colspan="2" {{#if: {{{class|}}} | class="{{{class}}}" }} style="text-align: center; {{{headerstyle|}}}">{{{header}}}</th></tr>
 
  |{{#if:{{{data|}}}
 
  |{{#if:{{{data|}}}
   |<tr {{#if: {{{rowclass|}}} | class="{{{rowclass}}}" }} {{#if: {{{rowstyle|}}} | style="width: 100%; {{{rowstyle}}}" }}>{{#if:{{{label|}}}
+
   |<tr {{#if: {{{rowclass|}}} | class="{{{rowclass}}}" }} {{#if: {{{rowstyle|}}} | style="{{{rowstyle}}}" }}>{{#if:{{{label|}}}
   |<th scope="row" style="text-align: left; width: 38.4%; {{{labelstyle|}}}">{{{label}}}</th>
+
   |<th scope="row" style="text-align: left; {{{labelstyle|}}}">{{{label}}}</th>
     <td {{#if: {{{class|}}} | class="{{{class}}}" }} {{#if: {{{datastyle|}}} | style="width: 61.6%;
+
     <td {{#if: {{{class|}}} | class="{{{class}}}" }} {{#if: {{{datastyle|}}} | style="{{{datastyle}}}" |}}>
{{{datastyle}}}" | style="width: 61.6%"}}>
+
   |<td colspan="2" {{#if: {{{class|}}} | class="{{{class}}}" }} style="text-align:center; {{{datastyle|}}}">
   |<td colspan="2" {{#if: {{{class|}}} | class="{{{class}}}" }} style="text-align:center; width: 100%; {{{datastyle|}}}">
 
 
   }}
 
   }}
 
{{{data}}}</td></tr>
 
{{{data}}}</td></tr>
 
  }}
 
  }}
 
}}
 
}}

2019年10月19日 (六) 12:29的最新版本