Template:Event: Difference between revisions

From Technologia Incognita
Jump to navigation Jump to search
Remove newline comment
Tag: Manual revert
Use conditional CSS instead
Tag: Reverted
Line 17: Line 17:
|- style="font-size:150%; background: #CCCCCC; text-align:center;"  
|- style="font-size:150%; background: #CCCCCC; text-align:center;"  
! colspan=2|  {{PAGENAME}}
! colspan=2|  {{PAGENAME}}
{{#if:{{{Start|}}}|
|-
  {{!}}-
! style="{{#if:{{{Start|}}}|{{#set: Start={{{Start|}}}}} {{#set: Date={{{Start|}}}}}|display: none;}}background-color:#DDDDDD;" | Start
  ! style="background-color:#DDDDDD;" {{!}} Start
| {{{Start|}}}
  {{!}} {{#set: Start={{{Start|}}}}} {{#set: Date={{{Start|}}}}} {{{Start|}}}
}}
}}
{{#if:{{{End|}}}|
{{#if:{{{End|}}}|
Line 32: Line 31:
   {{!}} [[Date::{{{Date|}}}]]
   {{!}} [[Date::{{{Date|}}}]]
}}
}}
{{#if:{{{Time|}}}|
|-
  {{!}}-
! style="{{#if:{{{Time|}}}||display: none;}}background-color:#DDDDDD;" | Time
  ! style="background-color:#DDDDDD;" {{!}} Time
| [[Time::{{{Time|}}}]]
  {{!}} [[Time::{{{Time|}}}]]
}}
|-
|-
! style="background-color:#DDDDDD;" | Location
! style="background-color:#DDDDDD;" | Location

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