Difference between revisions of "Template:Infobox station/services"
Jump to navigation
Jump to search
imported>ProcrastinatingReader (dump) |
imported>ProcrastinatingReader (use provided) |
||
| Line 2: | Line 2: | ||
| child = yes | | child = yes | ||
| headerstyle = {{#invoke:Adjacent stations|style|subheader|{{{style|}}}|{{{style2|}}}}} | | headerstyle = {{#invoke:Adjacent stations|style|subheader|{{{style|}}}|{{{style2|}}}}} | ||
| − | | header1 = | + | | header1 = {{#if:{{{services|}}}|{{#switch:{{{collapsed|}}}|1|yes|collapsible=|{{{header|Services}}}}}}} |
| rowcellstyle1 = {{#switch:{{{collapsed|}}}|1|yes|collapsible=padding: 0}} | | rowcellstyle1 = {{#switch:{{{collapsed|}}}|1|yes|collapsible=padding: 0}} | ||
| data2 = {{#if:{{{services|}}}|{{#switch:{{{collapsed|}}} | | data2 = {{#if:{{{services|}}}|{{#switch:{{{collapsed|}}} | ||
|1|yes|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}}"> | <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><th style="text-align: center; {{#invoke:Adjacent stations|style|subheader|{{{style|}}}|{{{style2|}}}}}"><div style="margin:0 3.5em">{{{header|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}} | <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}}} | {{{services}}} | ||