Template:CalendarEvent: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 4: Line 4:
| [[File:{{#switch: {{{?type|}}}
| [[File:{{#switch: {{{?type|}}}
   | Meeting = Toicon-icon-avocado-discuss.svg
   | Meeting = Toicon-icon-avocado-discuss.svg
  | PirateBeer = Toicon-icon-avocado-cheer.svg
   | PirateDrink = Toicon-icon-avocado-cheer.svg
   | PirateDrink = Toicon-icon-avocado-cheer.svg
   | External = Toicon-icon-avocado-schedule.svg
   | External = Toicon-icon-avocado-schedule.svg

Revision as of 12:06, 5 November 2017

Usage

{{CalendarEvent
| page = <!-- mandatory -->
| title =
| date =  <!-- mandatory, format = yyyy/mm/dd -->
| time = <!-- optional, format = hh:mm -->
| workgroup =
| topics =
| location = 
| type = 
}}

Example

External event

<time datetime="Error: Invalid time." class="date">
Error: Invalid time.
Error: Invalid time.
Error: Invalid time.
 
[[{{{?page}}}]]

PirateDrink

<time datetime="Error: Invalid time." class="date">
Error: Invalid time.
Error: Invalid time.
Error: Invalid time.
 
[[{{{?page}}}]]

Meeting

<time datetime="Error: Invalid time." class="date">
Error: Invalid time.
Error: Invalid time.
Error: Invalid time.
 
[[{{{?page}}}]]