قالب:Rapid transit OSM map
The template only works if the lines that make up the system have their own Wikidata entries (e.g. [خطأ: الوظيفة "wdurl" غير موجودة. (Q7388350)] for Zürich S-Bahn), and the entries are connected to an OpenStreetMap line feature.
Each Wikidata line entity should include the part of (P361) property (for instance on the [خطأ: الوظيفة "wdurl" غير موجودة. (Q7388350)] entity, part of (P361) -> [خطأ: الوظيفة "wdurl" غير موجودة. بولند أوشاقلي كيل (Q636091)]).
This is a wrapper for Template:Maplink. It fetches `geoline` features and shows them within the template. The template works through a SPARQL Wikidata query. The vital field is `system_qid`, which determines the central item from which all other data is pulled.
First, try this on the Wikipedia page of an item that is supposed to show up on the map (e.g. a metro line):
{{mapframe|frame = yes | type = line | stroke-width = 2}}
if it's not displayed, the item might not yet be linked to an OSM feature.
Usage
{{Rapid transit OSM map | system_qid = | frame-lat = | frame-long = | frame-width = | frame-height = | frame-align = | plain = | text = | zoom = | length = yes }}
Examples
- Frankfurt
- Moscow
See also
The above documentation is transcluded from قالب:Rapid transit OSM map/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |