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

From SmartHubs
Jump to: navigation, search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly><div class="card {{#if:{{{living-lab|}}}|border-primary}} {{#ifeq:{{{target|}}}|{{#semorg-query:highlight}}
 
<includeonly><div class="card {{#if:{{{living-lab|}}}|border-primary}} {{#ifeq:{{{target|}}}|{{#semorg-query:highlight}}
   |semorg-list-highlight
+
   |semorg-card-highlight
 
}}">{{#if:{{{picture|}}}
 
}}">{{#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 17: 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-primary">{{{type|}}}</span> {{#ifeq:{{{smartness|}}}|unknown
+
<p class="card-text"><span class="badge badge-primary">{{{type|}}}</span>{{status|{{{status|}}}}} {{#ifeq:{{{smartness|}}}|unknown
 
   |
 
   |
 
   |<span class="badge badge-primary">{{{smartness|}}}</span>
 
   |<span class="badge badge-primary">{{{smartness|}}}</span>
 
}}</p>
 
}}</p>
<p class="card-text"><div class="semorg-list-row-details">{{#ask:[[-semorg-hub-mode-mode.semorg-hub-mode-hub::{{{target}}}]]
+
<p class="card-text"><div class="semorg-list-row-details">{{icons
   |?semorg-mode-name=name
+
  |pt-services={{{pt-services|}}}
   |?semorg-mode-category.semorg-mode-category-name=category
+
  |s-carsharing={{{s-carsharing|}}}
   |?semorg-mode-icon=icon
+
  |s-bikesharing={{{s-bikesharing|}}}
   |format=template
+
   |s-cargobikesharing={{{s-cargobikesharing|}}}
   |template=mode-icon
+
   |s-scootersharing={{{s-scootersharing|}}}
   |named args=yes
+
   |s-kickscootersharing={{{s-kickscootersharing|}}}
   |sort=semorg-mode-category,semorg-mode-name
+
   |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>

Latest revision as of 16:33, 8 February 2023