Template:Event: Difference between revisions

From MWStake
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
|searchlabel=Export to calendar
|searchlabel=Export to calendar
}}
}}
{{#set:End Date={{#if:{{{end-date|}}}|{{{end-date}}}|{{{start-date}}}}} {{#if:{{{end-hour|}}}{{{end-minute|}}}|{{#if:{{{end-hour|}}}|{{{end-hour}}}|00}}:{{#if:{{{end-minute|}}}|{{{end-minute}}}|00}} UTC|{{#if:{{{start-hour|}}}{{start-minute|}}}|{{#if:{{{start-hour|}}}|{{{start-hour}}}|00}}:{{#if:{{{start-minute|}}}|{{{start-minute}}}|00}} UTC}}}}}}
<div style="display:none;">
<div style="display:none;">
{{#set:Name={{#ifeq:{{{mwstake-meeting|}}}|Yes|MWstake Meeting|{{{title}}}}}}}
{{#set:Name={{#ifeq:{{{mwstake-meeting|}}}|Yes|MWstake Meeting|{{{title}}}}}}}
Line 25: Line 23:
{{#if:{{{attendees|}}}|{{#invoke:Utilities|parseMultiple|{{{attendees}}}|Set Person}}}}
{{#if:{{{attendees|}}}|{{#invoke:Utilities|parseMultiple|{{{attendees}}}|Set Person}}}}
{{#set:Start Date={{{start-date}}} {{#if:{{{start-hour|}}}{{start-minute|}}}|{{#if:{{{start-hour|}}}|{{{start-hour}}}|00}}:{{#if:{{{start-minute|}}}|{{{start-minute}}}|00}} UTC}}}}
{{#set:Start Date={{{start-date}}} {{#if:{{{start-hour|}}}{{start-minute|}}}|{{#if:{{{start-hour|}}}|{{{start-hour}}}|00}}:{{#if:{{{start-minute|}}}|{{{start-minute}}}|00}} UTC}}}}
{{#set:End Date={{#if:{{{end-date|}}}|{{{end-date}}}|{{{start-date}}}}} {{#if:{{{end-hour|}}}{{{end-minute|}}}|{{#if:{{{end-hour|}}}|{{{end-hour}}}|00}}:{{#if:{{{end-minute|}}}|{{{end-minute}}}|00}} UTC|{{#if:{{{start-hour|}}}{{start-minute|}}}|{{#if:{{{start-hour|}}}|{{{start-hour}}}|00}}:{{#if:{{{start-minute|}}}|{{{start-minute}}}|00}} UTC}}}}}}
{{#arraymap:{{{url|}}}|,|@@@@|{{#set:Event URL={{{url|}}}}}
{{#arraymap:{{{url|}}}|,|@@@@|{{#set:Event URL={{{url|}}}}}
{{#set:Title Icon={{#ifeq:{{{mwstake-meeting|}}}|Yes|Meeting.png|Calendar.png}}}}
{{#set:Title Icon={{#ifeq:{{{mwstake-meeting|}}}|Yes|Meeting.png|Calendar.png}}}}

Revision as of 14:24, 5 March 2015