Template:Event: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 135: Line 135:
--><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]]</q>]][[Event link::+]] }}
     |<span class="moha-button">[{{#ask:[[-Has subobject::<q>[[{{FULLPAGENAME}}]][[Category:Current Events]]</q>]][[Event link::+]]|?Event link|mainlabel=-|headers=hide|link=none|limit=1|searchlabel=}} <span class="d-block w-100 text-center">{{#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
       |Set Price=Tickets
       |Set Price=Tickets
       |Free=Attend
       |Free=Attend
       }}]</span></span>
       }}]</span>
   }}</td>
   }}</td>
</tr>
</tr>

Revision as of 21:38, November 27, 2023