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

From SmartHubs
Jump to: navigation, search
Line 21: Line 21:
 
   |<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|}}}
}}{{#arraymap:{{{mobility-related-services|}}}
 
   |,
 
  |xxx
 
  |{{icon|fa fa-{{int:semorg-icon-mobility-related-service-xxx}}|name={{int:semorg-value-mobility-related-service-xxx}}}}
 
   |
 
}}{{#arraymap:{{{other-services|}}}
 
  |,
 
  |xxx
 
  |{{icon|icon=fa fa-{{int:semorg-icon-other-service-xxx}}|name={{int:semorg-value-other-service-xxx}}}}
 
  |
 
 
}}</div></p>
 
}}</div></p>
 
</div>
 
</div>
 
</div></includeonly>
 
</div></includeonly>

Revision as of 15:10, 7 February 2023