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

From blackwiki
Jump to navigation Jump to search
imported>AnomieBOT
m (Substing templates: {{ja-stalink}}. See User:AnomieBOT/docs/TemplateSubster for info.)
imported>Vanisaac
m (→‎Example: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
Line 27: Line 27:
  
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE -->
 
<!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE -->
 
[[Category:Japan rail transport succession templates|{{PAGENAME}}]]
 
[[Category:Japan rail transport succession templates|{{PAGENAME}}]]
  
</includeonly>
+
}}</includeonly>

Revision as of 22:44, 25 April 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