Template:CalendarEvent: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
(swap icon for piratebeer and meeting)
(change meeting icon)
Line 3: Line 3:
   <div class="title">{{#if: {{{?type|}}}
   <div class="title">{{#if: {{{?type|}}}
| [[File:{{#switch: {{{?type|}}}
| [[File:{{#switch: {{{?type|}}}
   | Meeting = Toicon-icon-avocado-chat.svg
   | Meeting = Toicon-icon-avocado-discuss.svg
   | PirateBeer = Toicon-icon-avocado-cheer.svg
   | PirateBeer = Toicon-icon-avocado-cheer.svg
   | External = Toicon-icon-avocado-schedule.svg
   | External = Toicon-icon-avocado-schedule.svg

Revision as of 20:31, 29 October 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}}}]]

PirateBeer

Meeting

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