Template:Event: Difference between revisions

From MWStake
Jump to navigation Jump to search
No edit summary
No edit summary
Line 23: 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-time|}}}|{{{end-time}}}|{{#if:{{{start-time|}}}|{{{start-time}}}}}}}
{{#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 13:44, 5 March 2015