Template:Japan Railway Line

From Wikipedia, the free encyclopedia

[edit] Template documentation

{{Japan Railway Line}} is used for creating templates on the japanese rail system, which show stations of a certain line. (e.g. {{Yokohama Line}})

Templates are typically in the name of Template:XXX Line and after you make a template, please add it to Category:Templates for railway lines in Japan.

Contents

[edit] Blank

{{Japan Railway Line
| name  = {{subst:PAGENAME}}
| title = 
| body  =

}}<noinclude>
[[Category:Templates for railway lines in Japan|{{PAGENAME}}]]
</noinclude>

[edit] Parameters

[edit] Required

name 
The name of the template, which is needed for the "view · talk · edit" links to work properly on all of the pages where the template is used. You can enter {{subst:PAGENAME}} for this value as a shortcut.
title 
The header title as shown in top of the navbox. Formal style is Stations of the [[XXX Line]].
body 
The list of stations of the line. Formal style is [[YYY Station|YYY]] - [[ZZZ Station|ZZZ]] - ... .

[edit] Optional

color 
Header color. Default is transparent.
line_color 
The stripe color of the line. See Wikipedia:Colours for help.

[edit] Examples

[edit] Code

{{Japan Railway Line
| name  = {{subst:PAGENAME}}
| title = Stations of the [[Nagano Shinkansen|JR Nagano Shinkansen Line]]
| Line_color = gray
| body  =
[[Takasaki Station|Takasaki]] - [[Annaka Haruna Station|Annaka Haruna]] - [[Karuizawa Station|Karuizawa]] - 
[[Sakudaira Station|Sakudaira]] - [[Ueda Station|Ueda]] - [[Nagano Station|Nagano]]
}}<noinclude>
[[Category:Shinkansen| {{PAGENAME}}]]
[[Category:Templates for railway lines of Japan|{{PAGENAME}}]]
</noinclude>

[edit] Result

[edit] See also

Template:Navigational templates