Project:Events: Difference between revisions
From MoHA Wiki
No edit summary |
No edit summary |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div id="event-tabs"> | <div id="event-tabs" class="mx-auto my-4">{{#vardefine: timely|{{#ask: | ||
<ul class="nav nav-tabs | [[Category:Events]] | ||
--><li class="nav-item" role="current-events"><span class="moha-button h5 py-3 px-4 m-1 d-block" id="current-events-tab" data-toggle="tab" data-target="#current-events" type="button" role="tab" aria-controls="current-events" aria-selected="false"><!-- | [[Date Start::>>{{#time: Y-m-d|now}}]] | ||
[[Modification date::+]] | |||
|format=count | |||
|default=0 | |||
}}}} | |||
<ul class="nav nav-tabs m-0 border-bottom-0" id="myTab" role="tablist"><!-- | |||
--><li class="nav-item" role="current-events"><span class="moha-button {{#ifexpr: 0{{#var:timely}} > 0||active}} h5 py-3 px-4 m-1 d-block" id="current-events-tab" data-toggle="tab" data-target="#current-events" type="button" role="tab" aria-controls="current-events" aria-selected="{{#ifexpr: 0{{#var:timely}} > 0|false|true}}"><!-- | |||
-->Current ({{#ask:[[Category: | -->Current ({{#ask: | ||
[[Category:Events]] | |||
[[Date Start::<{{#time: Y-m-d|now}}]] | |||
[[Date End::>{{#time: Y-m-d|now}}]] | |||
[[Modification date::+]] | |||
|format=count | |||
}})</span></li><!-- | |||
--><li class="nav-item" role="upcoming-events"><span class="moha-button active h5 py-3 px-4 m-1 d-block" id="upcoming-events-tab" data-toggle="tab" data-target="#upcoming-events" type="button" role="tab" aria-controls="upcoming-events" aria-selected="true"><!-- | --><li class="nav-item" role="upcoming-events"><span class="moha-button {{#ifexpr: 0{{#var:timely}} > 0|active}} h5 py-3 px-4 m-1 d-block" id="upcoming-events-tab" data-toggle="tab" data-target="#upcoming-events" type="button" role="tab" aria-controls="upcoming-events" aria-selected="{{#ifexpr: 0{{#var:timely}} > 0|true}}"><!-- | ||
-->Upcoming ({{#ask:[[Category: | -->Upcoming ({{#ask: | ||
[[Category:Events]] | |||
[[Date Start::>>{{#time: Y-m-d|now}}]] | |||
[[Modification date::+]] | |||
|format=count | |||
}})</span></li><!-- | |||
--><li class="nav-item" role="past-events"><span class="moha-button h5 py-3 px-4 m-1 d-block" id="past-events-tab" data-toggle="tab" data-target="#past-events" type="button" role="tab" aria-controls="past-events" aria-selected="false"><!-- | --><li class="nav-item" role="past-events"><span class="moha-button h5 py-3 px-4 m-1 d-block" id="past-events-tab" data-toggle="tab" data-target="#past-events" type="button" role="tab" aria-controls="past-events" aria-selected="false"><!-- | ||
-->Past ({{#ask:[[Category: | -->Past ({{#ask: | ||
[[Category:Events]] | |||
[[Modification date::+]] | |||
[[Date End::<<{{#time: Y-m-d|now}}]] | |||
|format=count | |||
}})</span></li> | |||
</ul> | </ul> | ||
<div class="tab-content" id="myTabContent"> | <div class="tab-content py-4" id="myTabContent"> | ||
<div class="tab-pane fade" id="current-events" role="tabpanel" aria-labelledby="current-events-tab"> | <div class="tab-pane fade {{#ifexpr: 0{{#var:timely}} > 0||show active}}" id="current-events" role="tabpanel" aria-labelledby="current-events-tab"> | ||
{{#ask: | {{#ask: | ||
[[Category: | [[Category:Events]] | ||
[[Date Start::<{{#time: Y-m-d|now}}]] | |||
[[Date End::>{{#time: Y-m-d|now}}]] | |||
[[Modification date::+]] | [[Modification date::+]] | ||
|format=plainlist | |format=plainlist | ||
|template=Event announce | |template=Event announce | ||
|link=none | |||
|headers=hide | |||
|mainlabel=Event | |mainlabel=Event | ||
|?Event image | |?Event image | ||
Line 26: | Line 52: | ||
|?Date End | |?Date End | ||
|?Event format | |?Event format | ||
|?Event location | |?Event location | ||
|?Is public | |?Is public | ||
|?Event admission type | |?Event admission type | ||
|named | |?Event admission price# | ||
|?Event admission price sliding low# | |||
|?Event admission price sliding high# | |||
|named args=yes | |||
|sort=Date Start | |sort=Date Start | ||
|order=desc | |order=desc | ||
|valuesep=; | |||
|manysep=; | |||
}} | }} | ||
</div> | </div> | ||
<div class="tab-pane fade show active" id="upcoming-events" role="tabpanel" aria-labelledby="upcoming-events-tab"> | <div class="tab-pane fade {{#ifexpr: 0{{#var:timely}} > 0|show active}}" id="upcoming-events" role="tabpanel" aria-labelledby="upcoming-events-tab"> | ||
{{#ask: | {{#ask: | ||
[[Category: | [[Category:Events]] | ||
[[Date Start::>>{{#time: Y-m-d|now}}]] | |||
[[Modification date::+]] | [[Modification date::+]] | ||
|format=plainlist | |format=plainlist | ||
|template=Event announce | |template=Event announce | ||
|link=none | |||
|headers=hide | |||
|mainlabel=Event | |mainlabel=Event | ||
|?Event image | |?Event image | ||
Line 47: | Line 80: | ||
|?Date End | |?Date End | ||
|?Event format | |?Event format | ||
|?Event location | |?Event location | ||
|?Is public | |?Is public | ||
|?Event admission type | |?Event admission type | ||
|named | |?Event admission price# | ||
|?Event admission price sliding low# | |||
|?Event admission price sliding high# | |||
|named args=yes | |||
|sort=Date Start | |sort=Date Start | ||
|order=desc | |order=desc | ||
|valuesep=; | |||
|manysep=; | |||
}} | }} | ||
</div> | </div> | ||
<div class="tab-pane fade" id="past-events" role="tabpanel" aria-labelledby="past-events-tab"> | <div class="tab-pane fade" id="past-events" role="tabpanel" aria-labelledby="past-events-tab"> | ||
{{#ask: | {{#ask: | ||
[[Category: | [[Category:Events]] | ||
[[Modification date::+]] | [[Modification date::+]] | ||
[[Date End::<<{{#time: Y-m-d|now}}]] | |||
|format=plainlist | |format=plainlist | ||
|template=Event announce | |template=Event announce | ||
|link=none | |||
|headers=hide | |||
|mainlabel=Event | |mainlabel=Event | ||
|?Event image | |?Event image | ||
Line 68: | Line 108: | ||
|?Date End | |?Date End | ||
|?Event format | |?Event format | ||
|?Event location | |?Event location | ||
|?Is public | |?Is public | ||
|?Event admission type | |?Event admission type | ||
|named | |?Event admission price# | ||
|?Event admission price sliding low# | |||
|?Event admission price sliding high# | |||
|named args=yes | |||
|sort=Date Start | |sort=Date Start | ||
|order=desc | |order=desc | ||
|limit=10 | |limit=10 | ||
|searchlabel= | |searchlabel= | ||
|valuesep=; | |||
|manysep=; | |||
}} | }} | ||
[[:Category:Past Events|All past events]] | |||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> |
Latest revision as of 08:46, December 19, 2023
11.16.24–03.01.25
Installation | Exhibition
Free
November 17, 2024 | 4pm–5pm
Performance | Installation
Donation