跳至內容

模板: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

地圖

地區快速交通網絡

雅典交通

地圖

另請參見