Template:LastEvent: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ask: {{#if: {{{type|}}}  
<includeonly>{{#ask: {{#if: {{{type|}}}  
   | [[Has event type::{{{type}}}]]  
   | [[Has event type::{{#arraymap:{{{type}}}|,|x|x|{{!}}{{!}}}}]]  
   | [[Has event type::+]]  
   | [[Has event type::+]]  
   }} [[Organized by::{{{1|+}}}]] [[Has date::<{{#time:Y/m/j|now}}]]
   }} {{#if: {{{1|}}} | [[Organized by::{{#arraymap:{{{1}}}|,|x|x|{{!}}{{!}}}}]] }} [[Has date::<{{#time:Y/m/j|now}}]]
|?Has page
|?Has page=page
|?Has title
|?Has title=title
|?Has date#ISO
|?Has date#ISO=date
|?Has time
|?Has time=time
|?In venue
|?In venue=venue
|?Has link venue
|?Has link venue=linkvenue
|?Has address
|?Has address=address
|?In city
|?In city=city
|?In postal code#
|?In postal code#=postalcode
|?Organized by
|?Organized by=workgroup
|?In topic=topics
|mainlabel=-
|mainlabel=-
|format=list
|format=list
Line 27: Line 28:
}} {{#ifeq: {{{formlink|true}}} | true  
}} {{#ifeq: {{{formlink|true}}} | true  
| <br /><span style="float:right;">''{{NewEvent|{{{1|}}}|type={{{type|}}}|preload={{{preload|}}}}}''</span><br />
| <br /><span style="float:right;">''{{NewEvent|{{{1|}}}|type={{{type|}}}|preload={{{preload|}}}}}''</span><br />
}} {{#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 ==


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


{{LastEvent|Crew BW|nomap=false}}
{{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