Difference between revisions of "Template:Semorg-hub-card"

From SmartHubs
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{{semorg-card
+
<includeonly><div class="card {{#if:{{{living-lab|}}}|border-primary}}">
  |title={{{name|}}} ({{location|city={{{city|}}}|country={{{country|}}}}})
+
<img src="..." class="card-img-top" alt="...">
  |body=<div class="semorg-list-row-details">{{{description|}}}</div>
+
<div class="card-body">
  |links=[[{{{target|}}}|<span class="badge badge-secondary">Details</span>]]
+
<h5 class="card-title">[[{{{target|}}}|{{{name|}}}]] ({{location|city={{{city|}}}|country={{{country|}}}}})</h5>
  |class={{#if:{{{living-lab|}}}|border-primary}}
+
<p class="card-text"><div class="semorg-list-row-details">{{{description|}}}</div></p>
}}</includeonly>
+
</div>
 +
</div></includeonly>

Revision as of 18:31, 11 October 2021