Template:Event: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 134: Line 134:


--><tr>
--><tr>
<td colspan=2>{{#if: {{#ask:[[-Has subobject::<q>[[{{FULLPAGENAME}}]][[Category:Current Events]]</q>]][[Event link::+]] }}
<td colspan=2>{{#if: {{#ask:[[-Has subobject::<q>[[{{FULLPAGENAME}}]][[Category:Current Events||Upcoming Events]]</q>]][[Event link::+]] }}
     |<span class="moha-button mb-0 cta">[{{#ask:[[-Has subobject::<q>[[{{FULLPAGENAME}}]][[Category:Current 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>[[{{FULLPAGENAME}}]][[Category:Current Events]]</q>]][[Event link::+]]|?Event link|mainlabel=-|headers=hide|link=none|limit=1|searchlabel=}} {{#switch: {{{Event admission type|}}}
       |Suggested Donation=RSVP
       |Suggested Donation=RSVP

Revision as of 22:00, November 27, 2023