Jump to content

Template:Tournament: Difference between revisions

From Spike Wiki
>Kypho
No edit summary
>Kypho
No edit summary
Line 27: Line 27:
}}
}}


{| class="infobox"
<table class="infobox">
|-
  <tr><th class="infobox-title" colspan="2">{{{Name|{{PAGENAME}}}}}</th></tr>
! colspan="2" class="infobox-title" | {{{Name|{{PAGENAME}}}}}


{{#if:{{{Poster|}}}|
  {{#if:{{{Poster|}}}|
|-
    <tr><td class="infobox-image" colspan="2">[[File:{{{Poster}}}|frameless|upright=1.15]]</td></tr>
| colspan="2" class="infobox-image" | [[File:{{{Poster}}}|frameless|upright=1.15]]
    {{#if:{{{PosterCaption|}}}|<tr><td class="infobox-caption" colspan="2">{{{PosterCaption}}}</td></tr>}}
{{#if:{{{PosterCaption|}}}|<div class="infobox-caption">{{{PosterCaption}}}</div>}}
  }}
}}


{{#if:{{{StartDate|}}}|
  {{#if:{{{StartDate|}}}|
|-
    <tr><th>Dates</th>
! Dates
        <td>{{#time:F j, Y|{{{StartDate}}}}}{{#if:{{{EndDate|}}}| – {{#time:F j, Y|{{{EndDate}}}}}}</td></tr>
| {{#time:F j, Y|{{{StartDate}}}}}{{#if:{{{EndDate|}}}| – {{#time:F j, Y|{{{EndDate}}}}}}
  }}
}}


{{#if:{{{City|}}}{{{Venue|}}}|
  {{#if:{{{City|}}}{{{Venue|}}}|
|-
    <tr><th>Location</th><td>{{{City|}}}{{#if:{{{Venue|}}}| · {{{Venue}}}}}</td></tr>
! Location
  }}
| {{{City|}}}{{#if:{{{Venue|}}}| · {{{Venue}}}}}
}}


{{#if:{{{Organizer|}}}|
  {{#if:{{{Organizer|}}}|<tr><th>Organizer</th><td>{{{Organizer}}}</td></tr>}}
|-
  {{#if:{{{Surface|}}}| <tr><th>Surface</th>  <td>{{{Surface}}}</td></tr>}}
! Organizer
  {{#if:{{{Prize|}}}|   <tr><th>Prize</th>    <td>{{{Prize}}}</td></tr>}}
| {{{Organizer}}}
}}
 
{{#if:{{{Surface|}}}|
|-
! Surface
| {{{Surface}}}
}}
 
{{#if:{{{Prize|}}}|
|-
! Prize
| {{{Prize}}}
}}
 
{{#if:{{{FwangoURL|}}}|
|-
! Brackets
| [{{{FwangoURL}}} View on fwango.io]
}}
|}


  {{#if:{{{FwangoURL|}}}|<tr><th>Brackets</th><td>[{{{FwangoURL}}} View on fwango.io]</td></tr>}}
</table>


<!-- default sections under the infobox -->
<!-- default sections under the infobox -->

Revision as of 00:45, 15 September 2025

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