The output of {{ Adjacent stations }} is nearly identical to that of {{ S-line }} , but is used differently. Here are lists of comparable elements in the two templates.
Item
{{ S-line }}
{{ Adjacent stations }}
System name, title and icon
In {{ S-rail/lines }}
Subpage name, values of ["system title"]
and ["system icon"]
Line name and title
In Template:system lines
Key beneath ["lines"]
and value of ["title"]
beneath the corresponding line
Branch/type name and title
In Template:system branches
Key beneath ["types"]
and value of ["title"]
beneath the corresponding type
Station format
In Template:system stations
Key–value pairs beneath ["station format"]
Colour
In Template:system color
Value of ["color"]
beneath the corresponding line or type
Left terminus name
In Template:S-line/system left/line
Value of ["left terminus"]
beneath the corresponding line
Right terminus name
In Template:S-line/system right/line
Value of ["right terminus"]
beneath the corresponding line
{{ S-line }}
{{ Adjacent stations }}
system
system
line
line
previous
, next
left
, right
type
, type2
to-left
, to-right
New feature
to
(for both sides)
{{ S-text }}
note-row
note
, notemid
, note2
note-left
, note-mid
, note-right
{{ S-note }}
header
oneway1
, oneway2
oneway-left
, oneway-right
rows1
, hide1
Not needed
rows2
, hide2
Not needed
rowsmid
, hidemid
Not needed
transfer
transfer
circular
, circular1
, circular2
Must be set for whole line in data
round1
, round2
reverse
(for both sides), reverse-left
, reverse-right
branch
type
state1
, state2
Not implemented
through1
, through2
through-left
, through-right