Difference between revisions of "Template:Infobox/row"

From blackwiki
Jump to navigation Jump to search
imported>Netoholic
(redirecting for now)
imported>Stranger195
Line 1: Line 1:
#REDIRECT [[Template:Infobox]]
+
<noinclude><pre></noinclude>{{#if:{{{header|}}}
 
+
|<tr><th colspan="2" class="{{{class|}}}" style="text-align:center; {{{headerstyle|}}}">{{{header}}}</th></tr>
*This function has been deprecated. Please check the documentation on [[Template:Infobox]] for alternatives like "child" or "subbox".
+
|{{#if:{{{data|}}}
 +
  |<tr class="{{{rowclass|}}}">{{#if:{{{label|}}}
 +
  |<th scope="row" style="text-align:left; {{{labelstyle|}}}">{{{label}}}</th>
 +
    <td class="{{{class|}}}" style="{{{datastyle|}}}">
 +
  |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">
 +
  }}
 +
{{{data}}}</td></tr>
 +
}}
 +
}}<noinclude></pre></noinclude>

Revision as of 00:26, 10 October 2015

</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|}}}">
   |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">
  }}
{{{data}}}</td></tr>
 }}
}}<noinclude>