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

From SmartHubs
Jump to: navigation, search
Line 26: Line 26:
 
   |{{icon|icon=fa fa-{{int:semorg-icon-pt-service-xxx}}|name={{int:semorg-value-pt-service-xxx}}}}
 
   |{{icon|icon=fa fa-{{int:semorg-icon-pt-service-xxx}}|name={{int:semorg-value-pt-service-xxx}}}}
 
   |
 
   |
}}{{#ask:[[-semorg-hub-mode-mode.semorg-hub-mode-hub::{{{target}}}]]
+
}}{{#arraymap:carsharing,bikesharing,cargobikesharing,scootersharing,kickscootersharing,ridehailing,taxi,carpooling
  |?semorg-mode-name=name
+
  |,
  |?semorg-mode-category.semorg-mode-category-name=category
+
  |xxx
   |?semorg-mode-icon=icon
+
  |{{#if:{{{s-xxx|}}}
  |format=template
+
    |{{icon|icon=fa fa-{{int:semorg-icon-service-xxx}}|name={{int:semorg-field-hub-s-xxx-name}}}}
  |template=mode-icon
+
   }}
  |named args=yes
+
   |
   |sort=semorg-mode-category,semorg-mode-name
 
 
}}</div></p>
 
}}</div></p>
 
</div>
 
</div>
 
</div></includeonly>
 
</div></includeonly>

Revision as of 13:50, 7 February 2023