Difference between revisions of "Template:J-route"

From blackwiki
Jump to navigation Jump to search
imported>Cabayi
(cat chng)
imported>JaGa
(transclude documentation)
Line 1: Line 1:
 
<includeonly>|-
 
<includeonly>|-
!colspan=5 style="background:{{{col|white}}};"|<span style="color:{{#ifeq:{{{f}}}|w|white|black}}">{{{route}}}</span></includeonly><noinclude>
+
!colspan=5 style="background:{{{col|white}}};"|<span style="color:{{#ifeq:{{{f}}}|w|white|black}}">{{{route}}}</span></includeonly><noinclude>{{Documentation}}</noinclude>
This template is temporary one. 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 ==
 
<pre>{{j-railservice start}}
 
{{j-route|route=Tokyu Toyoko Line|col=#FF0033|f=w}}
 
{{j-rserv|previous={{ja-stalink|Myorenji|Myōrenji}}|next={{ja-stalink|Okurayama|Ōkurayama}}|service=Local}}
 
{{j-rserv|previous={{ja-stalink|Yokohama}}|next={{ja-stalink|Tsunashima}}|service=Express}}
 
{{j-rserv|previous=Yokohama|next={{ja-stalink|Hiyoshi}}|service=Commuter Ltd. Express}}
 
{{j-rserv|previous=Yokohama|next={{ja-stalink|Musashi-Kosugi}}|service=Ltd. Express}}
 
{{end box}}</pre>
 
{{j-railservice start}}
 
{{j-route|route=Tokyu Toyoko Line|col=#FF0033|f=w}}
 
{{j-rserv|previous={{ja-stalink|Myorenji|Myōrenji}}|next={{ja-stalink|Okurayama|Ōkurayama}}|service=Local}}
 
{{j-rserv|previous={{ja-stalink|Yokohama}}|next={{ja-stalink|Tsunashima}}|service=Express}}
 
{{j-rserv|previous=Yokohama|next={{ja-stalink|Hiyoshi}}|service=Commuter Ltd. Express}}
 
{{j-rserv|previous=Yokohama|next={{ja-stalink|Musashi-Kosugi}}|service=Ltd. Express}}
 
{{end box}}
 
[[Category:Rail transport succession templates|{{PAGENAME}}]]
 
</noinclude>
 

Revision as of 08:18, 7 February 2009

Template documentation[view] [edit] [history] [purge]

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

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

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