Difference between revisions of "Template:Ja-platform"
Jump to navigation
Jump to search
imported>Chiro08 |
imported>DAJF (inserted missing space) |
||
| Line 5: | Line 5: | ||
|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|}}}|{{{imgfile}}}|{{#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|}}}</includeonly><noinclude>{{doc}}</noinclude> | |4=border-top:solid 1px gray;|}} border-bottom:solid 1px gray;"|{{{dir|}}}</includeonly><noinclude>{{doc}}</noinclude> | ||
Revision as of 01:58, 9 April 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}}
|