Template:Event: Difference between revisions
Jump to navigation
Jump to search
Darenwelsh (talk | contribs) (move #set: calls up to first part of template) |
Bryandamon (talk | contribs) (Removed copywatchers template.) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 6: | Line 6: | ||
-->{{#set:Name={{#var:name}}}}<!-- | -->{{#set:Name={{#var:name}}}}<!-- | ||
-->{{#set:Short | -->{{#set:Short Name={{#ifeq:{{{mwstake-meeting|}}}|Yes|MWstake Meeting|{{{title}}}}}}}<!-- | ||
-->{{#set:MWstake Meeting={{#ifeq:{{{mwstake-meeting|}}}|Yes|Yes|No}}}}<!-- | -->{{#set:MWstake Meeting={{#ifeq:{{{mwstake-meeting|}}}|Yes|Yes|No}}}}<!-- | ||
-->{{#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}}}}<!-- | ||
Line 21: | Line 21: | ||
{{Optional Table Row|[[Image:Blank.png|24px|link=]] Date (UTC)|{{#show:{{FULLPAGENAME}}|?Start Date}} - {{#show:{{FULLPAGENAME}}|?End Date}}}} | {{Optional Table Row|[[Image:Blank.png|24px|link=]] Date (UTC)|{{#show:{{FULLPAGENAME}}|?Start Date}} - {{#show:{{FULLPAGENAME}}|?End Date}}}} | ||
{{Optional Table Row|[[Image:Blank.png|24px|link=]] URL|{{{url|}}}}} | {{Optional Table Row|[[Image:Blank.png|24px|link=]] URL|{{{url|}}}}} | ||
{{#ifeq:{{{mwstake-meeting|}}}|Yes|{{Optional Table Row|[[Image:Blank.png|24px|link=]] Etherpad|https://etherpad.wikimedia.org/p/mwstake-{{#show:{{FULLPAGENAME}}|?Start Date#GR-F[Y-m]}}}}}} | |||
{{Optional Table Row|[[Image:Tag.png|24px|link=]] Tags|{{{tags|}}}|{{#invoke:Utilities|parseMultiple|{{{tags}}}|Tag Link|,}}}} | {{Optional Table Row|[[Image:Tag.png|24px|link=]] Tags|{{{tags|}}}|{{#invoke:Utilities|parseMultiple|{{{tags}}}|Tag Link|,}}}} | ||
{{Optional Table Row|[[Image:Person.png|24px|link=]] Attendees|{{{attendees|}}}|{{#invoke:Utilities|parseMultiple|{{{attendees}}}|Person Link|,}}}} | {{Optional Table Row|[[Image:Person.png|24px|link=]] Attendees|{{{attendees|}}}|{{#invoke:Utilities|parseMultiple|{{{attendees}}}|Person Link|, }}}} | ||
|} | |} | ||
<span class="pops" style="font-weight:bold;">{{#if:{{{start-hour|}}}|[https://www.timeanddate.com/worldclock/fixedtime.html?iso={{#show:{{FULLPAGENAME}}|?Start Date#-F[Ymd]}}T{{{start-hour}}}{{{start-minute|00}}} Click for time zone conversion]}}</span> | <span class="pops" style="font-weight:bold;">{{#if:{{{start-hour|}}}|[https://www.timeanddate.com/worldclock/fixedtime.html?iso={{#show:{{FULLPAGENAME}}|?Start Date#-F[Ymd]}}T{{{start-hour}}}{{{start-minute|00}}} Click for time zone conversion]}}</span> | ||
Line 34: | Line 35: | ||
{{DEFAULTSORT:{{#ifeq:{{{mwstake-meeting|}}}|Yes|MWstake Meeting|{{{title}}}}}}} | {{DEFAULTSORT:{{#ifeq:{{{mwstake-meeting|}}}|Yes|MWstake Meeting|{{{title}}}}}}} | ||
[[Category:Events]] | [[Category:Events]] | ||
</div> | </div> | ||
</includeonly> | </includeonly> |
Latest revision as of 17:57, 13 May 2024