Jump to content

Template:Tournament: Difference between revisions

From Spike Wiki
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>}}

Revision as of 20:43, 16 April 2026

This template defines the table "Tournaments". View table.

Tournament infobox (stores to Cargo).

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
NameName

no description

Stringrequired
Start dateStartDate

no description

Dateoptional
End dateEndDate

no description

Dateoptional
CityCity

no description

Stringoptional
VenueVenue

no description

Stringoptional
OrganizerOrganizer

no description

Stringoptional
Poster filePoster

no description

Fileoptional
Poster captionPosterCaption

no description

Stringoptional
Fwango URLFwangoURL

no description

URLoptional