Template:J-rserv/doc
This is a documentation subpage for Template:J-rserv. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 3,900 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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
[edit]1st
[edit]Input p to show that the trains of this service doesn't stop at this station.
b
[edit]Input d to make border below the template dashed.
previous/next
[edit]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
[edit]Input the name of the service. If you input "Local", font size automatically become normal.
f
[edit]Input b to make font size normal. Use it if the service is the slowest one at the station.
col
[edit]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
[edit]{{j-railservice start}}
{{j-route|route='''L Line'''|col=#ABCDEF}}
{{j-rserv|service=S|col=blue|f=b|previous=P1|next=N1}}
{{j-rserv|service=S2|col=green|previous=P1}}
{{j-rserv|p|service=S3}}
{{end box}}
« | Service | » | ||
---|---|---|---|---|
L Line | ||||
P1 | S | N1 | ||
P1 | S2 | Terminus | ||
S3: Does not stop at this station |
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Pass | 1 | Input p to show that the trains of this service doesn't stop at this station.
| String | optional |
Dashed | b | Input d to make border below the template dashed.
| String | optional |
Service | service | Input the name of the service. If you input "Local", font size automatically become normal. | Content | optional |
Font Size | f | Input b to make font size normal. Use it if the service is the slowest one at the station.
| String | optional |
Color | 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. | Content | optional |
Previous | previous | Input the name of the previous station for the service. If the station is a terminal for the service, no words are needed to be inputed. | Content | suggested |
Next | next | Input the name of the next station for the service. If the station is a terminal for the service, no words are needed to be inputed. | Content | suggested |