Difference between revisions of "Template:Germany highway infobox map"
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...') |
imported>Kozuch (frame-width) |
||
| Line 3: | Line 3: | ||
| frame-lat = 50.9 | | frame-lat = 50.9 | ||
| frame-long = 10.2 | | frame-long = 10.2 | ||
| − | | frame-width = | + | | frame-width = 290 |
| frame-height = 300 | | frame-height = 300 | ||
| zoom = 5 | | zoom = 5 | ||
Revision as of 21:00, 19 June 2019
<mapframe zoom="5" frameless="1" align="center" height="300" latitude="50.9" longitude="10.2" 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>