Pages which use this infobox are listed at Category:Events.
Template:Infobox event: Difference between revisions
IssuePress (talk | contribs) No edit summary |
Robertbaxter (talk | contribs) No edit summary |
||
(27 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| align="right" class="infobox" | <noinclude>{{Infobox template|class=Event|category=Events}}</noinclude><!-- | ||
--><includeonly><!-- | |||
! colspan="2" class="infobox-title" | {{ | -->{| align="right" class="infobox" | ||
! colspan="2" class="infobox-title" | {{{title|}}} | |||
{{#if:{{{ | {{#if:{{{coordinates|}}}{{{location|}}}| | ||
--> | <tr> | ||
! | <th colspan="2" class="infobox-map"> | ||
--> | {{#display_map:{{{coordinates|{{{location|}}}}}} | width=100% | height=200}} | ||
{{#if:{{{location|}}}|<tr><th scope="row"> | </th> | ||
</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:{{{location|}}}|<tr><th scope="row">Location</th><td><poem>{{{location}}}</poem></td></tr>|}}<!-- | |||
-->{{#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>]| | <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> | ||
</ |