Template:Event: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Make End, Date and Time fields also optional in template |
||
Line 21: | Line 21: | ||
{{!}} {{#set: Start={{{Start|}}}}} {{#set: Date={{{Start|}}}}} {{{Start|}}} | {{!}} {{#set: Start={{{Start|}}}}} {{#set: Date={{{Start|}}}}} {{{Start|}}} | ||
}} | }} | ||
|- | {{#if:{{{End|}}}| | ||
! style="background-color:#DDDDDD;" | {{!}}- | ||
! style="background-color:#DDDDDD;" {{!}} End | |||
|- | {{!}} {{#set: End={{{End|}}}}} {{{End|}}} | ||
! style="background-color:#DDDDDD;" | }} | ||
{{#if:{{{Date|}}}| | |||
|- | {{!}}- | ||
! style="background-color:#DDDDDD;" | ! style="background-color:#DDDDDD;" {{!}} Date | ||
{{!}} [[Date::{{{Date|}}}]] | |||
}} | |||
{{#if:{{{Time|}}}| | |||
{{!}}- | |||
! style="background-color:#DDDDDD;" {{!}} Time | |||
{{!}} [[Time::{{{Time|}}}]] | |||
}} | |||
|- | |- | ||
! style="background-color:#DDDDDD;" | Location | ! style="background-color:#DDDDDD;" | Location |
Revision as of 16:56, 12 February 2025
This is the "Event" template. It should be called in the following format:
{{Event |Start= |End= |Location= |EventType= |Contact= }}
Edit the page to see the template text.