Difference between revisions of "Template:Infobox/row"
Jump to navigation
Jump to search
imported>MSGJ (simplify) |
imported>MSGJ (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|}}}"> | ||