Template:Event: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 18: Line 18:
|Event format={{{Event format|}}}|+sep=;
|Event format={{{Event format|}}}|+sep=;
|Event medium={{{Event medium|}}}|+sep=;
|Event medium={{{Event medium|}}}|+sep=;
|Event ticket price={{{Event ticket price|}}}
|Event ticket price={{{Event ticket price|}}} USD
|Is public={{{Is public|}}}
|Is public={{{Is public|}}}
|Event image={{#if:{{{Event image|}}}|File:{{PAGENAME:{{{Event image|}}}}}}}
|Event image={{#if:{{{Event image|}}}|File:{{PAGENAME:{{{Event image|}}}}}}}
Line 120: Line 120:
-->{{#ifeq: {{{Is public|}}}
-->{{#ifeq: {{{Is public|}}}
   |Yes
   |Yes
   |{{#if: {{{Event ticket price|}}}|
   |<tr>
<tr>
<td>Ticket price</td>
<td>Ticket price</td>
<td>{{#ifeq: {{{Event ticket price|}}}|0 USD|Free|${{#replace:{{{Event ticket price|}}}|USD|<nowiki> </nowiki>}}}}</td>
<td>{{#switch: {{{Event ticket price|}}}||0 USD=Free|#default=${{{Event ticket price|}}}}}</td>
</tr>
</tr>
  }}
}}
}}
</table>
</table>

Revision as of 21:05, November 25, 2023