Difference between revisions of "Template:Ja-rail-line/doc"
imported>AnomieBOT m (Substing templates: {{ja-stalink}}. See User:AnomieBOT/docs/TemplateSubster for info.) |
imported>Vanisaac |
||
| Line 84: | Line 84: | ||
{{ja-rail-line|pfn=2|first=3|nidx=Nambu Line|col=#FFD400|dir=for {{STN|Musashi-Kosugi}}}} | {{ja-rail-line|pfn=2|first=3|nidx=Nambu Line|col=#FFD400|dir=for {{STN|Musashi-Kosugi}}}} | ||
| − | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!-- Categories go here, and interwikis go in Wikidata --> | <!-- Categories go here, and interwikis go in Wikidata --> | ||
[[Category:Japan railway line templates|{{PAGENAME}}]] | [[Category:Japan railway line templates|{{PAGENAME}}]] | ||
[[Category:Japan rail transport succession templates|{{PAGENAME}}]] | [[Category:Japan rail transport succession templates|{{PAGENAME}}]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 22:44, 25 April 2020
| 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=|nextstop=}}
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.
nextstop
Input the next stop on the line, if applicable.
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"
|
||||||||||||||||||||||||||||||||||||||||||||