Difference between revisions of "Template:J-route/doc"
imported>Vanisaac |
imported>Jumpytoo m |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 32: | Line 32: | ||
}}</includeonly> | }}</includeonly> | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "col": { | ||
| + | "label": "Color", | ||
| + | "description": "Input the background color in form of HTML code (such as #FFFFFF (this means white)) or color code.", | ||
| + | "example": "#FFFFFF", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "f": { | ||
| + | "label": "Text Color Flip", | ||
| + | "description": "If the background is too dark for recognizing the route name, input w to make route name white.", | ||
| + | "example": "w", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "route": { | ||
| + | "label": "Route", | ||
| + | "description": "Input the route name.", | ||
| + | "type": "content", | ||
| + | "required": true | ||
| + | } | ||
| + | }, | ||
| + | "description": "This is for showing the railway routes serving the station. Use [[Template:j-railservice start]] and [[Template:j-rserv]] together to show railway routes." | ||
| + | } | ||
| + | </templatedata> | ||
Latest revision as of 23:56, 21 September 2020
| This is a documentation subpage for Template:J-route. It contains usage information, categories and other content that is not part of the original template page. |
This is for showing the railway routes serving the station. Use Template:j-railservice start and Template:j-rserv together to show railway routes.
Contents
Parameters
route
Input the route name.
col
Input the background color in form of HTML code (such as #FFFFFF (this means white)) or color code.
f
If the background is too dark for recognizing route name, input w to make route name white.
Example
{{j-railservice start}}
{{j-route|route=Tokyu Toyoko Line|col=#FF0033|f=w}}
{{j-rserv|previous={{ja-stalink|Myōrenji}}|next={{ja-stalink|Ōkurayama||Kanagawa}}|service=Local}}
{{j-rserv|previous={{ja-stalink|Yokohama}}|next={{ja-stalink|Tsunashima}}|service=Express}}
{{j-rserv|previous=Yokohama|next={{ja-stalink|Hiyoshi||Kanagawa}}|service=Commuter Ltd. Express}}
{{j-rserv|previous=Yokohama|next={{ja-stalink|Musashi-Kosugi}}|service=Ltd. Express}}
{{end box}}
| « | Service | » | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Tokyu Toyoko Line | ||||||||||||||||||||||||
| Template:STN | Local | Template:STN | ||||||||||||||||||||||
| Template:STN | Express | Template:STN | ||||||||||||||||||||||
| Yokohama | Commuter Ltd. Express | Template:STN | ||||||||||||||||||||||
| Yokohama | Ltd. Express | Template:STN
This is for showing the railway routes serving the station. Use [[Template:j-railservice start]] and [[Template:j-rserv]] together to show railway routes.
|
||||||||||||||||||||||