Template:Events: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
mNo edit summary
(show meeting for abandoned and done projects as well)
 
(15 intermediate revisions by the same user not shown)
Line 4: Line 4:
   | [[Has event type::+]]
   | [[Has event type::+]]
   }} {{#if: {{{1|}}}  
   }} {{#if: {{{1|}}}  
   | [[Organized by::{{#arraymap:{{{1}}}|,|x|x|{{!}}{{!}}}}{{#ask: [[Category:Project]] [[In topic::{{{1}}}]] [[Has status::active]]
   | [[Organized by::{{#arraymap:{{{1}}}|,|x|x|{{!}}{{!}}}}{{#ask: [[Category:Project]] [[In topic::{{#arraymap:{{{1}}}|,|x|x|{{!}}{{!}}}}{{#ask: [[Category:Topic]] [[Has parent::{{{1}}}]]
      | link = none
      | intro = {{!}}{{!}}
      | sep = {{!}}{{!}}
      }}]] [[Has status::doing||active||inactive||done||abandoned]] OR [[Category:Project]] [[Organized by::{{#arraymap:{{{1}}}|,|x|x|{{!}}{{!}}}}]] [[Has status::doing||active||inactive||done||abandoned]]
     | link = none
     | link = none
     | intro = {{!}}{{!}}
     | intro = {{!}}{{!}}
     | sep = {{!}}{{!}}
     | sep = {{!}}{{!}}
     }}]]  
     }}]]
   }} {{#if: {{{start|}}}  
   }} {{#if: {{{start|}}}  
   | [[Has date::>{{#time:Y/m/j|{{{start}}} }}]]  
   | [[Has date::>{{#time:Y/m/j|{{{start}}} }}]]  
Line 17: Line 21:
   | [[Has event type::+]]
   | [[Has event type::+]]
   }} {{#if: {{{1|}}}  
   }} {{#if: {{{1|}}}  
   | [[In topic::{{#arraymap:{{{1}}}|,|x|x|{{!}}{{!}}}}]]  
   | [[In topic::{{#arraymap:{{{1}}}|,|x|x|{{!}}{{!}}}}{{#ask: [[Category:Topic]] [[Has parent::{{{1}}}]]
    | link = none
    | intro = {{!}}{{!}}
    | sep = {{!}}{{!}}
    }}]]  
   }} {{#if: {{{start|}}}  
   }} {{#if: {{{start|}}}  
   | [[Has date::>{{#time:Y/m/j|{{{start}}} }}]]  
   | [[Has date::>{{#time:Y/m/j|{{{start}}} }}]]  
Line 23: Line 31:
   | [[Has date::<{{#time:Y/m/j|{{{end}}} }}]]  
   | [[Has date::<{{#time:Y/m/j|{{{end}}} }}]]  
   }}
   }}
| ?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
| ?Has event type=type
| ?In topic=topics
| ?Has location=location
| mainlabel = -
| mainlabel = -
| format = {{#switch: {{{format|}}}  
| format = {{#switch: {{{format|}}}  
Line 44: Line 55:
   | list =  
   | list =  
   | ul =
   | ul =
  | calendar =
   | {{#if: {{{1|}}}
   | {{#if: {{{1|}}}
     | {{#switch: {{{type|}}}
     | {{#switch: {{{type|}}}
Line 58: Line 70:
   | list = Event item  
   | list = Event item  
   | ul = Event item
   | ul = Event item
  | calendar = CalendarEvent
   | {{#if: {{{1|}}}  
   | {{#if: {{{1|}}}  
     | Table event
     | Table event
Line 66: Line 79:
   | list =  
   | list =  
   | ul =
   | ul =
  | calendar =
   | Table outro
   | Table outro
   }}
   }}
Line 79: Line 93:
   | {{#switch: {{{type|}}}
   | {{#switch: {{{type|}}}
     | Meeting = {{int:event-show-more-meetings}}
     | Meeting = {{int:event-show-more-meetings}}
     | PirateBeer = {{int:event-show-more-pirate-beers}}
     | PirateDrink = {{int:event-show-more-pirate-drinks}}
     | {{int:event-show-more}}
     | {{int:event-show-more}}
     }}
     }}
Line 88: Line 102:
   | list = 1  
   | list = 1  
   | ul = 1
   | ul = 1
  | calendar = 1
   | 0
   | 0
   }}
   }}
Line 117: Line 132:
=== Future events by [[Pirates de Liège]] ===
=== Future events by [[Pirates de Liège]] ===


  <nowiki>{{Events|Pirates de Liège|start=now|order=asc}}</nowiki>
  <nowiki>{{Events|Pirates de Liège|format=calendar|start=now|order=asc}}</nowiki>


{{Events|Pirates de Liège|start=now|order=asc}}
{{Events|Pirates de Liège|format=calendar|start=now|order=asc}}


=== Future [[Pirate Lab]] ===
=== Future [[Pirate Lab]] ===

Latest revision as of 12:17, 5 April 2020

Usage

{{Events|An awesome crew|type=Event|start=now|order=desc|limit=10|preload=page|format=table|formlink=true|export=true|more=true}}

Examples

No event

{{Events|An awesome crew}}

There is no event for An awesome crew.Add a new event
Export for iCalendar

Events by Crew BW

{{Events|Crew BW|limit=5}}


Event Date Venue
Toicon-icon-avocado-schedule.svg 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
Toicon-icon-avocado-cheer.svg Pirate Drink (Louvain-la-Neuve) Fri 21 February 2020, 7:30pm Black Friars – rue René Magritte 7
1348 Louvain-la-Neuve
Toicon-icon-avocado-cheer.svg Pirate Drink (Louvain-La-Neuve) Thu 31 October 2019, 7:30pm The Blackfriars Pub – rue René Magritte 7
1348 Louvain-La-Neuve
Toicon-icon-avocado-cheer.svg Pirate Drink (Louvain-La-Neuve) Fri 27 September 2019, 7:30pm The Blackfriars Pub – rue René Magritte 7
1348 Louvain-La-Neuve
Toicon-icon-avocado-schedule.svg Débat sans conférence: Décroissance vs illimitation, une attitude réactionnaire ? Mon 3 June 2019, 8:00pm Maison du Développement Durable – pl. Agora 2
1348 Louvain-la-Neuve

Show moarr events!Add a new event
Export for iCalendar

Future events by Pirates de Liège

{{Events|Pirates de Liège|format=calendar|start=now|order=asc}}

There is no event for Pirates de Liège.Add a new event
Export for iCalendar

Future Pirate Lab

This example will preload the content of this page to create an new meeting.

{{Events|Pirate Lab|type=Meeting|format=list|start=now|preload=Template:EmptyPirateLab/Preload}}

There is no meeting for Pirate Lab.


Add a new meeting
Export for iCalendar