Template:Tournament: Difference between revisions

Remove leaky tournament date wrapper
Simplify tournament date row for stable render
Line 46: Line 46:
     {{#if:{{{PosterCaption|}}}|<tr><td class="infobox-caption" colspan="2">{{{PosterCaption}}}</td></tr>}}
     {{#if:{{{PosterCaption|}}}|<tr><td class="infobox-caption" colspan="2">{{{PosterCaption}}}</td></tr>}}
   }}
   }}
   <tr><th>Dates</th><td>{{#time:M j, Y|{{{StartDate|}}}}}{{#if:{{{EndDate|}}}|{{#ifeq:{{{StartDate|}}}|{{{EndDate|}}}|| &nbsp;–&nbsp; {{#time:M j, Y|{{{EndDate|}}}}}}}}</td></tr>
   <tr><th>Dates</th><td>{{#time:M j, Y|{{{StartDate|}}}}}</td></tr>
   {{#if:{{{City|}}}{{{Venue|}}}|<tr><th>Location</th><td>{{{City|}}}{{#if:{{{Venue|}}}| · {{{Venue}}}}}</td></tr>}}
   {{#if:{{{City|}}}{{{Venue|}}}|<tr><th>Location</th><td>{{{City|}}}{{#if:{{{Venue|}}}| · {{{Venue}}}}}</td></tr>}}
   {{#if:{{{Organizer|}}}|<tr><th>Organizer</th><td>{{{Organizer}}}</td></tr>}}
   {{#if:{{{Organizer|}}}|<tr><th>Organizer</th><td>{{{Organizer}}}</td></tr>}}