Template:Upcoming Events: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 62: Line 62:
   |1=<div class="my-2 font-weight-bold">{{#switch: {{{Event admission type|}}}
   |1=<div class="my-2 font-weight-bold">{{#switch: {{{Event admission type|}}}
       |Set Price={{#ifeq: {{{Event admission price|}}}|0|Free|${{#explode:{{{Event admission price|}}}| |0}}}}
       |Set Price={{#ifeq: {{{Event admission price|}}}|0|Free|${{#explode:{{{Event admission price|}}}| |0}}}}
       |Suggested Donation={{#ifeq: {{{Event admission price|}}}|0|Free|{{{Event admission type|}}} ${{#explode:{{{Event admission price|}}}| |0}}}}
       |Suggested Donation={{#ifeq: {{{Event admission price|0}}}|0|Donation|{{{Event admission type|}}} ${{#explode:{{{Event admission price|}}}| |0}}}}
       |Sliding Scale=${{#explode:{{{Event admission price sliding low|}}}| |0}}&ndash;{{#explode:{{{Event admission price sliding high|}}}| |0}} {{{Event admission type|}}}  
       |Sliding Scale=${{#explode:{{{Event admission price sliding low|}}}| |0}}&ndash;{{#explode:{{{Event admission price sliding high|}}}| |0}} {{{Event admission type|}}}  
       |#default=Free
       |#default=Free

Revision as of 18:00, January 28, 2024