Template:Event: Difference between revisions

From Technologia Incognita
Jump to navigation Jump to search
Use {{!}} to replace | in if condition
Remove Date and Time
Line 18: Line 18:
|-
|-
! style="background-color:#DDDDDD;" | Start
! style="background-color:#DDDDDD;" | Start
| {{#set: Start={{{Start|}}}}} {{{Start|}}}
| {{#set: Start={{{Start|}}}}} {{#set: Date={{{Start|}}}}} {{{Start|}}}
|-
|-
! style="background-color:#DDDDDD;" | End
! style="background-color:#DDDDDD;" | End
| {{#set: End={{{End|}}}}} {{{End|}}}
| {{#set: End={{{End|}}}}} {{{End|}}}
|-
|-
{{#if:{{{Date|}}}|
! 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
| {{#arraymap:{{{Location|}}}|,|x|[[Location::x]]}}
| {{#arraymap:{{{Location|}}}|,|x|[[Location::x]]}}

Revision as of 16:43, 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.