Template:Infobox event: Difference between revisions

From stencil.wiki
No edit summary
Tag: Reverted
No edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
   <tr>
   <tr>
     <th colspan="2" class="infobox-map">
     <th colspan="2" class="infobox-map">
       {{#display_map:{{{coordinates|{{{location|}}}}}} | width=100% | height=100}}
       {{#display_map:{{{coordinates|{{{location|}}}}}} | width=100% | height=200}}
     </th>
     </th>
   </tr>
   </tr>
Line 12: Line 12:
-->{{#if:{{{event_type|}}}|<tr><th scope="row">Type</th><td>{{{event_type|}}}</td></tr>|}}<!--
-->{{#if:{{{event_type|}}}|<tr><th scope="row">Type</th><td>{{{event_type|}}}</td></tr>|}}<!--
-->{{#if:{{{frequency||}}}|{{#ifeq:{{{frequency}}}|Once||<tr><th scope="row">Frequency</th><td>{{{frequency}}}</td></tr>|}}}}<!--
-->{{#if:{{{frequency||}}}|{{#ifeq:{{{frequency}}}|Once||<tr><th scope="row">Frequency</th><td>{{{frequency}}}</td></tr>|}}}}<!--
-->{{#ifexpr:{{#ask:[[-Has subobject::{{PAGENAME}}]][[Category:Instances]]|format=count}}>0|<tr><th scope="row">Years held</th><td>{{Infobox event/years held}}</td></tr>|}}<!--
--><!--{{#ifexpr:{{#ask:[[-Has subobject::{{PAGENAME}}]][[Category:Instances]]|format=count}}>0|<tr><th scope="row">Years held</th><td>{{Infobox event/years held}}</td></tr>|}}--><!--
-->{{#if:{{{years_held|}}}|<tr><th scope="row">Years held</th><td>{{{years_held}}}</td></tr>|}}<!--
-->{{#if:{{{start_date|}}}|<tr><th scope="row">Date(s)</th><td>{{Date formatter | {{{start_date|}}} | {{{end_date|}}}}}</td></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>|}}<!--

Latest revision as of 02:09, 20 January 2025

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.