Difference between revisions of "Template:Infobox station"

From Bilbcraft Wiki
Jump to navigation Jump to search
en>Jc86035
(merge from sandbox: change subheader text if route diagram links to Template:Railway track legend)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 16:55, 27 April 2020

{{#if:|{{{cta_header}}}|
{{#if:|{{{name}}}|Template:PAGENAMEBASE}}

{{#if:|
{{{native_name}}}
}}
{{#if:|Script error: No such module "Rail-interchange multi".}}
}}
{{#if:|{{{mlanguage}}}|{{#if:|Template:Infobox Korean name}}}}
{{#if:|General information}}
Coordinates{{#if:|Script error: No such module "Coordinates". }}
{{#if:|Construction}}
Disabled access{{#switch:|1|true|y|yes=Yes|#default=}}
{{#if:|Other information}}
{{#if:|History}}
{{#if:{{SAFESUBST:#if:|{{SAFESUBST:#if:|1}}}}{{SAFESUBST:#if:|{{SAFESUBST:#if:|1}}}}|Key dates}}
{{{years}}}{{#if:|}}
{{{years1}}}{{#if:|}}
{{{years2}}}{{#if:|}}
{{{years3}}}{{#if:|}}
{{{years4}}}{{#if:|}}
{{{years5}}}{{#if:|}}
{{{years6}}}{{#if:|}}
{{{years7}}}{{#if:|}}
{{{years8}}}{{#if:|}}
{{{years9}}}{{#if:|}}
{{{years10}}}{{#if:|}}
{{{years11}}}{{#if:|}}
{{#if:|Traffic}}
{{#if:|Template:Rail pass box}}
{{#if:|{{#switch:|1|yes|collapsible=|Services}}}}
{{#if:|{{#switch:
|1|yes|collapsible=
Services
{{#if:String Module Error: Target string is empty||Template:S-rail-start

{{{services}}}

Template:S-end}}
|#default=

{{#if:String Module Error: Target string is empty||Template:S-rail-start {{{services}}} Template:S-end}}}}

}}
{{#if:|{{#switch:|1|yes|collapsible=|Other services}}}}
{{#if:|{{#switch:
|1|yes|collapsible=
Other services
{{#if:String Module Error: Target string is empty||Template:S-rail-start

{{{other_services}}}

Template:S-end}}
|#default=

{{#if:String Module Error: Target string is empty||Template:S-rail-start {{{other_services}}} Template:S-end}}}}

}}
{{#if:|
{{#if:|
{{{map_name}}}
|
{{#ifeq:0|0|Route map|Track layout}}
}}
{{{route_map}}}
{{#switch:
 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq:Infobox station|Infobox||{{#ifeq:Infobox|Infobox|[[Category:Infobox templates|Template:Remove first word]]}}}} | other | #default =

}}}}
{{#if:|Location}}
{{#if:
 |{{#if:{{#switch:{{#property:P625}}|unknown value|=|#default=1}}
    |Template:Location map
    |Template:Superimpose{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}

    }}
| 
}}

{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq:Infobox station|Infobox||{{#ifeq:Infobox|Infobox|[[Category:Infobox templates|Template:Remove first word]]}}}} | other | #default = }}{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main =

{{#if:|}}{{#if:|}}{{#if:|[[Category:Articles using Infobox station with map_locator|{{#switch:file:=ψ|image=ψ|#default=Infobox station}}}}{{#if:|{{#ifeq:00|00||}}{{#ifeq:0|0||}}}}{{#if:|{{#ifeq:00|00||}}{{#ifeq:00|00||}}}}

| other | #default = }}{{#if:||}}

Template documentation[create]