แม่แบบ:J-rserv

จากวิกิพีเดีย สารานุกรมเสรี
Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

This template is used for showing services which pass the station. Use after Template:rail line (more suitable for Template:j-route), this is for train SERVICES not train ROUTES.

Parameters[แก้]

1st[แก้]

Input p to show that the trains of this service doesn't stop at this station.

b[แก้]

Input d to make border below the template dashed.

previous/next[แก้]

Input the name of previous/next station for the service. If the station is a terminal for the service, no words are needed to be inputed.

service[แก้]

Input the name of the service. If you input "Local", font size automatically become normal.

f[แก้]

Input b to make font size normal. Use it if the service is the slowest one at the station.

col[แก้]

Input the color which can be get from 隣の駅 section on Japanese site. Unlike the Template:rail line, it can be either HTML code (with "#" on the top of the code) or color name.

Example[แก้]

{{j-railservice start}}
{{j-route|route='''L Line'''|col=#ABCDEF}}
{{j-rserv|previous=P1|next=N1|service=S|col=blue|f=b}}
{{j-rserv|previous=P1|service=S2|col=green}}
{{j-rserv|p|service=S3}}
{{end box}}
« ขบวนรถ »
L Line
P1   S   N1
P1   S2   ปลายทาง
S3: ไม่จอด