Template:Resource: Difference between revisions

From MoHA Wiki
No edit summary
(Undo revision 12432 by WikiVisor (talk))
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
-->{{#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>
 
-->{{#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>
     </ul>}}</includeonly>

Latest revision as of 21:32, November 27, 2023