Project:Upcoming and Current Events: Difference between revisions
From MoHA Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{purge|Refresh the list of events|float-right}} | {{purge|Refresh the list of events|float-right}} | ||
<div class="alert alert-secondary"> | <div class="alert alert-secondary d-flex"><!-- | ||
--><span class="sorter-up d-none align-items-center"><i class="fas fa-sort-amount-up-alt fa-2x mr-2"></i> Toggle Sorting Order</span><!-- | |||
--><span class="sorter-down d-flex align-items-center"><i class="fas fa-sort-amount-down-alt fa-2x mr-2"></i> Toggle Sorting Order</span> | |||
</div> | |||
<div class="mb-3"><span class="badge badge-light fa-1x">Nearest First</span> {{#arraydefine: formats | |||
|{{#ask: | |||
[[Category:Events]] | |||
[[Date Start::>>{{#time: Y-m-d|now}}]] | |||
[[Modification date::+]] | |||
|mainlabel=- | |||
|headers=hide | |||
|?Event format | |||
|format=array | |||
|sep=, | |||
|manysep=, | |||
}} | |||
|, | |||
|unique, sort=asc | |||
}}<!-- -->{{#arraymap: {{#arrayprint: formats}} | |||
|, | |||
|@ | |||
|<span class="badge badge-secondary fa-1x">@</span> | |||
|\s | |||
}} | |||
</div> | |||
<div class="events"> | <div class="events"> | ||
{{#ask: | {{#ask: |