Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox station PI: Difference between revisions

Template page
Created page with "<TemplateStyles src="Infobox station DI/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..."
Tag: 2017 source edit
 
Undo revision 4002 by 1F616EMO (talk)
Tag: Undo
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
<TemplateStyles src="Infobox station DI/styles.css" /><infobox type="station">  
<TemplateStyles src="Infobox station PI/styles.css" /><infobox type="station">  
     <!-- Header part -->  
     <!-- Header part -->  
     <title source="name">  
     <title source="name">  
Line 18: Line 18:
         <alt source="alt"></alt>  
         <alt source="alt"></alt>  
         <caption source="caption"></caption>  
         <caption source="caption"></caption>  
     </image>  
     </image>
    <group>
        <data source="mlanguage">
            <format>{{Infobox in Portable Infobox|{{{mlanguage}}}}}</format>
        </data>
    </group>
     <group>  
     <group>  
         <header>General Information</header>  
         <header>General Information</header>  
         <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>
            <format>{{Br separated entries|{{{address|}}}|{{{borough|}}}|{{{country|}}}}}</format>  
        </data>
         </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 139: 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>  
         <navigation>  
         <data source="services">
             {{#if:{{{services|}}}|{{Infobox station/services|services={{{services|}}}|collapsed={{{services_collapsible|}}}}}}}
             <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>
         </navigation>  
        </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>
     </group>  
     </group>  
</infobox>{{ns0|[[Category:Stations]]{{#if:{{{county|}}}|{{#if:{{{borough|}}}|[[Category:Stations in {{{borough|}}}, {{{county|}}}]]}}[[Category:Stations in {{{county|}}}]]}}}}
</infobox>{{ns0|[[Category:Stations]]}}<noinclude>{{doc}}</noinclude>

Latest revision as of 07:55, 9 November 2024