Difference between revisions of "Template:Semorg-hub"

From SmartHubs
Jump to: navigation, search
 
(46 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|}}}
 
    |s-carsharing={{{s-carsharing|}}}
 
    |s-bikesharing={{{s-bikesharing|}}}
 
    |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 83: Line 92:
 
     |neighbourhood={{{neighbourhood|}}}  
 
     |neighbourhood={{{neighbourhood|}}}  
 
     |address={{{address|}}}  
 
     |address={{{address|}}}  
    |number-operators={{{number-operators|}}}
 
 
     |coordinates={{{coordinates|}}}  
 
     |coordinates={{{coordinates|}}}  
 
     |country={{{country|}}}  
 
     |country={{{country|}}}  
Line 111: 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}}}
    |initiation={{{initiation|}}}
 
    |s-carsharing={{{s-carsharing|}}}
 
    |s-bikesharing={{{s-bikesharing|}}}
 
    |s-scootersharing={{{s-scootersharing|}}}
 
    |s-kickscootersharing={{{s-kickscootersharing|}}}
 
    |s-ridehailing={{{s-ridehailing|}}}
 
    |s-taxi={{{s-taxi|}}}
 
    |s-carpooling={{{s-carpooling|}}}
 
 
     |info-logo={{{info-logo|}}}
 
     |info-logo={{{info-logo|}}}
 
     |info-pillar={{{info-pillar|}}}
 
     |info-pillar={{{info-pillar|}}}
Line 132: 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 139: 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 147: Line 151:
 
     |visibility={{{visibility|}}}
 
     |visibility={{{visibility|}}}
 
     |pt-services={{{pt-services|}}}
 
     |pt-services={{{pt-services|}}}
 +
    |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|}}}
 
     |mobility-related-services={{{mobility-related-services|}}}
 
     |mobility-related-services={{{mobility-related-services|}}}
 
     |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|}}}
 
   }}
 
   }}
 
}}{{#semorg-detail:hub
 
}}{{#semorg-detail:hub
 
   |heading={{{name|}}}
 
   |heading={{{name|}}}
 
}}{{#semorg-table:hub  
 
}}{{#semorg-table:hub  
   |picture={{#ifexist:File:{{{picture|}}}|[[File:{{{picture|}}}|class=img-fluid]]}}
+
   |picture={{#ifexist:File:{{{picture|}}}|[[File:{{{picture|}}}|800px|link=|class=img-fluid]]}}
 
   |website={{{website|}}}  
 
   |website={{{website|}}}  
 
   |type={{#if:{{{type|}}}
 
   |type={{#if:{{{type|}}}
Line 161: Line 174:
 
       |type={{{type|}}}
 
       |type={{{type|}}}
 
       |status={{{status|}}}
 
       |status={{{status|}}}
       |physical-integration-level={{{physical-integration-level|}}}
+
       |physical-integration-level={{#get-integration-level:physical}}
 
     }}
 
     }}
 
   }}
 
   }}
Line 176: Line 189:
 
   |network={{network-link|{{{network|}}}}}
 
   |network={{network-link|{{{network|}}}}}
 
   |living-lab={{living-lab-link|{{{living-lab|}}}}}
 
   |living-lab={{living-lab-link|{{{living-lab|}}}}}
   |physical-integration={{integration-level-display|physical|{{{physical-integration-level|}}}|{{{physical-integration-target-level|}}}|{{{physical-integration-description|}}}}}
+
   |physical-integration={{integration-level-display|physical|{{#get-integration-level:physical}}|{{{physical-integration-target-level|}}}|{{{physical-integration-description|}}}}}
   |digital-integration={{integration-level-display|digital|{{{digital-integration-level|}}}|{{{digital-integration-target-level|}}}|{{{digital-integration-description|}}}}}
+
   |digital-integration={{integration-level-display|digital|{{#get-integration-level:digital}}|{{{digital-integration-target-level|}}}|{{{digital-integration-description|}}}}}
   |democratic-integration={{integration-level-display|democratic|{{{democratic-integration-level|}}}|{{{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={{{operators|}}}{{#if:{{{operation-text|}}}
+
   |initiation-combined={{{initiation|}}}
     |<div class="semorg-list-row-details">
+
  |spatial-facilities={{{spatial-facilities|}}}
{{{operation-text}}}</div>
+
  |services-text={{#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>
 +
  }}{{#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
 +
      |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|}}}
 +
    }}</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>
 
   }}
 
   }}
  |spatial-facilities={{{spatial-facilities|}}}
 
  |number-modes={{{number-modes|}}}
 
 
   |grey-literature={{{grey-literature|}}}  
 
   |grey-literature={{{grey-literature|}}}  
  |other-functions={{{other-functions|}}}
 
 
   |catchement-area={{{catchement-area|}}}  
 
   |catchement-area={{{catchement-area|}}}  
  |mode-distance={{{mode-distance|}}} 
 
  |number-operators={{{number-operators|}}}
 
 
   |neighbourhood-characteristics={{{neighbourhood-characteristics|}}}  
 
   |neighbourhood-characteristics={{{neighbourhood-characteristics|}}}  
   |visibility={{#arraymap:{{{visibility|}}}
+
   |information-section={{info
     |,
+
    |info-logo={{{info-logo|}}}
     |xxx
+
    |info-pillar={{{info-pillar|}}}
     |{{semorg-mapping-visibility|xxx}}
+
    |info-wayfinding={{{info-wayfinding|}}}
   }}{{#if:{{{visibility-description|}}}
+
    |info-conflicts={{{info-conflicts|}}}
     |<div class="semorg-list-row-details">{{{visibility-description}}}</div>
+
    |info-assistance={{{info-assistance|}}}
 +
    |info-placemaking={{{info-placemaking|}}}
 +
  }}
 +
  |inclusion-section={{inclusion
 +
    |inclusion-minimum={{{inclusion-minimum|}}}
 +
    |inclusion-universal={{{inclusion-universal|}}}
 +
  }}
 +
  |planner-section={{planner
 +
    |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|}}}
 +
  }}
 +
   |participation-section={{participation
 +
    |participation={{{participation|}}}
 +
    |participation-type={{{participation-type|}}}
 +
    |participation-valuation={{{participation-valuation|}}}
 +
    |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|}}}}}
}}{{#if:{{{modes|}}}{{{modes-text|}}}
 
  |<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>
 
 
}}{{#if:{{{living-lab|}}}
 
}}{{#if:{{{living-lab|}}}
 
   |<h4 class="mt-4">Governance</h4>{{#semorg-table:hub  
 
   |<h4 class="mt-4">Governance</h4>{{#semorg-table:hub  

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