Bản mẫu:S-rail-national

Bách khoa toàn thư mở Wikipedia
Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm mới]

Bản mẫu này là một bí danh của {{s-line}}, với vài thông số được đổi tên để phù hợp với việc sử dụng hệ thống đường sắt quốc gia vương quốc Anh. Thay đổi đối với các chức năng cơ bản của {{s-line}} nên được thực hiện cho bản mẫu đó và không phải cái này.

Cách sử dụng[sửa mã nguồn]

Các thông số được đổi tên như sau:

  • |hạt 1= thay vì |state1=
  • |hạt 2= thay vì |state2=
  • |tuyến đường= thay vì |branch=
  • |toc= thay vì |line=

Ngoài ra, tham số |hệ thống= là tùy chọn, và nếu bỏ qua, mặc định với |hệ thống=Đường sắt quốc gia

Bản mẫu này phải mất một tham số đặc biệt mà {{s-line}} không được: |tình trạng=. Bằng cách xác định hoặc |tình trạng=Bỏ hoang hoặc |tình trạng=Lịch sử, bạn hãy gọi những thiết lập của bản mẫu thay vì bản mẫu cho hoạt động các tuyến.

Dữ liệu bản mẫu[sửa mã nguồn]

Đây là tài liệu Dữ liệu bản mẫu cho bản mẫu này được sử dụng bởi Trình soạn thảo trực quan và các công cụ khác; xem báo cáo sử dụng tham số hàng tháng cho bản mẫu này.

Dữ liệu bản mẫu cho S-rail-national

A specialised succession box for rail lines on the British National Rail system.

Tham số bản mẫu[Quản lý Dữ liệu bản mẫu]

Tham sốMiêu tảKiểuTrạng thái
systemsystem

The system to which the line belongs, Defaults to 'National Rail'.

Chuỗi dàitùy chọn
Train operating companytoc

Train operating company

Chuỗi dàibắt buộc
statusstatus

Can be either 'Disused' or 'Historical'. system should also be set in this case.

Chuỗi dàitùy chọn
routeroute

The route of a line e.g. 'Thameslink'.

Chuỗi dàitùy chọn
previousprevious

The name of the previous station, should correspond to a specific template name

Chuỗi dàibắt buộc
nextnext

The name of the next station, should correspond to a specific template name

Chuỗi dàibắt buộc
typetype

The left-hand line branch

Chuỗi dàitùy chọn
type2type2

The right-hand line branch

Chuỗi dàitùy chọn
notenote

Information about the left-hand line branch

Chuỗi dàitùy chọn
notemidnotemid

Information about the station itself

Chuỗi dàitùy chọn
note2note2

Information about the right-hand line branch

Chuỗi dàitùy chọn
oneway1oneway1

Indicates that trains do not operate towards the Previous station

Chuỗi dàitùy chọn
oneway2oneway2

Indicates that trains do not operate towards the Next station

Chuỗi dàitùy chọn
through1through1

Allows, instead of a previous station, service passing to another line on the system.

Chuỗi dàitùy chọn
through2through2

Allows, instead of a next station, service passing to another line on the system.

Chuỗi dàitùy chọn
county1county1

The county of a station. Useful for disambiguation.

Chuỗi dàitùy chọn
county2county2

The county of a station. Useful for disambiguation.

Chuỗi dàitùy chọn
transfertransfer

Used to show lines available by direct transfer at an adjoining station.

Chuỗi dàitùy chọn
round1round1

If set displays 'Reverses direction' in left cell

Chuỗi dàitùy chọn
round2round2

If set displays 'Reverses direction' in right cell

Chuỗi dàitùy chọn
circularcircular

Chuỗi dàitùy chọn
circular1circular1

Chuỗi dàitùy chọn
circular2circular2

Chuỗi dàitùy chọn
rows1rows1

Number of rows for left hand column

Chuỗi dàitùy chọn
rowsmidrowsmid

Number of rows for center hand column

Chuỗi dàitùy chọn
rows2rows2

Number of rows for right hand column

Chuỗi dàitùy chọn
hide1hide1

Hides the previous station, used when a previous row has 'rows1' set

Chuỗi dàitùy chọn
hidemidhidemid

Hides this station, used when a previous row has 'rowsmid' set

Chuỗi dàitùy chọn
hide2hide2

Hides the next station, used when a previous row has 'rows2' set

Chuỗi dàitùy chọn

Xem thêm[sửa mã nguồn]