Project:Events: Difference between revisions
From MoHA Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<div id="event-tabs" class="mx-auto my-4"> | <div id="event-tabs" class="mx-auto my-4">{{#vardefine: timely|{{#ask: | ||
[[Category:Events]] | [[Category:Events]] | ||
[[Date Start::>>{{#time: Y-m-d|now}}]] | [[Date Start::>>{{#time: Y-m-d|now}}]] | ||
[[Modification date::+]] | [[Modification date::+]] | ||
|format=count | |format=count | ||
}} > 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{{# | |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: | -->Current ({{#ask: | ||
Line 21: | Line 17: | ||
}})</span></li><!-- | }})</span></li><!-- | ||
--><li class="nav-item" role="upcoming-events"><span class="moha-button {{#ifexpr: 0{{# | --><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: | -->Upcoming ({{#ask: | ||
Line 50: | Line 36: | ||
</ul> | </ul> | ||
<div class="tab-content py-4" 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:Events]] | [[Category:Events]] | ||
Line 79: | Line 65: | ||
}} | }} | ||
</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:Events]] | [[Category:Events]] |
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