Template:CalendarEvent/sandbox: Difference between revisions

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

Revision as of 17:41, 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}}}]]