Difference between revisions of "Template:Infobox/row"

From Yugipedia
Jump to: navigation, search
(So lists don't interpret the </td> and </th> as being part of the last list item)
(try with newlines only following the parameters, instead of on either side)
Line 5: Line 5:
 
  |{{#if:{{{data|}}}
 
  |{{#if:{{{data|}}}
 
   |<tr class="{{{rowclass|}}}">{{#if:{{{label|}}}
 
   |<tr class="{{{rowclass|}}}">{{#if:{{{label|}}}
   |<th scope="row" style="text-align:left; {{{labelstyle|}}}">
+
   |<th scope="row" style="text-align:left; {{{labelstyle|}}}">{{{label}}}
{{{label}}}
 
 
</th>
 
</th>
     <td class="{{{class|}}}" style="{{{datastyle|}}}">
+
     <td class="{{{class|}}}" style="{{{datastyle|}}}">{{{data}}}
{{{data}}}
 
 
</td>
 
</td>
   |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">
+
   |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">{{{data}}}
{{{data}}}
 
 
</td>
 
</td>
 
   }}</tr>
 
   }}</tr>
 
  }}
 
  }}
 
}}<noinclude></pre></noinclude>
 
}}<noinclude></pre></noinclude>

Revision as of 23:43, 16 July 2013

</noinclude>{{#if:{{{header|}}}
 |<tr><th colspan="2" class="{{{class|}}}" style="text-align:center; {{{headerstyle|}}}">
{{{header}}}
</th></tr>
 |{{#if:{{{data|}}}
  |<tr class="{{{rowclass|}}}">{{#if:{{{label|}}}
   |<th scope="row" style="text-align:left; {{{labelstyle|}}}">{{{label}}}
</th>
    <td class="{{{class|}}}" style="{{{datastyle|}}}">{{{data}}}
</td>
   |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">{{{data}}}
</td>
  }}</tr>
 }}
}}<noinclude>