Difference between revisions of "Template:ResourceCard"
From The Embassy of Good Science
(Created page with "<includeonly><div class="card is-resource"> <div class="card-header"> <div class="card-icon">[[File:{{{1|}}}|frameless|60x60px|link={{{4}}}]]</div> </div> <div cla...") |
m (Protected "Template:ResourceCard": MWBot ([Edit=Allow only administrators] (indefinite))) |
||
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><div class="card is- | + | <includeonly><div class="card is-themes"> |
− | + | {{#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">}} | |
− | <div class="card-icon">[[File:{{{1|}}}|frameless|60x60px|link= | + | <div class="card-icon">[[File:{{{1|}}}|frameless|60x60px|link=]]</div> |
</div> | </div> | ||
− | + | {{#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-title text-center">[[{{{4|}}}|{{{2|}}}]]</div> | <div class="card-title text-center">[[{{{4|}}}|{{{2|}}}]]</div> | ||
<div class="card-text text-center">[[{{{4|}}}|{{{3|}}}]]</div> | <div class="card-text text-center">[[{{{4|}}}|{{{3|}}}]]</div> | ||
</div> | </div> | ||
</div></includeonly> | </div></includeonly> |