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

From SmartHubs
Jump to: navigation, search
 
(4 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:{{{1|}}}
+
<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|}}}
}}{{#ask:[[-semorg-hub-mode-mode.semorg-hub-mode-hub::{{{target}}}]]
+
  |s-scootersharing={{{s-scootersharing|}}}
   |?semorg-mode-name=name
+
   |s-kickscootersharing={{{s-kickscootersharing|}}}
   |?semorg-mode-category.semorg-mode-category-name=category
+
   |s-ridehailing={{{s-ridehailing|}}}
   |?semorg-mode-icon=icon
+
   |s-taxi={{{s-taxi|}}}
  |format=template
+
   |s-carpooling={{{s-carpooling|}}}
   |template=mode-icon
+
   |mobility-related-services={{{mobility-related-services|}}}
  |named args=yes
+
   |other-services={{{other-services|}}}
   |sort=semorg-mode-category,semorg-mode-name
 
 
}}</div></p>
 
}}</div></p>
 
</div>
 
</div>
 
</div></includeonly>
 
</div></includeonly>

Latest revision as of 16:33, 8 February 2023