Jump to content

Template:Train direction/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template is used to indicate the orientation of railway rolling stock and express train seating arrangements in terms of start and end destinations.

<div style="text-align:center;">{{#if: {{{3|}}} | {{{3}}} }}</div>
<div style="float:left;">{{#if: {{{1|}}} | ← {{{1}}} }}</div><div style="float:right;">{{#if: {{{2|}}} | {{{2}}} → }}</div>

Examples:

←London
Paris→
←London St Pancras
Paris→
{{TrainDirection|London|Paris}}
{{TrainDirection|1=London St Pancras|2=Paris}}