Difference between revisions of "Template:Ja-platform"
Jump to navigation
Jump to search
imported>Chiro08 (Changed to follow the Template:Ja-rail-line format) |
imported>Chiro08 |
||
| Line 4: | Line 4: | ||
|4=border-top:solid 1px gray;|}} border-bottom:solid 1px gray;"|'''{{{pfn|}}}''' | |4=border-top:solid 1px gray;|}} border-bottom:solid 1px gray;"|'''{{{pfn|}}}''' | ||
|height=45 width={{{Cwidth|{{{cwidth|145}}}}}} style=" {{ #switch: {{{first|1}}}|2 | |height=45 width={{{Cwidth|{{{cwidth|145}}}}}} style=" {{ #switch: {{{first|1}}}|2 | ||
| − | |4=border-top:solid 1px gray;|}} border-bottom:solid 1px gray;"|{{#if: {{{imgfile|}}}|{{{imgfile}}}|{{#if: {{{col|}}}|<span style="color:{{{col}}}">■</span>|<span style="color:{{{col1|white}}}">■</span>{{#if: {{{col2|}}}|<span style="color:{{{col2}}}">■</span>}}}}}} {{{name|}}} | + | |4=border-top:solid 1px gray;|}} border-bottom:solid 1px gray;"|{{#if: {{{imgfile|{{{symbol|}}}}}}|{{{imgfile|{{{symbol}}}}}}|{{#if: {{{col|}}}|<span style="color:{{{col}}}">■</span>|<span style="color:{{{col1|white}}}">■</span>{{#if: {{{col2|}}}|<span style="color:{{{col2}}}">■</span>}}}}}} {{{name|}}} |
|height=45 width={{{Rwidth|{{{rwidth|430}}}}}} style=" {{ #switch: {{{first|1}}}|2 | |height=45 width={{{Rwidth|{{{rwidth|430}}}}}} style=" {{ #switch: {{{first|1}}}|2 | ||
|4=border-top:solid 1px gray;|}} border-bottom:solid 1px gray;"|{{{dir|}}} | |4=border-top:solid 1px gray;|}} border-bottom:solid 1px gray;"|{{{dir|}}} | ||
{{ #switch: {{{first}}}|3|4={{!}}}|}}</includeonly><noinclude>{{doc}}</noinclude> | {{ #switch: {{{first}}}|3|4={{!}}}|}}</includeonly><noinclude>{{doc}}</noinclude> | ||
Revision as of 10:44, 21 May 2017
{{Ja-platform|pfn=|first=|imgfile=|col1=|col2=|name=|dir=(|Lwidth=|Cwidth=|Rwidth=)}}
Shortcut {{jpf|pfn=|first=|imgfile=|col1=|col2=|name=|dir=(|Lwidth=|Cwidth=|Rwidth=)}}
Contents
Parameters
pfn
first
imgfile
col / col1, col2
name
dir
Example
{{ja-platform|pfn=1|first=2|imgfile={{JRLS|JB}}|name=[[Chūō-Sōbu Line]]|dir=for {{STN|Akihabara}}}}
{{ja-platform|pfn=2|first=3|imgfile={{JRLS|JB}}|name=Chūō-Sōbu Line|dir=for {{STN|Chiba}}}}
| 1 | JB Chūō-Sōbu Line | for Template:STN |
| 2 | JB Chūō-Sōbu Line | for Template:STN |
{{ja-platform|pfn=3|first=4|col1=SeaGreen|col2=Blue|name=[[Jōban Line]] (Rapid)|dir=for Ueno}}
| 3 | ■■ Jōban Line (Rapid) | for Ueno |
{{jpf|pfn=9|first=4|col=OrangeRed|name=Musashino Line|dir=for Fuchūhommachi}}
| 9 | ■ Musashino Line | for Fuchūhommachi |
See also
| The above documentation is transcluded from Template:Ja-platform/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |