Template:Germany highway infobox map

From blackwiki
Revision as of 20:41, 19 June 2019 by imported>Kozuch (Created page with '{{Highway system OSM map | highway_system_qid = Q313301 | frame-lat = 50.9 | frame-long = 10.2 | frame-width = 200 | frame...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<mapframe zoom="5" frameless="1" align="center" height="300" latitude="50.9" longitude="10.2" width="200">{ "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>