Template:Event: Difference between revisions

From Technologia Incognita
Jump to navigation Jump to search
Put if on same line, table entry on new line
Tag: Reverted
Don't put them on the same line anymore
Tag: Manual revert
Line 20: Line 20:
! style="background-color:#DDDDDD;" {{!}} Start
! style="background-color:#DDDDDD;" {{!}} Start
{{!}} {{#set: Start={{{Start|}}}}} {{#set: Date={{{Start|}}}}} {{{Start|}}}
{{!}} {{#set: Start={{{Start|}}}}} {{#set: Date={{{Start|}}}}} {{{Start|}}}
}}{{#if:{{{End|}}}|
}}
{{#if:{{{End|}}}|
{{!}}-
{{!}}-
! style="background-color:#DDDDDD;" {{!}} End
! style="background-color:#DDDDDD;" {{!}} End
{{!}} {{#set: End={{{End|}}}}} {{{End|}}}
{{!}} {{#set: End={{{End|}}}}} {{{End|}}}
}}{{#if:{{{Date|}}}|
}}
{{#if:{{{Date|}}}|
{{!}}-
{{!}}-
! style="background-color:#DDDDDD;" {{!}} Date
! style="background-color:#DDDDDD;" {{!}} Date
{{!}} [[Date::{{{Date|}}}]]
{{!}} [[Date::{{{Date|}}}]]
}}{{#if:{{{Time|}}}|
}}
{{#if:{{{Time|}}}|
{{!}}-
{{!}}-
! style="background-color:#DDDDDD;" {{!}} Time
! style="background-color:#DDDDDD;" {{!}} Time

Revision as of 17:00, 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.