跳转到内容

模组讨论:Routemap/sandbox

页面内容不支持其他语言。
维基百科,自由的百科全书

PURGE

Basic

[编辑]
{{Routemap/sandbox
|title=Example 1
|legend=canal
|navbar=asd
|map=
KBHFa~~terminus
WASSERq\hWSTR\WASSERq~~ ~~ ~~ ~~Bridge
LDER\INT\~~1 km~~station~~transfer for HSR
\KBHFe\BUS~~2 km~~terminus~~bus terminal
}}
Example 1
terminus
Bridge
1 km
station
transfer for HSR
2 km
terminus
bus terminal

Icon overlay, icon link, background color and colspan

[编辑]
{{Routemap/sandbox
|title=Example 2
|navbar=asd
|navbar pos=1
|map=
-colspan-1
Icon overlay
uSTRq!~ÜWol!~BHF!~HUB01
-colspan-2-style=border-bottom:5px solid red;
----
icon link
utBHF!@Superhub
-colspan
----
background color
-colspan-end
utSTR~~ ~~ ~~ ~~ ~~bg=#7af
}}
Example 2

Icon overlay


icon link


background color

Collapsible

[编辑]
{{Routemap/sandbox
|title=Example 3.1: basic collapsible
|text-width=80
|navbar=asd
|navbar pos=2
|map=
-startCollapsible-collapsed
\KBHFa\~~terminus
BRÜCKEa
WASSERq\hWSTR\WASSERq~~ ~~ ~~ ~~bridge
BRÜCKEe
-endCollapsible-
LDER\INT\~~ ~~station~~transfer for HSR
\KBHFe\BUS~~ ~~terminus~~bus terminal
}}
Example 3.1: basic collapsible
terminus
bridge
station
transfer for HSR
terminus
bus terminal
{{Routemap/sandbox
|title=Example 3.2: mixed odd and even rows
|tw=70
|map=
-startCollapsible-collapsed
d\KBHFa\d~~terminus
hWSTR~~ ~~ ~~ ~~bridge
-endCollapsible-
BS2+l\BS2+r~~junction
}}
Example 3.2: mixed odd and even rows
terminus
bridge
junction

Collapsible replacement

[编辑]
{{Routemap/sandbox
|title=Example 4.1
|text-width=150
|map=
KBHFa~~terminus
-startCollapsible-collapsed-replace
\LUECKE\~~dispensable section
\BRÜCKEa\
WASSERq\hWSTR\WASSERq~~ ~~ ~~ ~~bridge
BRÜCKEe
-endCollapsible-
LDER\INT\~~ ~~station~~transfer for HSR
\KBHFe\BUS~~ ~~terminus~~bus terminal
}}
Example 4.1
terminus
dispensable section
bridge
station
transfer for HSR
terminus
bus terminal
{{Routemap/sandbox
|title=Example 4.2: Empty filler
|text-width=150
|map=
-startCollapsible-collapsed-replace
exCONTg~~under construction
leer
exKBHFa~~future terminus
exBHF~~future station
-endCollapsible
KBHFxa~~terminus
KBHFe~~terminus
}}
Example 4.2: Empty filler
under construction
future terminus
future station
terminus
terminus

Dual text cell

[编辑]
{{Routemap/sandbox
|title=Example 5
|map=
commuter terminus! !uKBHFa\\KBHFa~~regional terminus
River Boris~~ ~~ ~~! !uhWSTR\WASSERq\hWSTR~~ ~~ ~~ ~~bridge
transfer for HSR~~station~~1 km! !uINT\LDER\LUECKE
commuter terminus~~2 km! !uKBHFe\\KBHFe~~2 km~~regional terminus
}}
Example 5
commuter terminus
regional terminus
River Boris
bridge
transfer for HSR
station
1 km
commuter terminus
2 km
2 km
regional terminus

Dual text cell collapsible

[编辑]
{{Routemap/sandbox
|title=Example 6.1: All text cells applied
|style=width:560px
|text-width=80,130,40,40,120,
|map=
-startCollapsible
commuter terminus! !uKBHFa\leer\KBHFa~~regional terminus
River Boris~~ ~~ ~~! !uhWSTR\WASSERq\hWSTR~~ ~~ ~~ ~~bridge
-endCollapsible
transfer for HSR~~station~~1 km! !uINT\LDER\LUECKE
commuter terminus~~2 km! !uKBHFe\\KBHFe~~2 km~~regional terminus
}}
Example 6.1: All text cells applied
commuter terminus
regional terminus
River Boris
bridge
transfer for HSR
station
1 km
commuter terminus
2 km
2 km
regional terminus
{{Routemap/sandbox
|map-title=Example 6.2: Only main text cell applied
|text-width=,140,,,120,
|map=
-startCollapsible
commuter terminus! !uKBHFa\\KBHFa~~regional terminus
River Boris! !uhWSTR\WASSERq\hWSTR~~bridge
-endCollapsible
station! !uINT\LDER\LUECKE
commuter terminus! !uKBHFe\\KBHFe~~regional terminus
}}
Example 6.2: Only main text cell applied
commuter terminus
regional terminus
River Boris
bridge
station
commuter terminus
regional terminus

Embedding into another infobox

[编辑]
{{Infobox station
| name = {{colorbox|orange}} Station layout
| image = Placeholder.png
| image_upright = 0.5
| image_caption = Platform level
| opened = {{Start date|1935|05|15|df=y}}
| tracks = 2
| map_state = uncollapsed
| route_map =  
{{routemap/sandbox|inline=1|navbar=asd|navbar pos=2|
KBHFa~~terminus
WASSERq\hWSTR\WASSERq~~ ~~ ~~ ~~Bridge
LDER\INT\~~1 km~~station~~transfer for HSR
\KBHFe\BUS~~2 km~~terminus~~bus terminal
}}
}}
  Station layout
Platform level
Platform level
股道2
历史
启用日期1935年5月15日 (1935-05-15)
站线配置图

terminus
Bridge
1 km
station
transfer for HSR
2 km
terminus
bus terminal