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

From SmartHubs
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
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">{{#arraymap:{{{pt-services|}}}
+
<p class="card-text"><div class="semorg-list-row-details">{{icons
   |,
+
  |pt-services={{{pt-services|}}}
  |xxx
+
   |s-carsharing={{{s-carsharing|}}}
   |{{icon|icon=fa fa-{{int:semorg-icon-pt-service-xxx}}|name={{int:semorg-value-pt-service-xxx}}}}
+
   |s-bikesharing={{{s-bikesharing|}}}
   |
+
  |s-cargobikesharing={{{s-cargobikesharing|}}}
}}{{#arraymap:carsharing,bikesharing,cargobikesharing,scootersharing,kickscootersharing,ridehailing,taxi,carpooling
+
  |s-scootersharing={{{s-scootersharing|}}}
   |,
+
   |s-kickscootersharing={{{s-kickscootersharing|}}}
  |xxx
+
   |s-ridehailing={{{s-ridehailing|}}}
   |{{#if:{{{s-xxx|}}}
+
   |s-taxi={{{s-taxi|}}}
    |{{icon|icon=fa fa-{{int:semorg-icon-service-xxx}}|name={{int:semorg-field-hub-s-xxx-name}}}}
+
  |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