Difference between revisions of "Template:Ja-rail-line/doc"
imported>Epicgenius (←Created page with '{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> '''<nowiki>{{Ja-rail-line|pfn=|(metro indicating)|nam...') |
imported>Epicgenius |
||
| Line 61: | Line 61: | ||
|colspan=2|<code>dir</code> | |colspan=2|<code>dir</code> | ||
|} | |} | ||
| − | |||
| − | |||
==Example== | ==Example== | ||
| Line 84: | Line 82: | ||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | ||
<!-- Categories go here, and interwikis go in Wikidata --> | <!-- Categories go here, and interwikis go in Wikidata --> | ||
| − | + | [[Category:Japan railway line templates|{{PAGENAME}}]] | |
| + | [[Category:Japan rail transport succession templates|{{PAGENAME}}]] | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 16:15, 23 January 2014
| This is a documentation subpage for Template:Ja-rail-line. It contains usage information, categories and other content that is not part of the original template page. |
{{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
Parameters
pfn
Input the number of the platform. If you want to input a platform used by multiple line, use Template:ja-rail-linem.
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.
name
Input the name of the line. It will link to informed line page.
idx
Use it to make a link displayed different from linked page.
nidx
Use it to disable a link and input different string. When you use it, linename parameter is not needed.
col
Input color of the line. You can use either color name or HTML code with # like #FFFFFF.
dir
Input direction of the trains passing this platform.
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"
|
||||||||||||||||||||||||||||||||||||||||||