Upcoming Events: Difference between revisions
From MoHA Wiki
mNo edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<div class="mb-3 d-flex flex-column flex-lg-row justify-content-between events-monitor"> | |||
<div class="d-flex justify-content-center w-100 flex-wrap p-2 event-filters" style="gap: .25rem"><!-- | |||
--><span id="sortToggle" title="Toggle sort order (by start date)" class="badge rounded-0 fa-1x mb-1 align-items-center text-nowrap nowrap"><i class="fas fa-arrow-down"></i> <span id="sortOrderText" class="d-none d-md-inline"> Sorted ascending</span></span><!-- | |||
<!-- | |||
### Events | -->{{#arraydefine: formats | ||
|{{#ask: | |||
[[Category:Events]] | |||
[[Is public::true]] | |||
[[Date Start::>{{#time: Y-m-d|now}}]] | |||
[[Modification date::+]] | |||
OR | |||
[[Category:Events]] | |||
[[Is public::true]] | |||
[[Date Start::<{{#time: Y-m-d|now}}]] | |||
[[Date End::>>{{#time: Y-m-d|now}}]] | |||
[[Modification date::+]] | |||
|mainlabel=- | |||
|headers=hide | |||
|?Event format | |||
|limit=1000 | |||
|searchlabel= | |||
|format=array | |||
|sep=, | |||
|manysep=, | |||
}} | |||
|, | |||
|unique, sort=asc | |||
}}<!-- -->{{#arraymap: {{#arrayprint: formats}} | |||
|, | |||
|@ | |||
|<span id="{{lc:@}}" class="badge badge-light rounded-0 fa-1x mb-1 toggle">@</span> | |||
|\s | |||
}}<!-- | |||
--> | --><span class="d-flex align-items-center text-primary text-nowrap nowrap">{{purge|Refresh the list of events|badge rounded-0 fa-1x mb-1 align-items-center text-white text-nowrap nowrap|Reset}}</span><!-- | ||
<!-- | |||
# | -->[[Past Events|<span id="past-events" class="badge rounded-0 fa-1x d-block d-l-inline-block">Past events <i class="fas fa-arrow-right"></i></span>]] | ||
</div> | |||
{{# | </div> | ||
[[Category: | <div class="events"> | ||
{{#ask: | |||
[[Category:Events]] | |||
[[Is public::true]] | |||
[[Date Start::>{{#time: Y-m-d|now}}]] | |||
[[Modification date::+]] | |||
OR | |||
[[Category:Events]] | |||
[[Is public::true]] | |||
[[Date Start::<{{#time: Y-m-d|now}}]] | |||
[[Date End::>>{{#time: Y-m-d|now}}]] | |||
[[Modification date::+]] | [[Modification date::+]] | ||
|?Date Start | |format=plainlist | ||
|? | |template=Upcoming Events | ||
|link=none | |||
|headers=hide | |||
|mainlabel=Event | |||
|?Event image | |||
|?Event image caption | |||
|?Date Start#-F[F j, Y H:i] | |||
|?Date End#-F[F j, Y H:i] | |||
|?Event format | |?Event format | ||
|?Event | |?Event location | ||
| | |?Is public | ||
| | |?Event admission type | ||
|?Event admission price# | |||
|?Event admission price sliding low# | |||
|?Event admission price sliding high# | |||
|named args=yes | |named args=yes | ||
| | |valuesep=; | ||
| | |manysep=; | ||
|limit=1000 | |limit=1000 | ||
|searchlabel= | |||
}} | }} | ||
</div> | </div> | ||
Latest revision as of 17:28, July 5, 2024
September 28, 2024 | 6pm–9pm
Class
Free