Template:Ja-rail-line

From Wikipedia, the free encyclopedia

{{Ja-rail-line|pfn=|(metro indicating)|name=|idx=|nidx=|col=|dir=|first=|pwidth=|lwidth=|dwidth=}}
This template is used for showing layout of a Japanese station.

Contents

[edit] Parameters

[edit] pfn

Input the number of the platform. If you want to input a platform used by multiple line, use Template:ja-rail-linem.

[edit] 1st parameter

Input "m" in this parameter to show that the line is owned by Tokyo Metro or Tokyo Metropolitan Bureau of Transportation. If you don't, it will show the line is owned by other companies.

[edit] name

Input the name of the line. It will link to informed line page.

[edit] idx

Use it to make a link displayed different from linked page.

[edit] nidx

Use it to disable a link and input different string. When you use it, linename parameter is not needed.

[edit] col

Input color of the line. You can use either color name or HTML code with # like #FFFFFF.

[edit] dir

Input direction of the trains passing this platform.

[edit] first

Input "2" in this parameter to inform whether the line is first line for the station. "3" for the last. "4" for the single platform.

  • If you use:
"platform number" "Line name" "direction"
  • If you don't use:
  "Line name" "direction"
  • If you used "first" parameter, you can modify width of columns using pwidth for platform column (default:30), lwidth for line column (default:145), dwidth for direction column (default:430).

[edit] Example

{{ja-rail-line|pfn=1|first=4|name=Keikyū Main Line|col=red|dir={{ja-stalink|Uraga}}}}
1 Keikyū Main Line Uraga
{{ja-rail-line|pfn=1|first=2|name=Tokyu Toyoko Line|idx=Tōyoko Line|col=red|dir={{ja-stalink|Shibuya}}}}
{{ja-rail-line|pfn=2|first=3|nidx=Tōyoko Line|col=red|dir={{ja-stalink|Kikuna}} ・ {{ja-stalink|Yokohama}}}}
1 Tōyoko Line Shibuya
2 Tōyoko Line KikunaYokohama