Template:Tournament: Difference between revisions
>Kypho No edit summary |
>Kypho No edit summary |
||
| Line 11: | Line 11: | ||
}} | }} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#default_form:Tournament}} | {{#default_form:Tournament}} <!-- remove this line if you don’t want PF --> | ||
<templatestyles src="Template:Infobox/styles.css" /> | <templatestyles src="Template:Infobox/styles.css" /> | ||
<templatestyles src="Template:Tournament/styles.css" /> | <templatestyles src="Template:Tournament/styles.css" /> | ||
{{#cargo_store:_table=Tournaments | {{#cargo_store:_table=Tournaments | ||
|Name={{{Name|{{PAGENAME}}}}} | |Name={{{Name|{{PAGENAME}}}}} | ||
| Line 25: | Line 25: | ||
|FwangoURL={{{FwangoURL|}}} | |FwangoURL={{{FwangoURL|}}} | ||
}} | }} | ||
<table class="infobox"> | <table class="infobox"> | ||
<tr><th class="infobox-title" colspan="2">{{{Name|{{PAGENAME}}}}}</th></tr> | <tr><th class="infobox-title" colspan="2">{{{Name|{{PAGENAME}}}}}</th></tr> | ||
{{#if:{{{Poster|}}}| | {{#if:{{{Poster|}}}| | ||
<tr><td class="infobox-image" colspan="2">[[File:{{{Poster}}}|frameless|upright=1.15]]</td></tr> | <tr><td class="infobox-image" colspan="2">[[File:{{{Poster}}}|frameless|upright=1.15]]</td></tr> | ||
{{#if:{{{PosterCaption|}}}|<tr><td class="infobox-caption" colspan="2">{{{PosterCaption}}}</td></tr>}} | {{#if:{{{PosterCaption|}}}|<tr><td class="infobox-caption" colspan="2">{{{PosterCaption}}}</td></tr>}} | ||
}} | }} | ||
{{#if: {{{StartDate|}}} | | |||
{{#if: {{{StartDate|}}} | | <tr><th>Dates</th><td>{{#ifeq: {{{StartDate|}}} | {{{EndDate|}}} | | ||
{{#time:M j, Y|{{{StartDate}}}}} | {{#time:M j, Y|{{{StartDate}}}}} | ||
| | | | ||
{{#time:M j, Y|{{{StartDate|}}}}}{{#if: {{{EndDate|}}} | – {{#time:M j, Y|{{{EndDate}}}}} }} | {{#time:M j, Y|{{{StartDate|}}}}}{{#if: {{{EndDate|}}} | – {{#time:M j, Y|{{{EndDate}}}}} }} | ||
}}</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>}} | ||
{{#if:{{{Surface|}}}| | {{#if:{{{Surface|}}}|<tr><th>Surface</th><td>{{{Surface}}}</td></tr>}} | ||
{{#if:{{{Prize|}}}| | {{#if:{{{Prize|}}}|<tr><th>Prize</th><td>{{{Prize}}}</td></tr>}} | ||
{{#if:{{{FwangoURL|}}}|<tr><th>Fwango</th><td>{{{FwangoURL}}}</td></tr>}} | {{#if:{{{FwangoURL|}}}|<tr><th>Fwango</th><td>[{{{FwangoURL}}} {{{FwangoURL}}}]</td></tr>}} | ||
</table> | </table> | ||
[[Category:Tournaments]] | [[Category:Tournaments]] | ||
</includeonly> | </includeonly> | ||