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

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
m
imported>Chiro08
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
<includeonly>{{#switch: {{{first|1}}}|2
 
<includeonly>{{#switch: {{{first|1}}}|2
 
|4={{{!}}table border=0 cellspacing=0 cellpadding=3|}}|-
 
|4={{{!}}table border=0 cellspacing=0 cellpadding=3|}}|-
{{#if: {{{Lspan|{{{lspan|{{{span|}}}}}}}}}|<!--{{Ja-vbar}}--> rowspan={{{Lspan|{{{lspan|{{{span}}}}}}}}} height={{#expr: 45*{{{Lspan|{{{lspan|{{{span}}}}}}}}}}} width={{{Lwidth|30}}} style="text-align:center; {{#switch: {{{first|1}}}|2
+
{{#if: {{{Lspan|{{{lspan|{{{span|}}}}}}}}}|{{!}}rowspan={{{Lspan|{{{lspan|{{{span}}}}}}}}} height={{#expr: 45*{{{Lspan|{{{lspan|{{{span}}}}}}}}}}} width={{{Lwidth|30}}} style="text-align:center; {{#switch: {{{first|1}}}|2
 
|4=border-top:solid 1px gray;|}} border-bottom:solid 1px gray;"{{!}}'''{{{pfn|}}}'''|{{#if:{{{pfn|}}}|{{!}}height=45 width={{{Lwidth|30}}} style="text-align:center; {{#switch: {{{first|1}}}|2
 
|4=border-top:solid 1px gray;|}} border-bottom:solid 1px gray;"{{!}}'''{{{pfn|}}}'''|{{#if:{{{pfn|}}}|{{!}}height=45 width={{{Lwidth|30}}} style="text-align:center; {{#switch: {{{first|1}}}|2
 
|4=border-top:solid 1px gray;|}} border-bottom:solid 1px gray;"{{!}}'''{{{pfn|}}}'''}}}}
 
|4=border-top:solid 1px gray;|}} border-bottom:solid 1px gray;"{{!}}'''{{{pfn|}}}'''}}}}
 
{{#if: {{{Cspan|}}}|{{!}}rowspan={{{Cspan}}} height={{#expr: 45*{{{Cspan}}}}} width={{{Cwidth|145}}} style=" {{ #switch: {{{first|1}}}|2
 
{{#if: {{{Cspan|}}}|{{!}}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;"{{!}}{{#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|}}}|{{#if:{{{name|}}}|{{!}}height=45 width={{{Cwidth|145}}} style=" {{ #switch: {{{first|1}}}|2
+
|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|}}}|{{#if:{{{name|}}}|{{!}}height=45 width={{{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|}}}}}}}
 
{{#if: {{{Rspan|}}}|{{!}}rowspan="{{{Rspan}}}" height={{#expr: 45*{{{Rspan}}}}} width={{{Rwidth|430}}} style=" {{ #switch: {{{first|1}}}|2
 
{{#if: {{{Rspan|}}}|{{!}}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;"{{!}}{{{dir|}}}|{{#if:{{{dir|}}}|{{!}}height=45 width={{{Rwidth|430}}} style=" {{ #switch: {{{first|1}}}|2
 
|4=border-top:solid 1px gray;|}}  border-bottom:solid 1px gray;"{{!}}{{{dir|}}}|{{#if:{{{dir|}}}|{{!}}height=45 width={{{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 10:47, 21 May 2017

Template documentation[view] [edit] [history] [purge]

{{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}}}}
1 JB Chūō-Sōbu Line for Template:STN and Template:STN
2 for Template: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}}}}
1 JO Yokosuka Line for Template:STN and Template:STN
2 for Template:STN and Template:STN
JS Shōnan-Shinjuku Line for Template:STN, Template:STN and Template:STN

See also