Events: Difference between revisions
Appearance
Dustin Loup (talk | contribs) No edit summary |
Dustin Loup (talk | contribs) No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= | |||
{{#cargo_query: | <div style="width:75%;float:left;"><h2>Upcoming Events <span style="font-size:.7em;">[[Form:Event|+Add Event]]</span></h2>{{#cargo_query: | ||
|tables=Event | |tables=Event | ||
|fields=_pageName = Event,DATE_FORMAT(Start, "%M %e, %Y")=Start,DATE_FORMAT(End, "%M %e, %Y")=End,Country_or_Territory,Region | |fields=_pageName = Event,DATE_FORMAT(Start, "%M %e, %Y")=Start,DATE_FORMAT(End, "%M %e, %Y")=End,Country_or_Territory,Region | ||
|where=DATEDIFF(End,NOW()) >= 0 | |where=DATEDIFF(End,NOW()) >= 0 | ||
|order by=Start ASC | |||
|format=dynamic table | |format=dynamic table | ||
}} | }}</div> | ||
<div style="width:22%;float:right; background-color:#E8E8E8;padding:0 1em 1em 1em;height:600px"><h2>Calendar of Events</h2><br />[[File:Calendar-1.png|175px|center|link=IG_Hub/Calendar]]</div> | |||
<div style="clear:both;"></div> | |||
==Past Events== | ==Past Events== | ||
{{#cargo_query: | {{#cargo_query: | ||
Line 12: | Line 14: | ||
|fields=_pageName = Event,DATE_FORMAT(Start, "%M %e, %Y")=Start,DATE_FORMAT(End, "%M %e, %Y")=End,Country_or_Territory,Region | |fields=_pageName = Event,DATE_FORMAT(Start, "%M %e, %Y")=Start,DATE_FORMAT(End, "%M %e, %Y")=End,Country_or_Territory,Region | ||
|where=DATEDIFF(End,NOW()) <= 0 | |where=DATEDIFF(End,NOW()) <= 0 | ||
||order by=Start ASC | |||
|format=dynamic table | |format=dynamic table | ||
}} | }} |
Latest revision as of 20:01, 21 March 2018
Upcoming Events +Add Event
{{#cargo_query:|tables=Event |fields=_pageName = Event,DATE_FORMAT(Start, "%M %e, %Y")=Start,DATE_FORMAT(End, "%M %e, %Y")=End,Country_or_Territory,Region |where=DATEDIFF(End,NOW()) >= 0 |order by=Start ASC |format=dynamic table
}}Calendar of Events
Past Events
{{#cargo_query: |tables=Event |fields=_pageName = Event,DATE_FORMAT(Start, "%M %e, %Y")=Start,DATE_FORMAT(End, "%M %e, %Y")=End,Country_or_Territory,Region |where=DATEDIFF(End,NOW()) <= 0 ||order by=Start ASC |format=dynamic table }}