Template:CalendarEvent/sandbox: Difference between revisions

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

Revision as of 15:03, 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}}}]]