Difference between revisions of "Template:Infobox station/services"
Jump to navigation
Jump to search
imported>ProcrastinatingReader (dump) |
imported>AGK (-dup tag) |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{Infobox | + | <noinclude>{{pp-template|small=yes}}</noinclude>{{Infobox |
| 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}}} | ||
| Line 17: | Line 17: | ||
{{S-end}}|2=white%-space: *nowrap([^"]*"{{!}})|3=%1|plain=false}}}}}} | {{S-end}}|2=white%-space: *nowrap([^"]*"{{!}})|3=%1|plain=false}}}}}} | ||
}} | }} | ||
| − | }} | + | }}<noinclude> |
| + | {{doc|content=Meta-template for {{t|Infobox station}} which builds the services components.}} | ||
| + | </noinclude> | ||
Latest revision as of 12:21, 3 February 2021
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |