Template:Resource: Difference between revisions

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


-->{{#if: {{{Resource value|}}}|<ul>
-->{{#if: {{{Resource value|}}}|<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">{{#switch: {{#show: {{FULLPAGENAME}}|?Admission type}}
          |Suggested Donation=RSVP
          |Set Price=Tickets
          |Free=Attend
          }}</span></li>
      }}
    }}
</ul>}}</includeonly>
</ul>}}</includeonly>

Revision as of 20:38, November 27, 2023