Template:NextEvent: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(20 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:
|searchlabel=
|searchlabel=
|named args=1
|named args=1
|default={{LastEvent|{{{1|+}}}|type={{{type|}}}|lang={{{lang|}}}|preload={{{preload|}}}|formlink=false}}
|userparam={{{nomap|true}}}
}}{{#switch: {{{type|Event}}}  
|default={{LastEvent|{{{1|}}}|type={{{type|}}}|preload={{{preload|}}}|formlink=false|nomap={{{nomap|true}}}|export={{{export|false}}}}}
| Event =  
}} {{#ifeq: {{{formlink|true}}} | true
| {{#ifeq: {{{formlink|true}}} | true  
| <br /><span style="float:right;">''{{NewEvent|{{{1|}}}|type={{{type|}}}|preload={{{preload|}}}}}''</span><br />
  | <br />{{NewEvent|{{{1|}}}|type=Meeting|lang={{{lang|}}}|preload={{{preload|}}}}}
}} {{#ifeq: {{{export|false}}} | true  
  }}
| <span style="float:right">''{{ExportEvent|workgroup={{{1|}}}|type={{{type|}}}|date=now|text={{int:event-export-for|iCalendar}} }}''</span><br />
}}</includeonly><noinclude>
}}</includeonly><noinclude>
== Example ==
== Example ==
Line 36: Line 41:
== No future event ==
== No future event ==


  <nowiki>{{NextEvent|Coreteam}}</nowiki>
  <nowiki>{{NextEvent|Coreteam|nomap=false}}</nowiki>


{{NextEvent|Coreteam}}
{{NextEvent|Coreteam|nomap=false}}


== [[Crew BW]] ==
== [[Crew BW]] ==


  <nowiki>{{NextEvent|Crew BW|lang=fr}}</nowiki>
  <nowiki>{{NextEvent|Crew BW|export=true}}</nowiki>


{{NextEvent|Crew BW|lang=fr}}</noinclude>
{{NextEvent|Crew BW|export=true}}</noinclude>

Latest revision as of 17:09, 29 October 2017

Example

No events

{{NextEvent|An awesome Crew}}

There is no event for An awesome Crew.
Add a new event

No future event

{{NextEvent|Coreteam|nomap=false}}

Coreteam Meeting
Sun 1 March 2015, 2:00pm
Brussels Office – Rue Gérard 47A
1040 Etterbeek
Add a new event

Crew BW

{{NextEvent|Crew BW|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 Export for iCalendar

Add a new event
Export for iCalendar