Difference between revisions of "Template:Germany highway infobox map"
Jump to navigation
Jump to search
imported>Kozuch (frame-width) |
imported>Kozuch |
||
| Line 1: | Line 1: | ||
{{Highway system OSM map | {{Highway system OSM map | ||
| highway_system_qid = Q313301 | | highway_system_qid = Q313301 | ||
| − | |||
| − | |||
| frame-width = 290 | | frame-width = 290 | ||
| frame-height = 300 | | frame-height = 300 | ||
| − | |||
| length = yes | | length = yes | ||
| plain = yes | | plain = yes | ||
}} | }} | ||
Latest revision as of 22:35, 23 June 2019
<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>