Template:Infobox event: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
 
(23 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" | {{PAGENAME}}
-->{| align="right" class="infobox"
|-
! colspan="2" class="infobox-title" | {{{title|}}}
{{#if:{{{start_date|}}}|<tr><td colspan="2" style="text-align:center;">{{Date formatter | {{{start_date|}}} | {{{end_date|}}}}}</td></tr>|}}<!--
{{#if:{{{coordinates|}}}{{{location|}}}|
-->{{#if:{{{coordinates|}}}{{{address|}}}|
  <tr>
<tr>
    <th colspan="2" class="infobox-map">
  <th colspan="2" class="infobox-map">
      {{#display_map:{{{coordinates|{{{location|}}}}}} | width=100% | height=200}}
    {{#display_map:{{{coordinates|{{{address|}}}}}} | width=100% | height=200}}
    </th>
  </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:{{{address|}}}|<tr><th scope="row">Address</th><td>{{{address}}}</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|}}}|<tr><th colspan="2" class="infobox-header">Application Info</th></tr>}}<!--
-->{{#if:{{{application_deadline|}}}|<tr><th scope="row">Deadline</th><td>{{#time:F j, Y|{{{application_deadline|}}}}}</td></tr>}}<!--
-->{{#if:{{{application_deadline||}}}|<tr><th scope="row">Deadline</th><td>{{#time:F j, Y|{{{application_deadline}}}}}</td></tr>}}<!--
-->{{#if:{{{application_link|}}}
-->{{#if:{{{application_deadline||}}}|<tr><th scope="row">Link</th><td>
| <tr>
{{#ifexpr: {{#time:U|{{{application_deadline}}}}} > {{#time:U}} | [{{{application_link}}} <span class="button blue outline">Apply</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>]
<noinclude>
        | <span class="button disabled outline">Closed</span>
{{Infobox event
        }}
|websites=https://babf.no/
    </td>
|start_date=2025/04/03
</tr>
|end_date=2025/04/06
|}}
|venue=[[Bergen Kunsthall]]
|}</includeonly>
|address=Rasmus Meyers allé 5, 5015 Bergen, Norway
|coordinates=60.38990644217246, 5.326613759519896
|country=Norway
|application_link=https://babf.no/attend25
|application_deadline=2025/12/01
}}
</noinclude>

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.