Template:MeetingSidebar: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
(previous (next) meeting : date strictly lesser (greater) than)
(translations)
Line 2: Line 2:
! style="text-align: center; background-color: #692D89; color:white;padding:0.3em; font-size:medium;" colspan="2" |[[Has title::{{{meetingname|Pirate Meeting}}}]]
! style="text-align: center; background-color: #692D89; color:white;padding:0.3em; font-size:medium;" colspan="2" |[[Has title::{{{meetingname|Pirate Meeting}}}]]
|-
|-
! style="vertical-align: top;" | {{#switch: {{{lang|}}} | fr = Groupe de travail | Workgroup }}
! style="vertical-align: top;" | {{#switch: {{{lang|}}}  
  | fr = Groupe de travail  
  | nl = Werkgroep
  | Workgroup  
  }}
| {{#if: {{{workgroup|}}} | [[Organized by::{{{workgroup}}}]] | ? }}
| {{#if: {{{workgroup|}}} | [[Organized by::{{{workgroup}}}]] | ? }}
|-
|-
! style="vertical-align: top;" | {{#switch: {{{lang|}}} | fr = Date | Date }}
! style="vertical-align: top;" | {{#switch: {{{lang|}}}  
  | fr = Date  
  | nl = Datum
  | Date  
  }}
| {{#if: {{{date|}}} | [[Has date::{{#time:Y/m/d|{{{date}}} }}|{{#time:D j F Y|{{{date}}}|{{{lang|en}}} }}]] | ? }}  
| {{#if: {{{date|}}} | [[Has date::{{#time:Y/m/d|{{{date}}} }}|{{#time:D j F Y|{{{date}}}|{{{lang|en}}} }}]] | ? }}  
|-
|-
! style="vertical-align: top;" | {{#switch: {{{lang|}}} | fr = Heure | Time }}
! style="vertical-align: top;" | {{#switch: {{{lang|}}}  
  | fr = Heure  
  | nl = Uur
  | Time  
  }}
| {{#if: {{{time|}}} | [[Has time::{{{time}}}]] | ? }}
| {{#if: {{{time|}}} | [[Has time::{{{time}}}]] | ? }}
|-
|-
{{#if: {{{place|}}} |  
{{#if: {{{place|}}} |  
! style="vertical-align: top;" {{!}} {{#switch: {{{lang|}}} | fr = Lieu | nl = Locatie | Venue }}
! style="vertical-align: top;" {{!}} {{#switch: {{{lang|}}}  
  | fr = Lieu  
  | nl = Locatie  
  | Venue  
  }}
{{!}} {{#set: In venue={{{place}}} }}{{{place}}}
{{!}} {{#set: In venue={{{place}}} }}{{{place}}}
{{!}}- }}
{{!}}- }}
! style="vertical-align: top;" | {{#switch: {{{lang|}}} | fr = Adresse | Address }}
! style="vertical-align: top;" | {{#switch: {{{lang|}}}  
  | fr = Adresse  
  | nl = Adres
  | Address  
  }}
| rowspan=2 style="padding:0px" |  
| rowspan=2 style="padding:0px" |  
{| cellspacing="0" style="width:100%;"  
{| cellspacing="0" style="width:100%;"  
| {{#if: {{{address|}}} | [[Has address::{{{address}}}]] | ? }}
| {{#if: {{{address|}}} | [[Has address::{{{address}}}]] | ? }}
|-
|-
| {{#if: {{{postalcode|}}} | [[In postal code::{{{postalcode}}}]] }} {{#if: {{{city|}}} | [[In city::{{{city}}}]] | ? }}
| {{#if: {{{postalcode|}}}  
  | [[In postal code::{{{postalcode}}}]]  
  }} {{#if: {{{city|}}} | [[In city::{{{city}}}]] | ? }}
|}
|}
|-
|-
! style="vertical-align: top;" | {{#switch: {{{lang|}}} | fr = Ville | nl = Stad | City }}
! style="vertical-align: top;" | {{#switch: {{{lang|}}}  
  | fr = Ville  
  | nl = Stad  
  | City
  }}
|-  
|-  
{{#if: {{{participants|}}} |
{{#if: {{{participants|}}} |
! style="vertical-align: top;" {{!}} {{#switch: {{{lang|}}} | fr = Participants | nl = Aanwezigen | Attendees }}
! style="vertical-align: top;" {{!}} {{#switch: {{{lang|}}}  
{{!}} {{#arraymap: {{{participants}}}|,|x|{{#set: Has attendee=x}}x}}
  | fr = Participants  
  | nl = Aanwezigen  
  | Attendees  
  }}
{{!}} {{#arraymap: {{{participants}}}|,|x|[[Has attendee::<q>x</q>]]}}
{{!}}- }}  
{{!}}- }}  
{{#if: {{{absentees|}}} |
{{#if: {{{absentees|}}} |
! style="vertical-align: top;" {{!}} {{#switch: {{{lang|}}} | fr = Excusés | Absentees }}
! style="vertical-align: top;" {{!}} {{#switch: {{{lang|}}}  
{{!}} {{#arraymap: {{{absentees}}}|,|x|{{#set: Has absentee=x}}x}}
  | fr = Excusés  
  | nl = Absentees
  | Absentees
  }}
{{!}} {{#arraymap: {{{absentees}}}|,|x|[[Has absentee::<q>x</q>]]}}
{{!}}- }}
{{!}}- }}
| colspan=2 |  
| colspan=2 |  
Line 46: Line 80:
       }}
       }}
     }}{{#if: {{#var:prev|}}  
     }}{{#if: {{#var:prev|}}  
     | [[{{#var: prev}} | {{#switch: {{{lang|}}} | fr = Réunion précédente | Previous meeting }}]]  
     | [[{{#var: prev}} | {{#switch: {{{lang|}}}  
      | fr = Réunion précédente  
      | nl = Previous meeting
      | Previous meeting  
      }}]]  
     }}  
     }}  
   }}
   }}
Line 60: Line 98:
       }}  
       }}  
     }}{{#if: {{#var:next|}}  
     }}{{#if: {{#var:next|}}  
     | [[{{#var: next}} | {{#switch: {{{lang|}}} | fr = Réunion suivante | Next meeting }}]]  
     | [[{{#var: next}} | {{#switch: {{{lang|}}}  
      | fr = Réunion suivante  
      | nl = Next meeting
      | Next meeting  
      }}]]  
     }}  
     }}  
   }}
   }}
Line 72: Line 114:
     |city={{{city|}}}
     |city={{{city|}}}
     }}  
     }}  
   }}{{#if: {{#var: coords}} |
   }}{{#if: {{#var: coords}}  
{{!}} colspan=2 {{!}} {{#display_map: {{#var: coords}} | height = 225px }}{{#set: Has coordinates={{#var: coords}} }}
  | {{!}} colspan=2 {{!}} {{#display_map: {{#var: coords}} | height = 225px }} [[Has coordinates::{{#var:coords}}| ]]
}} }}
  }}  
|} {{#if: {{{nocat|}}} | | [[Category:Event]] [[Category:Meeting]] }} [[In language::{{{lang|en}}}| ]] [[Has default form::Meeting event| ]] [[Has event type::Meeting| ]]</includeonly><noinclude>{{MeetingSidebar
}}
|} {{#if: {{{nocat|}}}  
  | <!-- no categories -->
  | [[Category:Event]] [[Category:Meeting]]  
  }} [[In language::{{{lang|en}}}| ]] [[Has default form::Meeting event| ]] [[Has event type::Meeting| ]]</includeonly><noinclude>{{MeetingSidebar
|lang = en
|lang = en
|meetingname = Our awesome meeting
|meetingname = Our awesome meeting

Revision as of 17:47, 8 February 2017

Our awesome meeting
Workgroup An awesome team
Date Mon 14 November 2016
Time 12:00am
Venue Flying Dutchman
Address
Treasure Island 666
9000 Atlantica
City
Attendees Jack, Mary, Jurgen
Absentees Paul, Eve
Loading map...

Usage

{{MeetingSidebar
|lang = en
|meetingname = Our awesome meeting
|workgroup = An awesome team
|date = 14 nov 2016
|time = 12:00am
|place = Flying Dutchman
|address = Treasure Island 666
|postalcode = 9000
|city = Atlantica
|participants = Jack, Mary, Jurgen
|absentees = Paul, Eve
|agenda = #Agenda
|minutes = #Minutes
}}