Template:Infobox event: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 3: Line 3:
-->{| align="right" class="infobox"
-->{| align="right" class="infobox"
! colspan="2" class="infobox-title" | {{{title|}}}
! colspan="2" class="infobox-title" | {{{title|}}}
|-
{{#if:{{{coordinates|}}}{{{location|}}}|
{{#if:{{{start_date|}}}|<tr><td colspan="2" style="text-align:center;">{{Date formatter | {{{start_date|}}} | {{{end_date|}}}}}</td></tr>|}}<!--
  <tr>
-->{{#if:{{{coordinates|}}}{{{location|}}}|
    <th colspan="2" class="infobox-map">
<tr>
      {{#display_map:{{{coordinates|{{{location|}}}}}} | width=100% | height=200}}
  <th colspan="2" class="infobox-map">
    </th>
    {{#display_map:{{{coordinates|{{{location|}}}}}} | width=100% | height=200}}
  </tr>
  </th>
</tr>
}}<!--
}}<!--
-->{{#if:{{{start_date|}}}|<tr><th scope="row">Date(s)</th><td>{{Date formatter | {{{start_date|}}} | {{{end_date|}}}}}</td></tr>|}}<--
-->{{#if:{{{venue|}}}|<tr><th scope="row">Venue</th><td>{{{venue}}}</td></tr>|}}<!--
-->{{#if:{{{venue|}}}|<tr><th scope="row">Venue</th><td>{{{venue}}}</td></tr>|}}<!--
-->{{#if:{{{location|}}}|<tr><th scope="row">Location</th><td>{{{location}}}</td></tr>|}}<!--
-->{{#if:{{{location|}}}|<tr><th scope="row">Location</th><td>{{{location}}}</td></tr>|}}<!--

Revision as of 00:05, 20 December 2024

Warning: Infobox template
This is an infobox template for the Event class—it is used as a display template for Template:Event, with values from the associated Form:Event, and should never be transcluded outside of that context.

Pages which use this infobox are listed at Category:Events.