Template:Event: Difference between revisions

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


-->{{#if: {{#ask:[[-Has subobject::<q>[[{{FULLPAGENAME}}]][[Category:Current Events]]</q>]][[Event link::+]] }}
-->{{#if: {{#ask:[[-Has subobject::<q>[[{{FULLPAGENAME}}]][[Category:Current Events]]</q>]][[Event link::+]] }}
         |<li><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=}} {{#switch: {{{Event admission type|}}}
         |<span class="moha-button mx-3">[{{#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></li>
           }}]</span>
       }}</td>
       }}</td>
</tr>
</tr>

Revision as of 21:33, November 27, 2023