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

From SmartHubs
Jump to: navigation, search
Line 1: Line 1:
<includeonly><div class="card {{#if:{{{living-lab|}}}|border-primary}}">{{#if:{{{picture|}}}
+
<includeonly><div class="card {{#if:{{{living-lab|}}}|border-primary}} {{#ifeq:{{{target|}}}|{{#semorg-query:highlight}}
 +
  |class="semorg-list-highlight"
 +
}}">{{#if:{{{picture|}}}
 
   |[[{{{picture|}}}|1000px|class=card-img-top img-fluid|link={{fullurl:{{{target}}}}}]]
 
   |[[{{{picture|}}}|1000px|class=card-img-top img-fluid|link={{fullurl:{{{target}}}}}]]
 
}}
 
}}

Revision as of 15:59, 23 May 2022