Difference between revisions of "Template:Infobox/Row"

8 bytes removed ,  18:05, 6 October 2020
Only render row if value is present (obvious, in hindsight)
(Created page with "<includeonly><tr>{{#if: {{{1|}}} | <td class="box {{{color|gray}}} infobox__heading" colspan="2">{{{1}}} | {{#if: {{{2|}}}{{{3|}}} | <th scope="row">{{{2}}}</th> <td>...")
 
(Only render row if value is present (obvious, in hindsight))
Line 1: Line 1:
 
<includeonly><tr>{{#if: {{{1|}}}  
 
<includeonly><tr>{{#if: {{{1|}}}  
 
   | <td class="box {{{color|gray}}} infobox__heading" colspan="2">{{{1}}}
 
   | <td class="box {{{color|gray}}} infobox__heading" colspan="2">{{{1}}}
   | {{#if: {{{2|}}}{{{3|}}}
+
   | {{#if: {{{3|}}}
 
     | <th scope="row">{{{2}}}</th> <td>{{{3}}}</td>
 
     | <th scope="row">{{{2}}}</th> <td>{{{3}}}</td>
 
   }}
 
   }}