Bản mẫu:BSsrws/doc
Giao diện
| Đây là một trang con tài liệu dành cho Bản mẫu:BSsrws. Nó gồm có các thông tin hướng dẫn sử dụng, thể loại và các nội dung khác không thuộc về phần trang bản mẫu gốc. |
| Bản mẫu này sử dụng Lua: |
Cách sử dụng
This template expands a name – split over two lines – to link to the appropriate railway station article, without displaying "railway station".
- The text will inherit the alignment of the parent cell, but can be overridden by applying the parameter "
|align=left" or "|align=right". - The first and second parameters are the two lines. They are combined to form the station name. The words
railway stationare not needed. - The third parameter (alternatively "
|3=" or "|S=") will change the default words "railway station" in the link to its contents. - 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 html color or hex triplet for the parameters "
|bg1=" (top line) and "|bg2=" (bottom line).
Cho ví dụ:
{{BSsrws|Stratford|International}}liên kết đến[[Stratford International railway station]]và hiển thị
.Stratford International {{BSsrws|Stratford|International|station|it}}liên kết đến[[Stratford International station]]và hiển thị
.Stratford International
Sử dụng không chính xác
If either line of text is empty, the page that the template is used on will be a member of Thể loại:Trang sử dụng BSto hoặc BSsrws có thiếu giá trị văn bản.
Xem thêm
- {{BSsplit}} for two lines of text with a wikilink
- {{BSto}} for two lines of unequal-height text
- {{BScvt}} for two distances
Một số của bản mẫu khác cung cấp hàm tương tự cho các hệ thống cụ thể:
Địa điểm cụ thể
|