Template:Infobox government agency: Difference between revisions

m
check for empty strings
m (try and fix again)
m (check for empty strings)
Line 10: Line 10:
   <th colspan="2" class="infobox-header" style="background-color: #efefef">{{{overview_text|Overview}}}</th>
   <th colspan="2" class="infobox-header" style="background-color: #efefef">{{{overview_text|Overview}}}</th>
   </tr>
   </tr>
   {{#ifeq:{{{formed|}}}|{{{formed}}}| <tr><th scope="row" class="infobox-label">Formed</th><td class="infobox-data">{{{formed}}}</td></tr> |  }}
   {{#ifeq:{{{formed|}}}|{{{formed}}}| {{#if: {{{formed|}}} | <tr><th scope="row" class="infobox-label">Formed</th><td class="infobox-data">{{{formed}}}</td></tr> | }} |  }}
</table>
</table>