Template:Event: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 130: Line 130:
       |Sliding Scale=${{{Event admission price sliding low|}}}&ndash;{{{Event admission price sliding high|}}}<br/>{{{Event admission type|}}}  
       |Sliding Scale=${{{Event admission price sliding low|}}}&ndash;{{{Event admission price sliding high|}}}<br/>{{{Event admission type|}}}  
       |#default=Free
       |#default=Free
     }} <!--
     }}</td>
</tr><!--


-->{{#if: {{#ask:[[-Has subobject::<q>[[{{FULLPAGENAME}}]][[Category:Current Events]]</q>]][[Event link::+]] }}
--><tr>
        |<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|}}}
<td colspan=2>{{#if: {{#ask:[[-Has subobject::<q>[[{{FULLPAGENAME}}]][[Category:Current Events]]</q>]][[Event link::+]] }}
          |Suggested Donation=RSVP
    |<span class="moha-button w-100">[{{#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|}}}
          |Set Price=Tickets
      |Suggested Donation=RSVP
          |Free=Attend
      |Set Price=Tickets
          }}]</span>
      |Free=Attend
      }}</td>
      }}]</span>
  }}</td>
</tr>
</tr>
}}
}}

Revision as of 21:35, November 27, 2023