Pages which use this infobox are listed at Category:Events.
Template:Infobox event: Difference between revisions
Robertbaxter (talk | contribs) No edit summary |
Robertbaxter (talk | contribs) No edit summary |
||
(20 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Infobox template|class=Event|category=Events}}</noinclude><!-- | <noinclude>{{Infobox template|class=Event|category=Events}}</noinclude><!-- | ||
--><includeonly>{| align="right" class="infobox" | --><includeonly><!-- | ||
-->{| align="right" class="infobox" | |||
! colspan="2" class="infobox-title" | {{{title|}}} | ! colspan="2" class="infobox-title" | {{{title|}}} | ||
{{#if:{{{coordinates|}}}{{{location|}}}| | |||
{{#if:{{{ | <tr> | ||
-->{{#if:{{{ | <th colspan="2" class="infobox-map"> | ||
<tr> | {{#display_map:{{{coordinates|{{{location|}}}}}} | width=100% | height=200}} | ||
</th> | |||
</tr> | |||
}}<!-- | |||
</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>|}}}}<!-- | ||
<!-- | --><!--{{#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:{{{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><poem>{{{location}}}</poem></td></tr>|}}<!-- | ||
{{#if:{{{ | -->{{#if:{{{country|}}}|<tr><th scope="row">Country</th><td>{{{country|}}}</td></tr>|}}<!-- | ||
-->{{#if:{{{websites||}}}|<tr><th scope="row">Website(s)</th><td>{{{websites}}}</td></tr>|}}<!-- | -->{{#if:{{{websites||}}}|<tr><th scope="row">Website(s)</th><td>{{{websites}}}</td></tr>|}}<!-- | ||
-->{{#if:{{{application_deadline | -->{{#if:{{{application_deadline|}}}|<tr><th scope="row">Deadline</th><td>{{#time:F j, Y|{{{application_deadline|}}}}}</td></tr>}}<!-- | ||
-->{{#if:{{{application_link|}}} | |||
-->{{#if:{{{ | | <tr> | ||
{{#ifexpr: {{#time:U|{{{application_deadline}}}}} > {{#time:U}} | [{{{application_link}}} <span class="button blue outline">Apply</span>]|<span class="button disabled outline">Closed</span>}}</td></tr> | <th scope="row">Application</th> | ||
}} | <td>{{#ifexpr:{{#time:U|{{{application_deadline|}}}}} > {{#time:U}} | ||
| [{{{application_link|}}} <span class="button blue outline">Apply</span>] | |||
| <span class="button disabled outline">Closed</span> | |||
}} | |||
</td> | |||
</tr> | |||
|}} | |||
|}</includeonly> | |}</includeonly> |