Difference between revisions of "Template:Ja-platform"

From blackwiki
Jump to navigation Jump to search
imported>Chiro08
(Changed to follow the Template:Ja-rail-line format)
imported>MusikBot II
m (Protected "Template:Ja-platform": High-risk template or module (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite)))
 
(One intermediate revision by one other user not shown)
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>}}}}}}&nbsp;{{{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>}}}}}}&nbsp;{{{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>

Latest revision as of 18:03, 15 May 2019

{{Ja-platform|pfn=|first=|imgfile=|col1=|col2=|name=|dir=(|Lwidth=|Cwidth=|Rwidth=)}}

Shortcut {{jpf|pfn=|first=|imgfile=|col1=|col2=|name=|dir=(|Lwidth=|Cwidth=|Rwidth=)}}

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