Difference between revisions of "Template:Semorg-hub-card"
From SmartHubs
(11 intermediate revisions by the same user not shown) | |||
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}} |
+ | |semorg-card-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}}}}}]] | ||
}} | }} | ||
Line 5: | Line 7: | ||
{{#if:{{{living-lab|}}} | {{#if:{{{living-lab|}}} | ||
|<div class="float-right">{{case-study-indicator}}</div> | |<div class="float-right">{{case-study-indicator}}</div> | ||
− | }}{{#if:{{{physical-integration|}}}{{{digital-integration|}}}{{{democratic-integration|}}} | + | }}{{#if:{{{physical-integration-level|}}}{{{digital-integration-level|}}}{{{democratic-integration-level|}}} |
|<div class="float-left">{{semorg-integration-level-square | |<div class="float-left">{{semorg-integration-level-square | ||
− | |physical={{{physical-integration|}}} | + | |physical={{{physical-integration-level|}}} |
− | |digital={{{digital-integration|}}} | + | |digital={{{digital-integration-level|}}} |
− | |democratic={{{democratic-integration|}}} | + | |democratic={{{democratic-integration-level|}}} |
}}</div> | }}</div> | ||
}} | }} | ||
Line 15: | Line 17: | ||
<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> | ||
− | <p class="card-text"><span class="badge badge- | + | <p class="card-text"><span class="badge badge-primary">{{{type|}}}</span>{{status|{{{status|}}}}} {{#ifeq:{{{smartness|}}}|unknown |
− | <p class="card-text"><div class="semorg-list-row-details">{{ | + | | |
− | | | + | |<span class="badge badge-primary">{{{smartness|}}}</span> |
− | | | + | }}</p> |
− | | | + | <p class="card-text"><div class="semorg-list-row-details">{{icons |
− | | | + | |pt-services={{{pt-services|}}} |
− | | | + | |s-carsharing={{{s-carsharing|}}} |
− | | | + | |s-bikesharing={{{s-bikesharing|}}} |
− | | | + | |s-cargobikesharing={{{s-cargobikesharing|}}} |
+ | |s-scootersharing={{{s-scootersharing|}}} | ||
+ | |s-kickscootersharing={{{s-kickscootersharing|}}} | ||
+ | |s-ridehailing={{{s-ridehailing|}}} | ||
+ | |s-taxi={{{s-taxi|}}} | ||
+ | |s-carpooling={{{s-carpooling|}}} | ||
+ | |mobility-related-services={{{mobility-related-services|}}} | ||
+ | |other-services={{{other-services|}}} | ||
}}</div></p> | }}</div></p> | ||
</div> | </div> | ||
</div></includeonly> | </div></includeonly> |