「Template:Infobox Station」の版間の差分
削除された内容 追加された内容
編集の要約なし |
Template:Infobox Station/sandbox 2019年4月12日 (金) 12:53(UTC)より |
||
1行目:
{{Infobox2
| bodyclass = vcard
| bodystyle = width: 25.5em;
| headerstyle = {{#invoke:Adjacent stations|style|subheader|{{{style|}}}|{{{style2|}}}}}
| above = {{#if:{{{cta_header|}}}{{{custom_header|}}}|{{{custom_header|{{{cta_header}}}}}}|<div style="display: table; width: 100%; border-collapse: collapse"><div style="display: table-cell; width: inherit; vertical-align: middle">{{Br separated entries
| 1 = <div style="display:inline" class="fn org" {{#if:{{{name_lang|}}}|lang="{{{name_lang}}}" xml:lang="{{{name_lang}}}"}}>{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</div>
| 2 = {{#if:{{{native_name|}}}|<div class="nickname" style="display:inline" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}" {{#switch:{{lc:{{{native_name_lang}}}}}|zh|zh-hans|zh-hant|zh-cn|zh-hk|zh-mo|zh-tw|zh-sg|ko|ko-kr|ko-kp|ko-cn|ja=style="font-weight: normal"}}}}>{{{native_name}}}</div>}}
}}</div>{{#if:{{{symbol|}}}|{{#invoke:Rail-interchange multi|{{#if:{{{native_name|}}}|double}}row|div=y|{{{symbol_location|}}}\{{{symbol|}}}\<!--
-->{{#if:{{{symbol6|}}}{{{symbol_location6|}}}{{#if:{{{symbol5|}}}{{{symbol_location5|}}}||1}}|{{#if:{{{symbol4|}}}{{{symbol_location4|}}}{{#if:{{{symbol3|}}}{{{symbol_location3|}}}||1}}||+}}|+}}<!--
-->{{#if:{{{symbol_location2|}}}{{{symbol2|}}}|+{{{symbol_location2|}}}\{{{symbol2|}}}\}}<!--
-->{{#if:{{{symbol_location3|}}}{{{symbol3|}}}|+{{{symbol_location3|}}}\{{{symbol3|}}}\}}<!--
-->{{#if:{{{symbol_location4|}}}{{{symbol4|}}}|+{{{symbol_location4|}}}\{{{symbol4|}}}\}}<!--
-->{{#if:{{{symbol_location5|}}}{{{symbol5|}}}|+{{{symbol_location5|}}}\{{{symbol5|}}}\}}<!--
-->{{#if:{{{symbol_location6|}}}{{{symbol6|}}}|+{{{symbol_location6|}}}\{{{symbol6|}}}\}}}}}}</div>}}
| abovestyle = {{#invoke:Adjacent stations|style|header|{{{style|}}}|{{{style2|}}}}}
| subheader = {{{type|}}}
| subheaderclass = category
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|upright={{#if:{{{image_upright|}}}|{{{image_upright}}}|1.35}}|alt={{{alt|}}}}}
| caption = {{{caption|{{{image_caption|}}}}}}
|
|
|
|
| rr = {{{rr|}}}
}}}}}}
| header2 = {{#if:{{{mlanguage|}}}{{{hangul|}}}{{{hanja|}}}{{{mr|}}}{{{rr|}}}|一般情報}}
| label3 = 別名
| data3 = {{{other_name|}}}
| class3 = nickname
|
| data4 = {{Br separated entries|{{{country|}}}|{{{borough|}}}|{{{address|}}}}}
| class4 =
| label5 = 座標
| data5 = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:railwaystation|{{#if:{{{country|}}}|region:{{Country abbreviation|{{{country}}}|{{{borough|}}}}}}}}} }}
|
| data6 = {{{elevation|}}}
| label7 = 所有者
| data7 = {{{owned|}}}
|
|
|
| data9 = {{{lines|{{{line|}}}}}}
| label10 = 距離
| data10 = {{{distance|}}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| header18 = {{#if:{{{ADA|}}}{{{architect|}}}{{{architectural_style|}}}{{{bicycle|}}}{{{depth|}}}{{{disabled|}}}{{{levels|}}}{{{parking|}}}{{{structure|}}}|建築物}}
|
|
|
|
|
|
| label22 = 駐車場
|
|
|
| label24 = アクセシビリティ
| data24 = {{#switch:{{lc:{{{disabled|{{{ADA|}}}}}}}}|1|true|y|yes=対応|#default={{{disabled|{{{ADA|}}}}}}}}
|
|
| label26 = 建築者
| data26 = {{{architectural_style|}}}
| header27 = {{#if:{{{classification|}}}{{{code|}}}{{{iata|}}}{{{status|}}}{{{web|}}}{{{website|}}}{{{zone|}}}|その他}}
|
|
|
|
|
| label30 = [[:en:IATA airport code|IATAコード]]
|
|
|
| label32 = 階級
| data32 = {{{classification|}}}
| label33 = ウェブサイト
| data33 = {{{website|{{{web|}}}}}}
| header34 = {{#if:{{{closed|}}}{{{end|}}}{{{ending|}}}{{{former|}}}{{{opened|}}}{{{opening|}}}{{{original|}}}{{{postgroup|}}}{{{pregroup|}}}{{{prenational|}}}{{{rebuilt|}}}{{{start|}}}{{{starting|}}}|歴史}}
| label35 = 開業
|
| label36 = 開業予定
|
|
|
| label38 = 改築
| data38 = {{{rebuilt|}}}
| label39 = 電化
|
| label40 = 過去名
| data40 = {{{former|}}}
| class40 = nickname
| label41 = 当初の企業
| data41 = {{{original|}}}
| label42 = グループ化前
|
| label43 = グループ化後
| data43 = {{{postgroup|}}}
| label44 = 国有化前
| data44 = {{{prenational|}}}
| header45 = {{#if:{{Both|{{{years|}}}|{{{events|}}}}}{{Both|{{{years1|}}}|{{{events1|}}}}}|年表}}
| label46 = {{{years}}}
| data46 = {{#if:{{{years|}}}|{{{events|}}}}}
| label47 = {{{years1}}}
| data47 = {{#if:{{{years1|}}}|{{{events1|}}}}}
| label48 = {{{years2}}}
| data48 = {{#if:{{{years2|}}}|{{{events2|}}}}}
| label49 = {{{years3}}}
| data49 = {{#if:{{{years3|}}}|{{{events3|}}}}}
| label50 = {{{years4}}}
| data50 = {{#if:{{{years4|}}}|{{{events4|}}}}}
| label51 = {{{years5}}}
| data51 = {{#if:{{{years5|}}}|{{{events5|}}}}}
| label52 = {{{years6}}}
| data52 = {{#if:{{{years6|}}}|{{{events6|}}}}}
| label53 = {{{years7}}}
| data53 = {{#if:{{{years7|}}}|{{{events7|}}}}}
| label54 = {{{years8}}}
| data54 = {{#if:{{{years8|}}}|{{{events8|}}}}}
| label55 = {{{years9}}}
| data55 = {{#if:{{{years9|}}}|{{{events9|}}}}}
| label56 = {{{years10}}}
| data56 = {{#if:{{{years10|}}}|{{{events10|}}}}}
| label57 = {{{years11}}}
| data57 = {{#if:{{{years11|}}}|{{{events11|}}}}}
| header58 = {{#if:{{{passengers|}}}{{{mpassengers|}}}|利用状況}}
| data59 = {{#if:{{{passengers|}}}|{{Rail pass box|system={{{pass_system|}}}|passengers={{{passengers|}}}|pass_year={{{pass_year|}}}|pass_percent={{{pass_percent|}}}|pass_rank={{{pass_rank|}}}}}}}
| data60 = {{{mpassengers|}}}
| header61 = {{#if:{{{services|}}}|{{#switch:{{{services_collapsible|}}}|1|yes|collapsible=|サービス}}}}
| rowcellstyle62 = {{#switch:{{{services_collapsible|}}}|1|yes|collapsible=padding: 0}}
| data62 = {{#if:{{{services|}}}|{{#switch:{{{services_collapsible|}}}
|1|yes|collapsible=
<table style="border-spacing: 0; width: 100%; min-width: 100%" class="mw-collapsible {{#switch:{{{services_state|}}}|expanded|0|no=|mw-collapsed}}">
<tr><th style="text-align: center; {{#invoke:Adjacent stations|style|subheader|{{{style|}}}|{{{style2|}}}}}"><div style="margin:0 3.5em">Services</div></th></tr>
<tr><td style="padding-top: 3px">{{#if:{{#invoke:String|match|1={{{services|}}}|2=class="wikitable adjacent-stations"|plain=true|nomatch=}}|{{{services|}}}|{{#invoke:string|replace|1={{S-rail-start|noclear=yes}}
{{{services}}}
{{S-end}}|2=white%-space: *nowrap([^"]*"{{!}})|3=%1|plain=false}}}}</td></tr>
</table>
|#default=
{{#if:{{#invoke:String|match|1={{{services|}}}|2=class="wikitable adjacent-stations"|plain=true|nomatch=}}|{{{services|}}}|{{#invoke:string|replace|1={{S-rail-start|noclear=yes}}
{{{services}}}
{{S-end}}|2=white%-space: *nowrap([^"]*"{{!}})|3=%1|plain=false}}}}}}
}}
| header63 = {{#if:{{{other_services|}}}|{{#switch:{{{other_services_collapsible|}}}|1|yes|collapsible=|{{{other_services_header|他のサービス}}}}}}}
| rowcellstyle64 = {{#switch:{{{other_services_collapsible|}}}|1|yes|collapsible=padding: 0}}
| data64 = {{#if:{{{other_services|}}}|{{#switch:{{{other_services_collapsible|}}}
|1|yes|collapsible=
<table style="border-spacing: 0; width: 100%; min-width: 100%" class="mw-collapsible {{#switch:{{{other services_state|}}}|expanded|0|no=|mw-collapsed}}">
<tr><th style="text-align: center; {{#invoke:Adjacent stations|style|subheader|{{{style|}}}|{{{style2|}}}}}"><div style="margin:0 3.5em">{{{other_services_header|Other services}}}</div></th></tr>
<tr><td style="padding-top: 3px">{{#if:{{#invoke:String|match|1={{{other_services|}}}|2=class="wikitable adjacent-stations"|plain=true|nomatch=}}|{{{other_services|}}}|{{#invoke:string|replace|1={{S-rail-start|noclear=yes}}
{{{other_services}}}
{{S-end}}|2=white%-space: *nowrap([^"]*"{{!}})|3=%1|plain=false}}}}</td></tr>
</table>
|#default=
{{#if:{{#invoke:String|match|1={{{other_services|}}}|2=class="wikitable adjacent-stations"|plain=true|nomatch=}}|{{{other_services|}}}|{{#invoke:string|replace|1={{S-rail-start|noclear=yes}}
{{{other_services}}}
{{S-end}}|2=white%-space: *nowrap([^"]*"{{!}})|3=%1|plain=false}}}}}}
}}
|
| data66 = {{{nrhp|}}}
| rowcellstyle67 = padding: 0
|
{{ infobox
| bodystyle = {{Subinfobox bodystyle}}
| bodyclass = collapsible {{{map_state|}}}
| headerstyle = {{#invoke:Adjacent stations|style|subheader|{{{style|}}}|{{{style2|}}}}}
| header1 = {{#if:{{{map_name|}}}|<div style="margin:0 3.5em">{{{map_name}}}</div>|<div style="margin:0 3.5em">路線図</div>}}
| data2 = {{{route_map}}}
}}}}
| header68 = {{#if:{{{map_type|}}}{{{map_locator|}}}|所在地}}
| data69 =
{{#if:{{{map_type|}}}
|{{#if:{{{coordinates|}}}{{#switch:{{#property:P625}}|unknown value|=|#default=1}}
|{{Location map|{{{map_type}}}
| AlternativeMap = {{{AlternativeMap|}}}
| alt = {{{map_alt|}}}
| overlay_image = {{{map_overlay|}}}
| coordinates = {{{coordinates2|}}}
| float = center | border = infobox
| label = {{If empty|{{{map_dot_label|}}}|{{{name|}}}|{{PAGENAMEBASE}}}}
| outside = {{{pushpin_outside|}}}
| position = {{{map_label_position|}}}
| caption = {{#if:{{{map_caption|}}}|{{{map_caption}}}|{{#invoke:Location map|data|{{{map_type}}}|name}}における位置}}
| width = {{{map_size|}}}
}}
|{{superimpose|align=center|base={{#invoke:Location map|data|{{{map_type}}}|image}}|base_width=250px|float=Question mark.svg|x=100|y=50|float_width=50px}}
}}
| {{{map_locator|}}}
}}
}}<noinclude>
{{Documentation}}</noinclude>
|