Template:Resource: Difference between revisions

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


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

Revision as of 21:25, November 27, 2023