Difference between revisions of "Template:Ja-platform-m"
Jump to navigation
Jump to search
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-vbarJO Yokosuka 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-vbarJS Shōnan-Shinjuku LineTemplate:Ja-vbarheight=45 width=430 style=" border-bottom:solid 1px gray;"Template:Ja-vbarforTemplate:STN, Template:STN and Template:STN
imported>Chiro08 |
imported>DAJF (Inserted missing spaces) |
||
| Line 6: | Line 6: | ||
|4=border-top:solid 1px gray;|}} border-bottom:solid 1px gray;"{{Ja-vbar}}'''{{{pfn|}}}'''}}}} | |4=border-top:solid 1px gray;|}} border-bottom:solid 1px gray;"{{Ja-vbar}}'''{{{pfn|}}}'''}}}} | ||
{{#if: {{{Cspan|}}}|{{Ja-vbar}}rowspan={{{Cspan}}} height={{#expr: 45*{{{Cspan}}}}} width={{{Cwidth|145}}} style=" {{ #switch: {{{first|1}}}|2 | {{#if: {{{Cspan|}}}|{{Ja-vbar}}rowspan={{{Cspan}}} height={{#expr: 45*{{{Cspan}}}}} 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|}}}|{{#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 01:59, 9 April 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=)}}
Contents
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-vbarJB Chūō-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}}}}See also
| The above documentation is transcluded from Template:Ja-platform-m/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. |