Template:N-rserv/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:N-rserv. It contains usage information, categories and other content that is not part of the original template page. |
This template is used for showing services which pass the station. Use after Template:rail line
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
{{n-railservice start}} {{n-route|route='''L Line'''|col=#ABCDEF}} {{n-rserv|service=S|col=blue|f=b|previous=P1|next=N1}} {{n-rserv|service=S2|col=green|previous=P1}} {{n-rserv|p|service=S3}} {{end box}}
« | Service | » | ||
---|---|---|---|---|
L Line | ||||
P1 | S | N1 | ||
P1 | S2 | Terminus | ||
S3: no stop |