Difference between revisions of "Template:Semorg-hub-card"
From SmartHubs
Line 1: | Line 1: | ||
<includeonly><div class="card {{#if:{{{living-lab|}}}|border-primary}}">{{#if:{{{picture|}}} | <includeonly><div class="card {{#if:{{{living-lab|}}}|border-primary}}">{{#if:{{{picture|}}} | ||
− | |[[{{{picture|}}}|1000px|class=card-img-top img-fluid|link=]] | + | |[[{{{picture|}}}|1000px|class=card-img-top img-fluid|link={{fullurl:{{{target}}}}}]] |
}} | }} | ||
<div class="card-body">{{#if:{{{living-lab|}}} | <div class="card-body">{{#if:{{{living-lab|}}} | ||
|<div class="float-right">{{case-study-indicator}}</div> | |<div class="float-right">{{case-study-indicator}}</div> | ||
}} | }} | ||
− | <h5 class="card-title"><btn class="card | + | <h5 class="card-title"><btn class="card-link" wrapper="">{{{target}}}|{{{name}}}</btn></h5> |
<h6 class="card-subtitle mb-2 text-muted">{{location|city={{{city|}}}|country={{{country|}}}}}</h6> | <h6 class="card-subtitle mb-2 text-muted">{{location|city={{{city|}}}|country={{{country|}}}}}</h6> | ||
<p class="card-text"><div class="semorg-list-row-details">{{{description|}}}</div></p> | <p class="card-text"><div class="semorg-list-row-details">{{{description|}}}</div></p> |