Difference between revisions of "Template:Semorg-hub"

From SmartHubs
Jump to: navigation, search
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}|Draft
+
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#set-integration-levels:
 +
  |pt-services={{{pt-services|}}}
 +
  |mobility-related-services={{{mobility-related-services|}}}
 +
  |other-services={{{other-services|}}}
 +
  |participation={{{participation|}}}
 +
  |participation-type={{{participation-type|}}}
 +
  |participation-valuation={{{participation-valuation|}}}
 +
  |participation-vulnerable={{{participation-vulnerable|}}}
 +
  |participation-vulnerable-direct={{{participation-vulnerable-direct|}}}
 +
  |s-carsharing={{{s-carsharing|}}}
 +
  |s-bikesharing={{{s-bikesharing|}}}
 +
  |s-cargobikesharing={{{s-cargobikesharing|}}}
 +
  |s-scootersharing={{{s-scootersharing|}}}
 +
  |s-kickscootersharing={{{s-kickscootersharing|}}}
 +
  |s-ridehailing={{{s-ridehailing|}}}
 +
  |s-taxi={{{s-taxi|}}}
 +
  |s-carpooling={{{s-carpooling|}}}
 +
  |planner-planning={{{planner-planning|}}}
 +
  |planner-maas={{{planner-maas|}}}
 +
  |planner-maas-partly={{{planner-maas-partly|}}}
 +
  |planner-support={{{planner-support|}}}
 +
  |planner-bundle={{{planner-bundle|}}}
 +
  |planner-policies={{{planner-policies|}}}
 +
  |planner-intuitive={{{planner-intuitive|}}}
 +
  |planner-analogue={{{planner-analogue|}}}
 +
  |info-logo={{{info-logo|}}}
 +
  |info-pillar={{{info-pillar|}}}
 +
  |info-wayfinding={{{info-wayfinding|}}}
 +
  |info-conflicts={{{info-conflicts|}}}
 +
  |info-assistance={{{info-assistance|}}}
 +
  |info-placemaking={{{info-placemaking|}}}
 +
  |inclusion-minimum={{{inclusion-minimum|}}}
 +
  |inclusion-universal={{{inclusion-universal|}}}
 +
}}{{#ifeq:{{NAMESPACE}}|Draft
 
   |[[Category:semorg-hub-submitted]]{{#semorg-set:hub
 
   |[[Category:semorg-hub-submitted]]{{#semorg-set:hub
 
     |name={{{name|}}}
 
     |name={{{name|}}}
  }}
+
     |contact-name={{{contact-name|}}}
  |[[Category:{{int:semorg-hub-category}}]]{{#set-integration-levels:
+
     |contact-organization={{{contact-organization|}}}
     |pt-services={{{pt-services|}}}
+
     |contact-email={{{contact-email|}}}
     |mobility-related-services={{{mobility-related-services|}}}
+
  }}<div class="alert alert-success">'''Thank you for the submit!'''
     |other-services={{{other-services|}}}
+
<br>The hub will be visible after approval by one of the administrators of the platform.</div>
    |participation={{{participation|}}}
+
  |[[Category:{{int:semorg-hub-category}}]]{{#semorg-set:hub  
    |participation-type={{{participation-type|}}}
 
    |participation-valuation={{{participation-valuation|}}}
 
    |participation-vulnerable={{{participation-vulnerable|}}}
 
    |s-carsharing={{{s-carsharing|}}}
 
    |s-bikesharing={{{s-bikesharing|}}}
 
    |s-cargobikesharing={{{s-cargobikesharing|}}}
 
    |s-scootersharing={{{s-scootersharing|}}}
 
    |s-kickscootersharing={{{s-kickscootersharing|}}}
 
    |s-ridehailing={{{s-ridehailing|}}}
 
    |s-taxi={{{s-taxi|}}}
 
    |s-carpooling={{{s-carpooling|}}}
 
    |planner-planning={{{planner-planning|}}}
 
    |planner-maas={{{planner-maas|}}}
 
    |planner-bundle={{{planner-bundle|}}}
 
    |planner-policies={{{planner-policies|}}}
 
    |planner-intuitive={{{planner-intuitive|}}}
 
    |planner-analogue={{{planner-analogue|}}}
 
    |info-logo={{{info-logo|}}}
 
    |info-pillar={{{info-pillar|}}}
 
    |info-wayfinding={{{info-wayfinding|}}}
 
    |info-conflicts={{{info-conflicts|}}}
 
    |info-assistance={{{info-assistance|}}}
 
    |info-placemaking={{{info-placemaking|}}}
 
    |inclusion-minimum={{{inclusion-minimum|}}}
 
    |inclusion-universal={{{inclusion-universal|}}}
 
  }}{{#semorg-set:hub  
 
 
     |spatial-facilities={{{spatial-facilities|}}}  
 
     |spatial-facilities={{{spatial-facilities|}}}  
 
     |number-modes={{{number-modes|}}}  
 
     |number-modes={{{number-modes|}}}  
Line 112: Line 119:
 
     |national-agencies={{{national-agencies|}}}  
 
     |national-agencies={{{national-agencies|}}}  
 
     |levels-checked={{{levels-checked|}}}
 
     |levels-checked={{{levels-checked|}}}
     |smartness={{smartness|{{#replace:{{{physical-integration-level|}}}|Level |}}|{{#replace:{{{digital-integration-level|}}}|Level |}}|{{#replace:{{{democratic-integration-level|}}}|Level |}}}}
+
     |smartness={{smartness|{{#get-integration-level:physical}}|{{#get-integration-level:digital}}|{{#get-integration-level:democratic}}}}
 
     |target-smartness={{smartness|{{#replace:{{{physical-integration-target-level|}}}|Level |}}|{{#replace:{{{digital-integration-target-level|}}}|Level |}}|{{#replace:{{{democratic-integration-target-level|}}}|Level |}}}}
 
     |target-smartness={{smartness|{{#replace:{{{physical-integration-target-level|}}}|Level |}}|{{#replace:{{{digital-integration-target-level|}}}|Level |}}|{{#replace:{{{democratic-integration-target-level|}}}|Level |}}}}
 
     |has-network={{{has-network|false}}}
 
     |has-network={{{has-network|false}}}
Line 125: Line 132:
 
     |planner-planning={{{planner-planning|}}}
 
     |planner-planning={{{planner-planning|}}}
 
     |planner-maas={{{planner-maas|}}}
 
     |planner-maas={{{planner-maas|}}}
 +
    |planner-maas-partly={{{planner-maas-partly|}}}
 +
    |planner-support={{{planner-support|}}}
 
     |planner-bundled={{{planner-bundled|}}}
 
     |planner-bundled={{{planner-bundled|}}}
 
     |planner-policies={{{planner-policies|}}}
 
     |planner-policies={{{planner-policies|}}}
Line 132: Line 141:
 
     |planner-analogue={{{planner-analogue|}}}
 
     |planner-analogue={{{planner-analogue|}}}
 
     |participation={{{participation|}}}
 
     |participation={{{participation|}}}
 +
    |participation-vulnerable={{{participation-vulnerable|false}}}
 +
    |participation-vulnerable-direct={{{participation-vulnerable-direct|false}}}
 
     |contact-name={{{contact-name|}}}
 
     |contact-name={{{contact-name|}}}
 
     |contact-organization={{{contact-organization|}}}
 
     |contact-organization={{{contact-organization|}}}
Line 151: Line 162:
 
     |other-services={{{other-services|}}}
 
     |other-services={{{other-services|}}}
 
     |participation-type={{{participation-type|}}}
 
     |participation-type={{{participation-type|}}}
     |participation-valuation={{{participation-valuation|}}}
+
     |participation-valuation={{{participation-valuation|0}}}
 
     |initiation={{{initiation|}}}
 
     |initiation={{{initiation|}}}
 
   }}
 
   }}
Line 163: Line 174:
 
       |type={{{type|}}}
 
       |type={{{type|}}}
 
       |status={{{status|}}}
 
       |status={{{status|}}}
       |physical-integration-level={{{physical-integration-level|}}}
+
       |physical-integration-level={{#get-integration-level:physical}}
 
     }}
 
     }}
 
   }}
 
   }}
Line 182: Line 193:
 
   |democratic-integration={{integration-level-display|democratic|{{#get-integration-level:democratic}}|{{{democratic-integration-target-level|}}}|{{{democratic-integration-description|}}}}}
 
   |democratic-integration={{integration-level-display|democratic|{{#get-integration-level:democratic}}|{{{democratic-integration-target-level|}}}|{{{democratic-integration-description|}}}}}
 
   |provider={{{provider|}}}
 
   |provider={{{provider|}}}
  |operators={{#if:{{{operators|}}}|<div class="text-muted">{{{operators|}}}</div>}}{{#if:{{{operation-text|}}}
 
    |<div class="semorg-list-row-details">
 
{{{operation-text}}}</div>
 
  }}
 
 
   |initiation-combined={{{initiation|}}}
 
   |initiation-combined={{{initiation|}}}
 
   |spatial-facilities={{{spatial-facilities|}}}  
 
   |spatial-facilities={{{spatial-facilities|}}}  
   |number-modes={{{number-modes|}}}
+
   |services-text={{#if:{{{pt-services|}}}
  |pt-services={{#if:{{{pt-services|}}}
+
    |<div class="hub-services"><div class="hub-services-type">{{#get-integration-level:number_pt_modes}} PT {{int:services|{{#get-integration-level:number_pt_modes}}}}:</div>{{pt-services|{{{pt-services|}}}}}</div>
    |{{#get-integration-level:number_pt_services}} services:<br>{{pt-services|{{{pt-services|}}}}}
+
   }}{{#ifexpr:{{#get-integration-level:number_shared_modes}}>0
   }}
+
    |<div class="hub-services"><div class="hub-services-type">{{#get-integration-level:number_shared_modes}} shared {{int:services|{{#get-integration-level:number_shared_modes}}}}:</div>{{shared-services
  |services-intro={{shared-services
+
      |s-carsharing={{{s-carsharing|}}}
    |s-carsharing={{{s-carsharing|}}}
+
      |s-bikesharing={{{s-bikesharing|}}}
    |s-bikesharing={{{s-bikesharing|}}}
+
      |s-cargobikesharing={{{s-cargobikesharing|}}}
    |s-cargobikesharing={{{s-cargobikesharing|}}}
+
      |s-scootersharing={{{s-scootersharing|}}}
    |s-scootersharing={{{s-scootersharing|}}}
+
      |s-kickscootersharing={{{s-kickscootersharing|}}}
    |s-kickscootersharing={{{s-kickscootersharing|}}}
+
      |s-ridehailing={{{s-ridehailing|}}}
    |s-ridehailing={{{s-ridehailing|}}}
+
      |s-taxi={{{s-taxi|}}}
    |s-taxi={{{s-taxi|}}}
+
      |s-carpooling={{{s-carpooling|}}}
    |s-carpooling={{{s-carpooling|}}}
+
    }}</div>
 +
  }}{{#if:{{{mobility-related-services|}}}
 +
    |<div class="hub-services"><div class="hub-services-type">{{#get-integration-level:number_mobility_related_services}} mobility-related {{int:services|{{#get-integration-level:number_mobility_related_services}}}}:</div>{{mobility-related-services|{{{mobility-related-services|}}}}}</div>
 +
  }}{{#if:{{{other-services|}}}
 +
    |<div class="hub-services"><div class="hub-services-type">{{#get-integration-level:number_other_services}} other {{int:services|{{#get-integration-level:number_other_services}}}}:</div>{{other-services|{{{other-services|}}}}}</div>
 
   }}
 
   }}
  |mobility-related-services={{mobility-related-services|{{{mobility-related-services|}}}}}
 
  |other-services={{other-services|{{{other-services|}}}}}
 
 
   |grey-literature={{{grey-literature|}}}  
 
   |grey-literature={{{grey-literature|}}}  
  |other-functions={{{other-functions|}}}
 
 
   |catchement-area={{{catchement-area|}}}  
 
   |catchement-area={{{catchement-area|}}}  
  |mode-distance={{{mode-distance|}}} 
 
 
   |neighbourhood-characteristics={{{neighbourhood-characteristics|}}}  
 
   |neighbourhood-characteristics={{{neighbourhood-characteristics|}}}  
 
   |information-section={{info
 
   |information-section={{info
Line 224: Line 231:
 
     |planner-planning={{{planner-planning|}}}
 
     |planner-planning={{{planner-planning|}}}
 
     |planner-maas={{{planner-maas|}}}
 
     |planner-maas={{{planner-maas|}}}
 +
    |planner-maas-partly={{{planner-maas-partly|}}}
 +
    |planner-support={{{planner-support|}}}
 
     |planner-bundle={{{planner-bundle|}}}
 
     |planner-bundle={{{planner-bundle|}}}
 
     |planner-policies={{{planner-policies|}}}
 
     |planner-policies={{{planner-policies|}}}
Line 234: Line 243:
 
     |participation-valuation={{{participation-valuation|}}}
 
     |participation-valuation={{{participation-valuation|}}}
 
     |participation-vulnerable={{{participation-vulnerable|}}}
 
     |participation-vulnerable={{{participation-vulnerable|}}}
 +
    |participation-vulnerable-direct={{{participation-vulnerable-direct|}}}
 +
  }}
 +
  |contact-section={{contact
 +
    |contact-name={{{contact-name|}}}
 +
    |contact-organization={{{contact-organization|}}}
 +
    |contact-email={{{contact-email|}}}
 
   }}
 
   }}
 
   |sources={{{sources|}}}  
 
   |sources={{{sources|}}}  
 
   |project-research={{project-link|{{{project-research|}}}}}
 
   |project-research={{project-link|{{{project-research|}}}}}
}}<div class="text-muted d-none">{{#if:{{{modes|}}}{{{modes-text|}}}
+
}}{{#if:{{{living-lab|}}}
  |<h4 class="mt-4">Modes</h4>{{{modes-text|}}}<div class="card-columns">{{{modes|}}}</div>
 
}}{{#if:{{{services|}}}
 
  |<h4 class="mt-4">Mobility-related Services</h4><div class="card-columns">{{{services}}}</div>
 
}}{{#if:{{{additional-services|}}}
 
  |<h4 class="mt-4">Additional Services</h4><div class="card-columns">{{{additional-services}}}</div>
 
}}</div>{{#if:{{{living-lab|}}}
 
 
   |<h4 class="mt-4">Governance</h4>{{#semorg-table:hub  
 
   |<h4 class="mt-4">Governance</h4>{{#semorg-table:hub  
 
     |inhabitants={{inhabitants
 
     |inhabitants={{inhabitants

Latest revision as of 07:42, 25 April 2023

This page is part of the Semantic Organization extension.

If you want to customize this template you can copy its contents to another page (use for example Template:Semorg-hub-custom) and change the following system message to the name of the newly created page: MediaWiki:semorg-hub-template