Template:Event announce: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 9: Line 9:
<div class="my-2">{{Event dates
<div class="my-2">{{Event dates
   |Date Start={{{Date Start|}}}
   |Date Start={{{Date Start|}}}
   |Date End={{{Date Start|}}}
   |Date End={{{Date End|}}}
}}<!--
}}<!--


Line 57: Line 57:
   |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 14:52, January 27, 2024