Template:Event announce: Difference between revisions
From MoHA Wiki
No edit summary |
No edit summary |
||
Line 49: | Line 49: | ||
| | | | ||
|MoHA= | |MoHA= | ||
|#default = < | |#default = <div class="my-2">Location: {{#arraymap: {{{Event location|}}} | ||
|; | |||
|@@@ | |||
|{{#queryformlink: form=Event types | |||
|link text=@@@ | |||
|Event types[Event location]=@@@ | |||
|Event types[param]=Event location | |||
|Event types[value]=@@@ | |||
|_run=1 | |||
}} | |||
|,\s | |||
}}</div> | |||
}}</ | |||
}}<!-- | }}<!-- | ||
Line 69: | Line 66: | ||
|Yes | |Yes | ||
|true | |true | ||
|1=< | |1=<div class="my-2">{{#switch: {{{Event admission type|}}} | ||
|Set Price={{#ifeq: {{{Event admission price|}}}|0|Free|${{{Event admission price|}}}}} | |Set Price={{#ifeq: {{{Event admission price|}}}|0|Free|${{{Event admission price|}}}}} | ||
|Suggested Donation={{#ifeq: {{{Event admission price|}}}|0|Free|{{{Event admission type|}}} ${{{Event admission price|}}}}} | |Suggested Donation={{#ifeq: {{{Event admission price|}}}|0|Free|{{{Event admission type|}}} ${{{Event admission price|}}}}} | ||
|Sliding Scale=${{{Event admission price sliding low|}}}–{{{Event admission price sliding high|}}}<br/>{{{Event admission type|}}} | |Sliding Scale=${{{Event admission price sliding low|}}}–{{{Event admission price sliding high|}}}<br/>{{{Event admission type|}}} | ||
|#default=Free | |#default=Free | ||
}}</ | }}</div><!-- | ||
-->< | --><div class="my-2">{{#if: {{#ask:[[-Has subobject::<q>[[{{{Event|}}}]][[Category:Current Events||Upcoming Events]]</q>]][[Event link::+]] }} | ||
|<span class="moha-button mb-0 cta">[{{#ask:[[-Has subobject::<q>[[{{{Event|}}}]][[Category:Current Events||Upcoming 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>[[{{{Event|}}}]][[Category:Current Events||Upcoming Events]]</q>]][[Event link::+]]|?Event link|mainlabel=-|headers=hide|link=none|limit=1|searchlabel=}} {{#switch: {{{Event admission type|}}} | ||
|Suggested Donation=RSVP | |Suggested Donation=RSVP | ||
Line 87: | Line 80: | ||
|Free=Attend | |Free=Attend | ||
}}]</span> | }}]</span> | ||
}}</ | }}</div> | ||
}} | }} | ||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> |
Revision as of 19:52, December 17, 2023
November 24, 2024