Template:LastEvent: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
(Created page with "<includeonly>{{#ask: {{#if: {{{type|}}} | [[Category:{{{type}}}]] | Category:Event }} [[Organized by::{{{1|+}}}]] [[Has date::<{{#time:Y/m/j|now}}]] |?In language |?Has ti...")
 
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ask: {{#if: {{{type|}}} | [[Category:{{{type}}}]] | [[Category:Event]] }} [[Organized by::{{{1|+}}}]] [[Has date::<{{#time:Y/m/j|now}}]]
<includeonly>{{#ask: {{#if: {{{type|}}}  
|?In language
  | [[Has event type::{{#arraymap:{{{type}}}|,|x|x|{{!}}{{!}}}}]]  
|?Has title
  | [[Has event type::+]]  
|?Has date#ISO
  }} {{#if: {{{1|}}} | [[Organized by::{{#arraymap:{{{1}}}|,|x|x|{{!}}{{!}}}}]] }} [[Has date::<{{#time:Y/m/j|now}}]]
|?Has time
|?Has page=page
|?In venue
|?Has title=title
|?Has link venue
|?Has date#ISO=date
|?Has address
|?Has time=time
|?In city
|?In venue=venue
|?In postal code#
|?Has link venue=linkvenue
|?Organized by
|?Has address=address
|?In city=city
|?In postal code#=postalcode
|?Organized by=workgroup
|?In topic=topics
|mainlabel=-
|format=list
|format=list
|link=none
|link=none
Line 19: Line 24:
|named args=1
|named args=1
|searchlabel=
|searchlabel=
|default={{#if: {{{1|}}} | [[{{{1}}}]]
|userparam={{{nomap|true}}}
  | {{#switch: {{{lang|}}}  
|default={{NoEvent|{{{1|}}}|type={{{type|}}}}}
    | fr = Ce groupe de travail
}} {{#ifeq: {{{formlink|true}}} | true
    | nl = Deze werkgroep
| <br /><span style="float:right;">''{{NewEvent|{{{1|}}}|type={{{type|}}}|preload={{{preload|}}}}}''</span><br />
    | This workgroup
}} {{#ifeq: {{{export|false}}} | true  
    }}  
| <span style="float:right">''{{ExportEvent|workgroup={{{1|}}}|type={{{type|}}}|date=now|text={{int:event-export-for|iCalendar}} }}''</span><br />
  }} {{#switch: {{{lang|}}}  
  | fr = n'a pas encore organisé de {{#switch: {{{type|}}}  
    | Meeting = de réunions
    | PirateBeer = de pirate beer
    | d'évènements
    }}
  | nl = heeft nog geen {{#switch: {{{type|}}}
    | Meeting = samenkomst
    | PirateBeer = pirate beer
    | evenementen
    }} georganiseerd
  | haven't organized any {{#switch: {{{type|}}}
    | Meeting = meeting
    | PirateBeer = pirate beer
    | event
    }} yet
  }}.
}}{{#ifeq: {{{type|}}} | Meeting
| {{#ifeq: {{{formlink|true}}} | true  
  | <br />{{NewMeeting
    |{{{1|}}}
    |lang={{{lang|}}}
    |preload={{{preload|}}}
    }}
  }}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
== Example ==
== Example ==


  <nowiki>{{LastEvent|Crew BW|lang=fr}}</nowiki>
  <nowiki>{{LastEvent|Crew BW|nomap=false|export=true}}</nowiki>


{{LastEvent|Crew BW|lang=fr}}
{{LastEvent|Crew BW|nomap=false|export=true}}

Latest revision as of 16:10, 29 October 2017

Example

{{LastEvent|Crew BW|nomap=false|export=true}}

Débat sans conférence: Comment résister à l'invasion technologique ?
Mon 2 March 2020, 8:00pm
Association des Habitants de Louvain-la-Neuve – 3, scavée du Biéreau
1348 Louvain-la-Neuve
Add a new event
Export for iCalendar