Changes

prep for transclusion
<noinclude>{{Documentation subpage}}</noinclude>
{{Sidebar Adjacent stations}}
The output of {{tl|Adjacent stations}} is nearly identical to that of {{tl|S-line}}, but is used differently. Here are lists of comparable elements in the two templates.
=== Data ===
{| class="wikitable"
|-
! Item !! {{tl|S-line}} !! {{tl|Adjacent stations}}
|-
| System name, title and icon || In {{tl|S-rail/lines}} || [[Special:PrefixIndex/Module:Adjacent stations/|Subpage]] name, values of <code>["system title"]</code> and <code>["system icon"]</code>
|-
| Line name and title || In Template:''system'' lines || Key beneath <code>["lines"]</code> and value of <code>["title"]</code> beneath the corresponding line
|-
| Branch/type name and title || In Template:''system'' branches || Key beneath <code>["types"]</code> and value of <code>["title"]</code> beneath the corresponding type
|-
| Station format || In Template:''system'' stations || Key–value pairs beneath <code>["station format"]</code>
|-
| Colour || In Template:''system'' color || Value of <code>["color"]</code> beneath the corresponding line or type
|-
| Left terminus name || In Template:S-line/''system'' left/''line''|| Value of <code>["left terminus"]</code> beneath the corresponding line
|-
| Right terminus name || In Template:S-line/''system'' right/''line''|| Value of <code>["right terminus"]</code> beneath the corresponding line
|}

=== Transclusion parameters ===
{| class="wikitable"
|-
! {{tl|S-line}} !! {{tl|Adjacent stations}}
|-
| <code>system</code> || <code>system</code>
|-
| <code>line</code> || <code>line</code>
|-
| <code>previous</code>, <code>next</code> || <code>left</code>, <code>right</code>
|-
| <code>type</code>, <code>type2</code> || <code>to-left</code>, <code>to-right</code>
|-
| {{Yes|New feature}} || <code>to</code> (for both sides)
|-
| {{tl|S-text}} || <code>note-row</code>
|-
| <code>note</code>, <code>notemid</code>, <code>note2</code> || <code>note-left</code>, <code>note-mid</code>, <code>note-right</code>
|-
| {{tl|S-note}} || <code>header</code>
|-
| <code>oneway1</code>, <code>oneway2</code> || <code>oneway-left</code>, <code>oneway-right</code>
|-
| <code>rows1</code>, <code>hide1</code> || {{Yes|Not needed}}
|-
| <code>rows2</code>, <code>hide2</code> || {{Yes|Not needed}}
|-
| <code>rowsmid</code>, <code>hidemid</code> || {{Yes|Not needed}}
|-
| <code>transfer</code> || <code>transfer</code>
|-
| <code>circular</code>, <code>circular1</code>, <code>circular2</code> || {{Maybe|Must be set for whole line in data}}
|-
| <code>round1</code>, <code>round2</code> || <code>reverse</code> (for both sides), <code>reverse-left</code>, <code>reverse-right</code>
|-
| <code>branch</code> || <code>type</code>
|-
| <code>state1</code>, <code>state2</code> || {{No|Not implemented}}
|-
| <code>through1</code>, <code>through2</code> || <code>through-left</code>, <code>through-right</code>
|}
Anonymous user