Difference between revisions of "Template:Navbox/Group"

44 bytes added ,  20:32, 7 October 2020
Make entire row conditional
(Created page with "<includeonly><tr>{{#if: {{{title|}}} | <th scope="row">{{{title}}}</th><td>{{#if: {{{group|}}} | {{{group}}} | {{{list|}}} }}</td> | <td colspan="2">{{#if: {{{group|}}} |...")
 
(Make entire row conditional)
Line 1: Line 1:
<includeonly><tr>{{#if: {{{title|}}}
+
<includeonly>{{#if: {{{group|}}}{{{list|}}}
  | <th scope="row">{{{title}}}</th><td>{{#if: {{{group|}}} | {{{group}}} | {{{list|}}} }}</td>
+
  | <tr>{{#if: {{{title|}}}
  | <td colspan="2">{{#if: {{{group|}}} | {{{group}}} | {{{list|}}} }}</td>
+
    | <th scope="row">{{{title}}}</th><td>{{#if: {{{group|}}} | {{{group}}} | {{{list|}}} }}</td>
}}</tr></includeonly><noinclude>
+
    | <td colspan="2">{{#if: {{{group|}}} | {{{group}}} | {{{list|}}} }}</td>
 +
  }}
 +
</tr>}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>