Difference between revisions of "Template:CommunityCard"

From The Embassy of Good Science
(MWBot)
 
(MWBot)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<includeonly><div class="card is-themes">
 
<includeonly><div class="card is-themes">
{{#ifeq:{{{1|}}}|All Themes|<div class="card-header te-mw-link" data-href="{{{3|}}}" data-target="_self">|<div class="card-header te-mw-link" data-href="{{{3|}}}?_search_Theme_Type%5B0%5D={{urlencode:{{{1|}}}}}" data-target="_self">}}
+
{{#ifeq:{{{2|}}}|All Resources|<div class="card-header te-mw-link" data-href="{{{4|}}}" data-target="_self">|<div class="card-header te-mw-link" data-href="{{{4|}}}?_search_Resource_Type%5B0%5D={{urlencode:{{{2|}}}}}" data-target="_self">}}
  <h2 class="card-title text-center">[[{{{3|}}}|{{{1|}}}]]</h2>
+
      <div class="card-icon">[[File:{{{1|}}}|frameless|60x60px|link=]]</div>
 
   </div>
 
   </div>
{{#ifeq:{{{1|}}}|All Themes|<div class="card-body te-mw-link" data-href="{{{3|}}}" data-target="_self">|<div class="card-body te-mw-link" data-href="{{{3|}}}?_search_Theme_Type%5B0%5D={{urlencode:{{{1|}}}}}" data-target="_self">}}
+
{{#ifeq:{{{2|}}}|All Resources|<div class="card-body te-mw-link" data-href="{{{4|}}}" data-target="_self">|<div class="card-body te-mw-link" data-href="{{{4|}}}?_search_Resource_Type%5B0%5D={{urlencode:{{{2|}}}}}" data-target="_self">
     <div class="card-text text-center">[[{{{3|}}}|{{{2|}}}]]</div>
+
}}
 +
    <div class="card-title text-center">[[{{{4|}}}|{{{2|}}}]]</div>
 +
     <div class="card-text text-center">[[{{{4|}}}|{{{3|}}}]]</div>
 
   </div>
 
   </div>
 
</div></includeonly>
 
</div></includeonly>

Latest revision as of 13:28, 14 February 2024

Cookies help us deliver our services. By using our services, you agree to our use of cookies.
5.1.6