这是Module:Routemap的文档页面
本模塊由俄語維基百科用戶KPu3uC B Poccuu及YLSS創建維護。
基本用法
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<pre.raw style="border:0px;overflow:auto;">
{{BS-map
|map={{#invoke:Routemap|route|pattern=
KBHFa~~起點
WASSERq\hWSTR\WASSERq~~ ~~ ~~ ~~天橋
LDER\INT\~~1公里~~中途站~~轉乘高鐵
\KBHFe\BUS~~2公里~~終點~~巴士總站}}
}}
- 圖標分隔的斜間(
\
)與XML元素的終結斜間(/
)正好相反。
- 如果圖標欄後只有一個文字欄分隔「波浪-波浪」(
~~
),後面的文字會顯示在主文字欄而非時間/距離欄。
- 文字欄之間留空的話必須輸入空格,否則維基軟件會誤認為用戶簽名。
圖標重疊與圖標鏈接
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<pre.raw style="border:0px;overflow:auto;">
{{BS-map
|map={{#invoke:Routemap|route|pattern=
uSTRq!~ÜWol!~BHF!~HUB01
uBHF!@超級站}}
}}
- 重疊分隔「感嘆號-波浪」(
!~
)必須跟隨在下一層被重疊的圖標代碼之後。
- 圖標重疊數基本是無限。
- 使用圖標重疊的話,圖標連接分隔(
!@
)必須跟隨在最後(最頂)的圖標代碼之後。
摺疊
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|class="mw-collapsible mw-collapsed" cellpadding="0" cellspacing="0" style=" padding:0 !important;vertical-align:middle;margin:0 !important;white-space:nowrap".svg|x20px|link=|alt=|{|class="mw-collapsible mw-collapsed" cellpadding="0" cellspacing="0" style=" padding:0 !important;vertical-align:middle;margin:0 !important;white-space:nowrap"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="line-height:1;width:100%;padding:0 !important;margin:0 !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="line-height:1;width:100%;padding:0 !important;margin:0 !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|class="mw-collapsible mw-collapsed" cellpadding="0" cellspacing="0" style=" padding:0 !important;vertical-align:middle;margin:0 !important;white-space:nowrap".svg|x20px|link=|alt=|{|class="mw-collapsible mw-collapsed" cellpadding="0" cellspacing="0" style=" padding:0 !important;vertical-align:middle;margin:0 !important;white-space:nowrap"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="line-height:1;width:100%;padding:0 !important;margin:0 !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="line-height:1;width:100%;padding:0 !important;margin:0 !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<pre.raw style="border:0px;overflow:auto;">
{{BS-map
|map={{#invoke:Routemap|route|text-width=100px|pattern=
-startCollapsible-collapsed
\KBHFa\~~起點
BRÜCKEa
WASSERq\hWSTR\WASSERq~~ ~~ ~~ ~~天橋
BRÜCKEe
-endCollapsible-
LDER\INT\~~ ~~中途站~~轉乘高鐵
\KBHFe\BUS~~ ~~終點~~巴士總站}}
|map2={{#invoke:Routemap|route|text-width=100px|pattern=
-startCollapsible-collapsed
d\KBHFa\d~~起點
hWSTR~~ ~~ ~~ ~~天橋
-endCollapsible-
BS2+l\BS2+r~~分叉}}
}}
- 調整{{{text-width}}}參數直到路線圖的圖標之間沒有斷裂。
- 摺疊行的圖標欄數目必須等於整個路線圖的最大圖標欄數目。
- 單雙數量的圖標行混用的場合下,可以用半寬的空白圖標
(d
)作為填塞。
- 將「collapsed」改為「nil」可以令摺疊部分預設為展開。
摺疊取代
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|class="mw-collapsible mw-collapsed" cellpadding="0" cellspacing="0" style=" padding:0 !important;vertical-align:middle;margin:0 !important;white-space:nowrap".svg|x20px|link=|alt=|{|class="mw-collapsible mw-collapsed" cellpadding="0" cellspacing="0" style=" padding:0 !important;vertical-align:middle;margin:0 !important;white-space:nowrap"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="line-height:1;width:100%;padding:0 !important;margin:0 !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="line-height:1;width:100%;padding:0 !important;margin:0 !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{| cellspacing="0" cellpadding="0" style="color: inherit;position:absolute;margin:0;bottom:0px;vertical-align:middle;white-space:nowrap;background-color:#F9F9F9".svg|x20px|link=|alt=|{| cellspacing="0" cellpadding="0" style="color: inherit;position:absolute;margin:0;bottom:0px;vertical-align:middle;white-space:nowrap;background-color:#F9F9F9"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<pre.raw style="border:0px;overflow:auto;">
{{BS-map
|map={{#invoke:Routemap|route|text-width=100px|pattern=
KBHFa~~起點
-startCollapsible-collapsed-replace
\LUECKE\~~可有可無的部分
\BRÜCKEa\
WASSERq\hWSTR\WASSERq~~ ~~ ~~ ~~天橋
BRÜCKEe
-endCollapsible-
LDER\INT\~~ ~~中途站~~轉乘高鐵
\KBHFe\BUS~~ ~~終點~~巴士總站}}
}}
- 取代與被取代的兩行的圖標欄數目都必須等於整個路線圖的最大圖標欄數目。
雙文字欄
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[File:BSicon_{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important".svg|x20px|link=|alt=|{|cellspacing="0" cellpadding="0" style="display: table; width: unset; line-height: 0; padding:0 !important; margin: 0 auto !important"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<pre.raw style="border:0px;overflow:auto;">
{{BS-map
|map={{#invoke:Routemap|route|pattern=
通勤起點! !uKBHFa\\KBHFa~~區域起點
鹹魚河~~ ~~ ~~! !uhWSTR\WASSERq\hWSTR~~ ~~ ~~ ~~天橋
轉乘高鐵~~中途站~~1公里! !uINT\LDER\LUECKE
通勤終點~~2公里! !uKBHFe\\KBHFe~~2公里~~區域終點}}
}}
- 左文字欄以「感嘆號-空格-感嘆號」(
! !
)分隔圖標欄。