Ad placeholder

Template:Drop table row: Difference between revisions

Jump to navigation Jump to search
Fix the icon display condition
m (trial and erroring)
(Fix the icon display condition)
Line 1: Line 1:
<onlyinclude><includeonly><tr>
<onlyinclude><includeonly><tr>
{{#lvardef:has_icon|{{#expr:{{{icon|}}} or {{{icon_override|}}} }} }}
{{#lvardef:has_icon| {{#expr:{{#if:{{{icon|}}}|1|0}} or {{#if:{{{icon_override|}}}|1|0}} }} }}
<th>{{#ifeq: {{#lvar:has_icon}} | 1
<th>{{#ifeq: {{#lvar:has_icon}} | 1
<!-- if it has an icon explicitly defined... -->
<!-- if it has an icon explicitly defined... -->

Navigation menu