Difference between revisions of "Template:Ja-platform-m"

From blackwiki
Jump to navigation Jump to search
imported>Chiro08
imported>Chiro08
Line 8: Line 8:
 
|4=border-top:solid 1px gray;|}}  border-bottom:solid 1px gray;"{{Ja-vbar}}{{#if: {{{imgfile|}}}|{{{imgfile}}}|{{#if: {{{col|}}}|<span style="color:{{{col}}}">■</span>|<span style="color:{{{col1|white}}}">■</span>{{#if: {{{col2|}}}|<span style="color:{{{col2}}}">■</span>}}}}}}{{{name|}}}|{{#if:{{{name|}}}|{{Ja-vbar}}height=45 width={{{Cwidth|145}}} style=" {{ #switch: {{{first|1}}}|2
 
|4=border-top:solid 1px gray;|}}  border-bottom:solid 1px gray;"{{Ja-vbar}}{{#if: {{{imgfile|}}}|{{{imgfile}}}|{{#if: {{{col|}}}|<span style="color:{{{col}}}">■</span>|<span style="color:{{{col1|white}}}">■</span>{{#if: {{{col2|}}}|<span style="color:{{{col2}}}">■</span>}}}}}}{{{name|}}}|{{#if:{{{name|}}}|{{Ja-vbar}}height=45 width={{{Cwidth|145}}} style=" {{ #switch: {{{first|1}}}|2
 
|4=border-top:solid 1px gray;|}}  border-bottom:solid 1px gray;"{{Ja-vbar}}{{#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;"{{Ja-vbar}}{{#if: {{{imgfile|}}}|{{{imgfile}}}|{{#if: {{{col|}}}|<span style="color:{{{col}}}">■</span>|<span style="color:{{{col1|white}}}">■</span>{{#if: {{{col2|}}}|<span style="color:{{{col2}}}">■</span>}}}}}}{{{name|}}}}}}}
{{#if: {{{Rspan}}}|{{Ja-vbar}}rowspan="{{{Rspan}}}" height={{#expr: 45*{{{Rspan}}}}} width={{{Rwidth|430}}} style=" {{ #switch: {{{first|1}}}|2
+
{{#if: {{{Rspan|}}}|{{Ja-vbar}}rowspan="{{{Rspan}}}" height={{#expr: 45*{{{Rspan}}}}} width={{{Rwidth|430}}} style=" {{ #switch: {{{first|1}}}|2
 
|4=border-top:solid 1px gray;|}}  border-bottom:solid 1px gray;"{{Ja-vbar}}{{{dir|}}}|{{#if:{{{dir|}}}|{{Ja-vbar}}height=45 width={{{Rwidth|430}}} style=" {{ #switch: {{{first|1}}}|2
 
|4=border-top:solid 1px gray;|}}  border-bottom:solid 1px gray;"{{Ja-vbar}}{{{dir|}}}|{{#if:{{{dir|}}}|{{Ja-vbar}}height=45 width={{{Rwidth|430}}} style=" {{ #switch: {{{first|1}}}|2
 
|4=border-top:solid 1px gray;|}}  border-bottom:solid 1px gray;"{{Ja-vbar}}{{{dir|}}}}}}}</includeonly><noinclude>{{doc}}</noinclude>
 
|4=border-top:solid 1px gray;|}}  border-bottom:solid 1px gray;"{{Ja-vbar}}{{{dir|}}}}}}}</includeonly><noinclude>{{doc}}</noinclude>

Revision as of 09:36, 8 February 2017

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

Shortcut {{Jpfm|Lspan=|pfn=|first=|Cspan=|imgfile=|col1=|col2=|name=|Rspan=|dir=(|Lwidth=|Cwidth=|Rwidth=)}}

Parameters

L/C/Rspan

pfn

first

imgfile

col / col1, col2

name

dir

Examples

{{Ja-platform-m|first=2|pfn=1|Cspan=2|imgfile={{JRLS|JB}}|name=[[Chūō-Sōbu Line]]|dir=for {{STN|Akihabara}} and {{STN|Shinjuku}}}}
{{Ja-platform-m|first=3|pfn=2|dir=for {{STN|Chiba}}}}
Template:Ja-vbarheight=45 width=30 style="text-align:center; border-top:solid 1px gray; border-bottom:solid 1px gray;"Template:Ja-vbar1Template:Ja-vbarrowspan=2 height=90 width=145 style=" border-top:solid 1px gray; border-bottom:solid 1px gray;"Template:Ja-vbarJBChūō-Sōbu LineTemplate:Ja-vbarheight=45 width=430 style=" border-top:solid 1px gray; border-bottom:solid 1px gray;"Template:Ja-vbarforTemplate:STN and Template:STNTemplate:Ja-vbarheight=45 width=30 style="text-align:center; border-bottom:solid 1px gray;"Template:Ja-vbar2Template:Ja-vbarheight=45 width=430 style=" border-bottom:solid 1px gray;"Template:Ja-vbarforTemplate:STN
{{jpfm|first=2|pfn=1|Cspan=2|imgfile={{JRLS|JO}}|name=[[Yokosuka Line]]|dir=for {{STN|Yokohama}} and {{STN|Zushi}}}}
{{jpfm|Lspan=2|pfn=2|dir=for {{STN|Tokyo}} and {{STN|Chiba}}}}
{{jpfm|first=3|imgfile={{JRLS|JS}}|name=[[Shōnan-Shinjuku Line]]|dir=for {{STN|Shibuya}}, {{STN|Shinjuku}} and {{STN|Ikebukuro}}}}
Template:Ja-vbarheight=45 width=30 style="text-align:center; border-top:solid 1px gray; border-bottom:solid 1px gray;"Template:Ja-vbar1Template:Ja-vbarrowspan=2 height=90 width=145 style=" border-top:solid 1px gray; border-bottom:solid 1px gray;"Template:Ja-vbarJOYokosuka LineTemplate:Ja-vbarheight=45 width=430 style=" border-top:solid 1px gray; border-bottom:solid 1px gray;"Template:Ja-vbarforTemplate:STN and Template:STNTemplate:Ja-vbarrowspan=2 height=90 width=30 style="text-align:center; border-bottom:solid 1px gray;"Template:Ja-vbar2Template:Ja-vbarheight=45 width=430 style=" border-bottom:solid 1px gray;"Template:Ja-vbarforTemplate:STN and Template:STNTemplate:Ja-vbarheight=45 width=145 style=" border-bottom:solid 1px gray;"Template:Ja-vbarJSShōnan-Shinjuku LineTemplate:Ja-vbarheight=45 width=430 style=" border-bottom:solid 1px gray;"Template:Ja-vbarforTemplate:STN, Template:STN and Template:STN

See also