Difference between revisions of "Template:Ja-platform"
Jump to navigation
Jump to search
imported>DAJF (inserted missing space) |
imported>Chiro08 (Changed to follow the Template:Ja-rail-line format) |
||
| Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{first|1}}}|2 | <includeonly>{{#switch: {{{first|1}}}|2 | ||
| − | |4={{ | + | |4={{{!}}table border=0 cellspacing=0 cellpadding=3|}}|- |
| − | |- | ||
|height=45 width={{{Lwidth|{{{lwidth|30}}}}}} style="text-align:center; {{#switch: {{{first|1}}}|2 | |height=45 width={{{Lwidth|{{{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|}}}''' | ||
| Line 7: | Line 6: | ||
|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|}}} |
| + | {{ #switch: {{{first}}}|3|4={{!}}}|}}</includeonly><noinclude>{{doc}}</noinclude> | ||
Revision as of 12:05, 28 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}}
| 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
| The above documentation is transcluded from Template:Ja-platform/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. |