Template:Event announce: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 67: Line 67:
   |true
   |true
   |1=<div class="my-2">{{#switch: {{{Event admission type|}}}
   |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|${{#explode:{{{Event admission price|}}}| |0}}}}
       |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|}}} ${{#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 20:06, December 17, 2023

November 24, 2024