|
|
Ligne 1 : |
Ligne 1 : |
| <noinclude>
| | ;{{#time: l Y-m-d | {{{date|}}} }} |
| This is the 'Event' template.
| | :{{fr}} {{{fr}}} |
| It should be called in the following format:
| | :{{en}} {{{en}}} |
| <pre>
| |
| {{Event
| |
| |Logo=
| |
| |Start date=
| |
| |End date=
| |
| |Location=
| |
| |Presenters=
| |
| |Attendees=
| |
| |Cost=
| |
| |Short description=
| |
| |Event type=
| |
| }}
| |
| </pre>
| |
| Edit the page to see the template text.
| |
| </noinclude><includeonly>
| |
| {{#ifexpr:{{#time: U | {{{End date|}}} }}<{{#time: U }}|<div style="border: 2px solid #007A20; padding: 0.5em 1em 0.3em 0.5em; color: #007A20;">
| |
| '''Note:''' this article is about a passed event.
| |
| </div>|}}
| |
| {| align="right" cellpadding="0" cellspacing="0" style="position:relative; margin: 1em 0 1em 2em; padding:0px; border-collapse: collapse; border: 1px solid #ccc; background: #fff; float: right; clear: right; width: 250px"
| |
| | align="center" colspan="1" style="background-color: white; text-align: center; " |
| |
| |- class="ext-header"
| |
| ! style="font-size: 1.5em; color: black; background: #fff" align="center" | {{PAGENAME}}
| |
| |-
| |
| ! style="padding: 0px ;" | [[Image:{{{Logo|WhitespaceLogo.gif}}}|200px]]
| |
| |-
| |
| | align="center" | {{#if:{{{Start date|}}}{{{End date|}}}|{{#ifeq: {{{Start date|}}} | {{{End date|}}} | On [[Has start date::{{{Start date|}}}]][[Has end date::{{{End date|}}}|]] | From [[Has start date::{{{Start date|}}}]] to [[Has end date::{{{End date|}}}]] }}|}}
| |
| {{#if:{{{Presenters|}}}|{{Presenters|presenters={{{Presenters|}}}}}|}}
| |
| {{#if:{{{Attendees|}}}|{{Attendees|attendees={{{Attendees|}}}}}|}}
| |
| |-
| |
| ! style="padding: 0px; background: #ccc" | Where:
| |
| |-
| |
| | align="center" | [[Has location::{{{Location|}}}]]
| |
| | |
| {{Address|{{#show: {{{Location|}}} | ?Has address}}|{{#show: {{{Location|}}} | ?Has city}}|{{#show: {{{Location|}}} | ?Has country}}}}{{
| |
| #display_point:
| |
| {{#show: {{{Location|}}} | ?Has address}} {{#show: {{{Location|}}} | ?Has city}}~{{PAGENAME}}{{#if:{{{Location|}}}|
| |
| | |
| @ [[{{{Location|}}}]]|}}
| |
| |width=250
| |
| |height=250
| |
| |service=googlemaps
| |
| |controls=type
| |
| }}
| |
| {{#if:{{{Cost|}}}|Costs [[Has cost::{{{Cost}}}]]|}}
| |
| |-
| |
| ! style="padding: 0px; background: #ccc" | {{#Widget:Cornify}}
| |
| |}
| |
| <p style="font-size: 1.5em; color: #aaa; font-style: italic;">{{#if:{{{Short description|}}}|«[[Has description::{{{Short description}}}]]»|}}</p>
| |
| | |
| [[Category:Event]]{{#set:Has event type={{{Event type|Unknown}}}}}
| |
| __SHOWFACTBOX__</includeonly>
| |