Template:Resource: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 8: Line 8:


-->{{#ifeq:{{{Resource type|}}}|Event link|{{#if: {{#ask: [[{{FULLPAGENAME}}]][[Category:Current Events]] }}
-->{{#ifeq:{{{Resource type|}}}|Event link|{{#if: {{#ask: [[{{FULLPAGENAME}}]][[Category:Current Events]] }}
         |<li><span class="moha-button">{{#switch: {{#show: {{FULLPAGENAME}}|?Event admission type}}
         |<li><span class="moha-button">[{{{Resource value|}}} {{#switch: {{#show: {{FULLPAGENAME}}|?Event admission type}}
           |Suggested Donation=RSVP
           |Suggested Donation=RSVP
           |Set Price=Tickets
           |Set Price=Tickets
           |Free=Attend
           |Free=Attend
           }}</span></li>
           }}]</span></li>
       }}
       }}
     }}
     }}
</ul>}}</includeonly>
</ul>}}</includeonly>

Revision as of 20:43, November 27, 2023