Template:Event: Difference between revisions

From Technologia Incognita
Jump to navigation Jump to search
Use conditional CSS instead
Tag: Reverted
Undo revision 30262 by Thijs (talk)
Tag: Undo
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
  {{!}}-
| {{{Start|}}}
  ! style="background-color:#DDDDDD;" {{!}} Start
  {{!}} {{#set: Start={{{Start|}}}}} {{#set: Date={{{Start|}}}}} {{{Start|}}}
}}
}}
{{#if:{{{End|}}}|
{{#if:{{{End|}}}|
Line 31: Line 32:
   {{!}} [[Date::{{{Date|}}}]]
   {{!}} [[Date::{{{Date|}}}]]
}}
}}
|-
{{#if:{{{Time|}}}|
! style="{{#if:{{{Time|}}}||display: none;}}background-color:#DDDDDD;" | Time
  {{!}}-
| [[Time::{{{Time|}}}]]
  ! style="background-color:#DDDDDD;" {{!}} 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.