More actions
No edit summary Tags: Reverted 2017 source edit |
Tag: Undo |
||
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<TemplateStyles src="Infobox station | <TemplateStyles src="Infobox station PI/styles.css" /><infobox type="station"> | ||
<!-- Header part --> | |||
<title source="name"> | |||
<format> | |||
<div style="display:inline" class="fn org" {{#if:{{{name_lang|}}}|lang="{{{name_lang}}}" }}> | |||
{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</div> | |||
</format> | |||
</title> | |||
<title source="native_name"> | |||
<format> | |||
<div class="nickname" style="display:inline" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}" | |||
{{#switch:{{lc:{{{native_name_lang}}}}}|zh|zh-hans|zh-hans-cn|zh-hant|zh-hant-tw|zh-hant-hk|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> | |||
</format> | |||
</title> | |||
<title source="type"></title> | |||
<image source="image"> | |||
<alt source="alt"></alt> | |||
<caption source="caption"></caption> | |||
</image> | |||
<group> | <group> | ||
< | <data source="mlanguage"> | ||
<format> | <format>{{Infobox in Portable Infobox|{{{mlanguage}}}}}</format> | ||
</ | </data> | ||
</group> | </group> | ||
<group> | <group> | ||
Line 21: | Line 28: | ||
<data source="other_name"> | <data source="other_name"> | ||
<label>Other names</label> | <label>Other names</label> | ||
</data> | </data> | ||
<data source="address"> | <data source="address"> | ||
<label>Location</label> | <label>Address</label> | ||
</data> | |||
</ | <data source="borough"> | ||
<label>Area</label> | |||
</data> | |||
<group show="incomplete"> | |||
<data source="location"> | |||
<label>Location</label> | |||
<default>{{Br separated entries|{{{address|}}}|{{{borough|}}}|{{{country|}}}}}</default> | |||
</data> | |||
<data source="address"></data> | |||
<data source="borough"></data> | |||
<data source="country"></data> | |||
</group> | |||
<data source="coordinates"> | <data source="coordinates"> | ||
<label>Coordinates</label> | <label>Coordinates</label> | ||
Line 137: | Line 155: | ||
<!-- Key Dates --> | <!-- Key Dates --> | ||
<!-- Passengers --> | <!-- Passengers --> | ||
<group> | <group collapsed="{{#switch:{{{services_collapsible|}}}|1|yes|collapsible=closed|#default=}}"> | ||
<header>Services</header> | <header>{{{services_header|Services}}}</header> | ||
<data source="services"> | <data source="services"> | ||
<format>{{#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}}}}</format> | <format>{{#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}}}}</format> | ||
</data> | |||
</group> | |||
<group collapsed="{{#switch:{{{other_services_collapsible|}}}|1|yes|collapsible=closed|#default=}}"> | |||
<header>{{{other_services_header|Other services}}}</header> | |||
<data source="services"> | |||
<format>{{#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}}}}</format> | |||
</data> | |||
</group> | |||
<group collapsed="{{#switch:{{{other_services2_collapsible|}}}|1|yes|collapsible=closed|#default=}}"> | |||
<header>{{{other_services2_header|Other services}}}</header> | |||
<data source="services"> | |||
<format>{{#if:{{#invoke:String|match|1={{{other_services2|}}}|2=class="wikitable adjacent-stations|plain=true|nomatch=}}|{{{other_services2|}}}|{{#invoke:string|replace|1={{S-rail-start|noclear=yes}}{{{other_services2}}}{{S-end}}|2=white%-space: *nowrap([^"]*"{{!}})|3=%1|plain=false}}}}</format> | |||
</data> | </data> | ||
</group> | </group> | ||
</infobox>{{ns0|[[Category:Stations]] | </infobox>{{ns0|[[Category:Stations]]}}<noinclude>{{doc}}</noinclude> |