Difference between revisions of "Template:J-route/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jumpytoo
(add templatedata)
imported>Jumpytoo
m
Line 45: Line 45:
 
"description": "If the background is too dark for recognizing the route name, input w to make route name white.",
 
"description": "If the background is too dark for recognizing the route name, input w to make route name white.",
 
"example": "w",
 
"example": "w",
"type": "string",
+
"type": "string"
"autovalue": ""
 
 
},
 
},
 
"route": {
 
"route": {

Revision as of 23:49, 21 September 2020

This is for showing the railway routes serving the station. Use Template:j-railservice start and Template:j-rserv together to show railway routes.

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
  1. REDIRECT Template:S-end


No description.

Template parameters

ParameterDescriptionTypeStatus
Colorcol

Input the background color in form of HTML code (such as #FFFFFF (this means white)) or color code.

Example
#FFFFFF
Stringoptional
Text Color Flipf

If the background is too dark for recognizing the route name, input w to make route name white.

Example
w
Stringoptional
Routeroute

Input the route name.

Contentrequired