Template:Rapid transit OSM map

维基百科,自由的百科全书


文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

本模板仅适用于维基数据项建设完备的,且有在OpenStreetMap有关联线路城市轨道交通系统/捷运系统。 (例: 苏黎世城市快铁 (Q636091),及其关联项目S6 (Q7388350)

对于每条线路的维基数据项,应当通过 所属实体 (P361)可分為 (P527) 与系统的主维基数据项条目相关联。(例: S6 (Q7388350)所属实体 (P361)交通網路 (P16)苏黎世城市快铁 (Q636091)苏黎世城市快铁 (Q636091) 可分為 (P527)->S6 (Q7388350)) 同时使用狀態 (P5817)应为使用中 (Q55654238)

用法

部分参数请参照Template:Maplink的参数进行调整

{{Rapid transit OSM map
| system_qid = <!-- Optional. By default It'll assume the wikidata id linked to the page it is being used on. -->
| system_qid[2-5] = <!-- use upto 4 additional systems -->
| frame-lat    = 
| frame-long   = 
| frame-width  = 
| frame-height = 
| frame-align  = 
| stroke-width = <!-- Default is 3, use 2 for dense networks -->
| plain        = 
| text         = 
| zoom         = 
| display      = 
| single_line  = <!-- Useful to show a specific transit line. See examples below -->
| stations     = <!-- Any value will show the stations of a line/system. -->
| stations_qid = <!-- Optional. By default It'll assume the wikidata id linked to the page it is being used on. -->
| marker-symbol = <!-- If stations is set; Default is rail-metro -->
| marker-colo(u)r = <!-- If stations is set. -->
| marker-size  = <!-- If stations is set; Default is medium. -->
}}

示例

快速交通系统

法兰克福

地图

莫斯科

地图

特定线路

苏黎世S6

地图

地区快速交通网络

雅典交通

地图

另请参见