Template:Germany highway infobox map
Jump to navigation
Jump to search
<mapframe height="300" frameless="1" align="center" width="290">{ "type": "ExternalData", "service": "geoline", "properties": { "stroke-width": 3 }, "query": " SELECT ?id ?length (if(?id = wd:Template:Wikidata, '#C12838', '#07c63e') as ?stroke) (concat('Line length: ', str(?length), ' km') as ?description) (if(BOUND(?link), concat('', ?idLabel, ''), ?idLabel) as ?title) WHERE { {?id wdt:P16 wd:Q313301.} OPTIONAL { ?id wdt:P2043 ?length. } SERVICE wikibase:label { bd:serviceParam wikibase:language 'en' . ?id rdfs:label ?idLabel . } OPTIONAL {?link schema:about ?id. ?link schema:isPartOf <https://en.wikipedia.org/>.} } GROUP BY ?id ?link ?idLabel ?length "}</mapframe>