Template:Infobox event: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
 
(43 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|}}}
! colspan="2" class="infobox-map" | {{#display_map:{{{coordinates|location}}} | width=100% | height=200}}
{{#if:{{{coordinates|}}}{{{location|}}}|
{{#if:{{{location|}}}|<tr><th scope="row">Address</th><td>{{{location}}}</td></tr>|}}<!--
  <tr>
    <th colspan="2" class="infobox-map">
      {{#display_map:{{{coordinates|{{{location|}}}}}} | width=100% | height=200}}
    </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:{{{Website||}}}|<tr><th scope="row">Website(s)</th><td>{{{Website}}}</td></tr>|}}<!--
-->{{#if:{{{application_deadline|}}}|<tr><th scope="row">Deadline</th><td>{{#time:F j, Y|{{{application_deadline|}}}}}</td></tr>}}<!--
-->
-->{{#if:{{{application_link|}}}
|}
| <tr>
 
    <th scope="row">Application</th>
 
    <td>{{#ifexpr:{{#time:U|{{{application_deadline|}}}}} > {{#time:U}}
<noinclude>
        | [{{{application_link|}}} <span class="button blue outline">Apply</span>]
{{Infobox event
        | <span class="button disabled outline">Closed</span>
|websites=https://babf.no/
        }}
|start_date=2025/04/03
    </td>
|end_date=2025/04/06
</tr>
|location=[[Bergen Kunsthall]], Rasmus Meyers allé 5, 5015 Bergen, Norway
|}}
|coordinates=60.38990644217246, 5.326613759519896
|}</includeonly>
|country=Norway
|application_link=https://babf.no/attend25
|application_deadline=2025/12/01
}}
 
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
|-
! Event Type
| {{{Event_type|}}}
|-
! Website
| {{{Website|}}}
|-
! Start Date
| {{{Start_date|}}}
|-
! End Date
| {{{End_date|}}}
|-
! Address
| {{{Address|}}}
|-
! Country
| {{{Country|}}}
|-
! Coordinates
| {{{Coordinates|}}}
|-
! Application Link
| {{{Application_link|}}}
|-
! Application Deadline
| {{{Application_deadline|}}}
|-
! poster
| {{{Poster|}}}
|}
 
</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.