Difference between revisions of "Template:CalendarEvent/sandbox"

From Pirate Party Belgium
Jump to: navigation, 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 18: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

LocationAssociation des Habitants de Louvain-la-Neuve – 3, scavée du Biéreau, Louvain-la-Neuve

PirateBeer

Meeting

LocationBlackfriars – rue René Magritte 7, Louvain-la-Neuve