Pages which use this infobox are listed at Category:Events.
Template:Infobox event: Difference between revisions
| Robertbaxter (talk | contribs) No edit summary Tag: Reverted | Robertbaxter (talk | contribs)  No edit summary | ||
| (24 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| <noinclude>{{Infobox template|class= | <noinclude>{{Infobox template|class=Event|category=Events}}</noinclude><!-- | ||
| --><includeonly><!-- | --><includeonly><!-- | ||
| -->{| align="right" class="infobox" | -->{| align="right" class="infobox" | ||
| ! colspan="2" class="infobox-title" | {{{title|}}} | ! colspan="2" class="infobox-title" | {{#if:{{{short_name|}}}|{{{short_name|}}}|{{{title}}}}} | ||
| {{#if:{{{event_type|}}}|<tr><th scope="row">Type</th><td>{{{event_type|}}}</td></tr>|}}<!-- | {{#if:{{{short_name}}}|<tr><th colspan="2" class="infobox-header">{{{title}}}</th></tr>|}}<!-- | ||
| -->{{#if:{{{frequency||}}}|{{#ifeq:{{{frequency}}}|Once||<tr><th scope="row">Frequency</th><td>{{{frequency}}}</td></tr>|}}}<!-- | -->{{#ifexpr:{{#ask:[[Category:Calendar entries]][[-Has subobject::{{FULLPAGENAME}}]][[At coordinates::+]]|format=count}}>0|{{Infobox event/map}}|}}<!-- | ||
| -->{{#if:{{{country|}}}|<tr><th scope="row"> | -->{{#ifexpr:{{#if:{{{event_type|}}}|1|0}} and {{#ifeq:{{lc:{{{event_type|}}}}}|unknown|0|1}}|<tr><th scope="row">Type</th><td>{{#arraymap:{{{event_type|}}}|,|@@@@|<p>@@@@</p>|}}</td></tr>|}}<!-- | ||
| -->{{#if:{{{website||}}}|<tr><th scope="row">Website</th><td>{{{website}}}</td></tr>|}} | -->{{#if:{{{frequency||}}}|{{#ifeq:{{{frequency}}}|Once||<tr><th scope="row">Frequency</th><td>{{{frequency}}}</td></tr>|}}}}<!-- | ||
| -->{{#if:{{{venue|}}}|<tr><th scope="row">Venue</th><td>{{{venue}}}</td></tr>|}}<!--	 | |||
| -->{{#if:{{{location|}}}|<tr><th scope="row">Location</th><td><poem>{{{location}}}</poem></td></tr>|{{#if:{{{country|}}}|<tr><th scope="row">Location</th><td>{{#if:{{{city|}}}|<p>{{{city}}}{{#if:{{{state_province|}}}|, {{postal|{{{state_province}}}}}|}}</p>|}}<p>{{{country}}}</p></td></tr>|}}}}<!-- | |||
| -->{{#if:{{{website||}}}|<tr><th scope="row">Website</th><td>{{clean URL|{{{website}}}}}</td></tr>|}} | |||
| |}</includeonly> | |}</includeonly> | ||