Template:Event: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 132: Line 132:
     }} <!--
     }} <!--


-->{{#if: {{#ask:[[-Has subobject::<q>[[{{FULLPAGENAME}}]][[Category:Current Events]]</q>]][[Resource type::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>]][[Resource type::Event link]]|?Resource value|mainlabel=-|headers=hide|link=none|limit=1|searchlabel=}} {{#switch: {{{Event admission type|}}}
         |<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|}}}
           |Suggested Donation=RSVP
           |Suggested Donation=RSVP
           |Set Price=Tickets
           |Set Price=Tickets

Revision as of 21:33, November 27, 2023