Template:Infobox/row: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(simplify)
(allow example)
Line 1: Line 1:
{{#if:{{{header|}}}
{{#if:{{{header|}}}
  |<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header|}}}</th></tr>
  |<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header|}}}</th></tr>
  |{{#if:{{{data|}}}
  |{{#if:{{{data|}}}{{#switch:{{#titleparts:{{PAGENAME}}|1}}
   <tr>{{#if:{{{label|}}}
  |Infobox
  |{{{name|}}}=example
  }}
   |<tr>{{#if:{{{label|}}}
   |<th style="{{{labelstyle|}}}">{{{label|}}}</th>
   |<th style="{{{labelstyle|}}}">{{{label|}}}</th>
     <td class="{{{class|}}}" style="{{{datastyle|}}}">
     <td class="{{{class|}}}" style="{{{datastyle|}}}">

Revision as of 12:19, 1 June 2009