For faster navigation, this Iframe is preloading the Wikiwand page for Bản mẫu:BSsplit.

Bản mẫu:BSsplit

Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm mới]

Cách sử dụng

[sửa mã nguồn]

This template displays two lines of text in a text field of a route diagram created with ((BS-map)).

  • The text will inherit the alignment of the parent cell, but can be overridden by applying the parameter "align=left" or "align=right".
  • The third parameter (alternatively "L=") defines a shared wikilink for both lines of text (no [[ or ]] are needed).
  • The fourth parameter (alternatively "4=") will change both lines to italic text. Any character or text can be used.
  • The fifth parameter (alternatively "5=") will change both lines to bold text. Any character or text can be used.
  • The separating line can be forced to appear by providing an argument for the parameter "line=anything".
  • Background colors can be specified by providing a valid X11 color name (e.g. HotPink) or RGB hex triplet (e.g. #12A3BC) for the parameters "bg1=" (top line) and "bg2=" (bottom line).

If a use of this template can be replaced with ((BSsrws)) (a station link on two lines) then pages containing it will be in Thể loại:Trang sử dụng BSsplit thay vì BSsrws.

Các ví dụ

[sửa mã nguồn]
Cho vào:
((BSsplit|opened 1900|closed 1969))
Kết quả:
opened 1900
closed 1969
Station
 
Cho vào:
((BSsplit|open|9 am–3 pm|align=left))
Kết quả:
open
9 am–3 pm
Station
 
Cho vào:
((BSsplit|Llanfairpwllgwyngyllgogerychwyrn-|drobwllllantysiliogogogoch|Llanfairpwllgwyngyll))
Kết quả:
Llanfairpwllgwyngyllgogerychwyrn-
drobwllllantysiliogogogoch
 
Cho vào:
((BSsplit|DC|AC|line=yes))
Kết quả:
DC
AC
 
Cho vào:
((BSsplit|Zone A|free-fare|4=it|line=yes|5=b))
Kết quả:
Zone A
free-fare
 
Cho vào:
((BSsplit|Canada|USA|bg1=#f00|bg2=lightblue|align=center))
Kết quả:
Canada
USA

Note: Text in the  Time/Dist. column is normally right-aligned.

  • ((BSsrws)) for a railway station name on two lines
  • ((BSto)) for two lines of unequal-height text
  • ((BScvt)) for two distances

See dự án:ROUTE#Fractional text display template for usage instruction.

{{bottomLinkPreText}} {{bottomLinkText}}
Bản mẫu:BSsplit
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?