Template:Upcoming Events: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 1: Line 1:
<div class="card mb-3 shadow-lg" data-public="{{{Is public|}}}" data-sort-start="{{#time:Ymd|{{{Date Start|}}}}}" data-sort-end="{{{Date End|}}}">
<div class="card mb-3 border rounded-0" data-public="{{{Is public|}}}" data-sort-start="{{#time:Ymd|{{{Date Start|}}}}}" data-sort-end="{{{Date End|}}}">
   <div class="row g-4">{{#if: {{{Event image|}}}
   <div class="row g-4">{{#if: {{{Event image|}}}
     |<div class="col-md-4 col-lg-3 ">[[File:{{PAGENAME:{{{Event image|}}}}}|class=w-100 h-auto|800px]]</div>
     |<div class="col-md-4 col-lg-3 ">[[File:{{PAGENAME:{{{Event image|}}}}}|class=w-100 h-auto|800px]]</div>
Line 65: Line 65:


--><div class="my-2">{{#if: {{#ask:[[-Has subobject::<q>[[{{{Event|}}}]][[Category:Current Events||Upcoming Events]]</q>]][[Event link::+]] }}
--><div class="my-2">{{#if: {{#ask:[[-Has subobject::<q>[[{{{Event|}}}]][[Category:Current Events||Upcoming Events]]</q>]][[Event link::+]] }}
     |<span class="moha-button mb-0 cta" style="max-width: 250px">[{{#ask:[[-Has subobject::<q>[[{{{Event|}}}]][[Category:Current Events||Upcoming Events]]</q>]][[Event link::+]]|?Event link|mainlabel=-|headers=hide|link=none|limit=1|searchlabel=}} {{#switch: {{{Event admission type|}}}
     |<span class="moha-button mb-0 cta">[{{#ask:[[-Has subobject::<q>[[{{{Event|}}}]][[Category:Current Events||Upcoming Events]]</q>]][[Event link::+]]|?Event link|mainlabel=-|headers=hide|link=none|limit=1|searchlabel=}} {{#switch: {{{Event admission type|}}}
       |Suggested Donation=RSVP
       |Suggested Donation=RSVP
       |Sliding Scale
       |Sliding Scale

Revision as of 22:10, January 17, 2024

November 22, 2024