Template:Event: Difference between revisions
Jump to navigation
Jump to search
Don't put if on same line as previous if end Tag: Manual revert |
Ugly one liner might fix spacing Tag: Reverted |
||
Line 16: | Line 16: | ||
{| border="2" cellspacing="2" cellpadding="4" rules="all" style="float:right; clear:right; width:370px; margin:5px 0 1em 1em; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#FFFFFF; font-size:95%; empty-cells:hide" | {| border="2" cellspacing="2" cellpadding="4" rules="all" style="float:right; clear:right; width:370px; margin:5px 0 1em 1em; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#FFFFFF; font-size:95%; empty-cells:hide" | ||
|- style="font-size:150%; background: #CCCCCC; text-align:center;" | |- style="font-size:150%; background: #CCCCCC; text-align:center;" | ||
! colspan=2| | ! colspan=2| {{PAGENAME}} {{#if:{{{Start|}}}| {{!}}- ! style="background-color:#DDDDDD;" {{!}} Start {{!}} {{#set: Start={{{Start|}}}}} {{#set: Date={{{Start|}}}}} {{{Start|}}} }} {{#if:{{{End|}}}| {{!}}- ! style="background-color:#DDDDDD;" {{!}} End {{!}} {{#set: End={{{End|}}}}} {{{End|}}} }} {{#if:{{{Date|}}}| {{!}}- ! style="background-color:#DDDDDD;" {{!}} Date {{!}} [[Date::{{{Date|}}}]] }} {{#if:{{{Time|}}}| {{!}}- ! style="background-color:#DDDDDD;" {{!}} Time {{!}} [[Time::{{{Time|}}}]] }} | ||
{{#if:{{{Start|}}}| | |||
}} | |||
{{#if:{{{End|}}}| | |||
}} | |||
{{#if:{{{Date|}}}| | |||
}} | |||
{{#if:{{{Time|}}}| | |||
}} | |||
|- | |- | ||
! style="background-color:#DDDDDD;" | Location | ! style="background-color:#DDDDDD;" | Location |
Revision as of 17:15, 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.