Wikipedia:Route diagram template/Catalog of pictograms

This catalog is maintained manually and therefore may not include all available icons. Refer to Category:Icons for railway descriptions on Wikimedia Commons for a complete catalog of all railway icons. (Road and waterway icons are here and here respectively.)

The original list was split into smaller sub-lists due to it taking too long to load all the icons. Editors may create new sub-lists if the existing sub-lists become too long or are unsuitable for including the desired icon. See here for the pre-split list.

The basic diagrams are, on the English Wikipedia, used primarily to show

  • existing track
     /  dark color
vs. disused/planned track
 /  light color
  • heavy rail
vs. light rail/rapid transit
  • normal track
vs. elevated track
  grey borders
vs. tunnel track
  • watered canals
vs. unwatered canals

The diagrams aren't intended to show

  • quantity of parallel tracks,
  • width of track (too many different possibilities),
  • power (too many different systems/voltages/frequencies).

Note that the number of lines (tracks) is not normally signified in the graphic, except for small areas such as station diagrams and individual light rail/tram lines.

Naming logicEdit

This system of icon names was originally created on the German Wikipedia in 2006, and has since been expanded by editors on different projects. As a result, most icon names are derived from German, and the rest from English and Dutch.

BSicon files are named File:BSicon pictogram-ID.svg. (The ID of an icon is entered (without "BSicon") into {{Routemap}} or the {{BS-map}} helper templates. Usage instructions for those templates are at Template:Routemap and WP:RDT respectively.) The ID is constructed from a root, usually with prefixes and suffixes (e.g.   (tKBHFa) refers to a pictogram derived from t+K+BHF+a). Prefixes are mostly and suffixes are always lowercase but the root is all caps (capital letters), with only a few exceptions. All icons contain at least one root, and sometimes two or more are combined to form complex icons. Affixes generally modify the "base" icon in color, directionality, structure, etc., and may not be necessary for simple icons.


The prefix indicates the status of the infrastructure (partially in use, not used, disused, or not yet opened), and whether it is elevated or in tunnel:

Zero or one of these prefixes:
(none) u f g
U-Bahn / underground footpath ground
heavy rail
e.g. metro, light rail or canal
footpath or hiking trail
unwatered canal
followed by zero or more of:
e x m
ehemals / erstwhile ex Mischbetrieb / mixed
closed, under construction, or planned (secondary track, station,stop or other feature)
closed, under construction, or planned (main track or feature)
indicates that the icon contains more than one type of line or colour in the same pictogram (see below)
then optionally one or more of:
h k l p n t
Hochbahn / high level Kombination Legende / legend passed eng / narrow Tunnelstrecke / tunnel
elevated line
compound turn
symbol for legends / overlaying passed by express services
thin (half-width) line
underground line
followed by none or exactly one of these prefixes:
b c d cd v
breit / broad schmal / compact dünn / demi c + d from the   transition between double and single lines
double-width symbols
quarter-width symbols for special arrangements (not shown on this page)
half-width symbols
three-quarter-width symbols for special arrangements (not shown on this page)
standard width symbols showing close parallel lines (same as two paired d symbols)
then optionally one or more of:
C D L M 3
Cutt / cutting Damm Lücke (leak) Maske / mask 3-column
open cut line
line on embankment
interruption to line
symbol for masks and masked icons compound turn

The standard order is

"u", "f", "g" – prefixes concerning the type of the track are first;
"e", "x", "m" – prefixes concerning the status of the track are next;
"h"/"t"/"l"/"n" - prefixes concerning the elevation of the track follow (and sometimes need to be used as a suffix as well);
"b"/"c"/"d"/"v" – prefixes concerning size of icon are fourth;
root modifier last.
Heavy rail /
Example Metro /
Light rail
Track, station or facility in use (no prefix)    
Station passed by express train p    up   
Primary (usually vertical) track out of use,
secondary (usually branching or crossing) track in use
x    ux   
Primary track in use, feature or secondary track out of use e    ue   
Entire icon is out of use (with some exceptions) ex    
Track or station in tunnel t     ut    
Tunnel track off use, branching from or vertically crossing track in use xt    uxt   
Unused feature on or unused track horizontally crossing tunnel et    uet   
Unused track and station in tunnel ext     uext    
Elevated track or station h     uh    
Elevated track out of use, branching or crossing track in use xh    uxh   
Elevated disused track or station on track-in-use eh    ueh   
Disused elevated track and station exh     uexh    
Icon for legends or overlaying l     ul    
Overlay icon for disused object exl     uexl    
Parallel linesEdit

All Icons with a symmetrical subject such as bridges (either highway, normal or waterway), borders and tunnels but excluding icons for crossings with other railway lines and stations use the following naming convention:

  • v prefix, both lines in use:  ,  ,  
  • ev prefix, left line disused, right line in use:  ,  ,  
  • xv prefix, left line in use, right line disused:  ,  ,  
  • exv prefix, both lines disused:  ,  ,  

For crossings the prefix applies to the crossing line:

For symmetrical stations the pattern is the same as for crossings, where the prefix is placed before the v and denotes the entire station :

For asymmetrical stations the e or x is placed after the v prefix so it's clear whether it denotes the right or left track:

  •   (vSTR-BHF)
  •   (vexSTR-BHF)
  •   (vSTR-eBHF)
  •   (vSTR-exBHF)
Transverse parallel linesEdit

This sub-category covers icons where the parallel lines run across. If the icon has 180° rotational symmetry, then the name is the same as the regular icon, with the addition of the suffix q (for quarter turn):

  (vSTR)   (vSTRq)
  (uvBHF)   (uvBHFq)

All other icons are named as if they were two regular icons one above the other. Note that there is no v prefix for these icons:

  (mKRZ-KRZo)   (mKRZo)
  (uSTRq-uSTR+r)   (uSTRq)
Mixed linesEdit

For icons with both heavy and light rail, the prefix m indicates that the primary line is heavy rail and the secondary is light, while um denotes the opposite:

m um
  (mKRZ)   (umKRZ)
  (mABZlf)   (umABZlg)


The core part of the icon ID:

Description Root e.g. Etymology
90° branching ABZ[a]   DE: Abzweigstelle
Accessible station ACC   EN: accessible
Station BHF   DE: Bahnhof
Pedestrian walkway BL   EN: black line
Bridge BRÜCKE[b]   DE: Brücke
1/2 column offset BS2[a]   DE: Bahnstrecke
Non-passenger stop BST   DE: Betriebsstelle
Level crossing BUE   DE: Bahnübergang
Continuation CONT[a]   EN: continuation
Cross-platform interchange CPIC[a]   EN: cross-platform interchange
Non-passenger station DST   DE: Dienststation
End of track ENDE[a]   DE: Ende, EN: end
Track change FOW   DE: Fahrordnungswechsel
Border GRENZE   DE: Grenze
Minor station HST   DE: Haltestelle
Interchange INT   EN: interchange
Milepost KMW   DE: Kilometrierungswechsel
Crossover KRW[a]   NL: kruiswissel
Crossing KRZ   DE: Kreuzung
Mask MASK[c]   DE: Maske/Maskieren, EN: Mask
Figure num[a]   DE: Nummer, EN: Number
Loop/siding PSL   EN: Passing loop
Column shift SHI[a]   EN: shift
Single/parallel transition SPL[a]   DE: Spalten, EN: split
Track STR   DE: Strecke, EN: stretch / straight
T junction TEE[a]   EN: tee
Tunnel TUNNEL[a]   DE: Tunnel, EN: tunnel
Crossover ÜST[b]   DE: Überleitstelle
Crossover ÜWB[b]   DE: Überwerfungsbauwerk
River WASSER   DE: Wasser
Type change WECHSEL   DE: Wechsel
Turning loop WSL[a]   DE: Wendeschleife
Root modifiers
Highway crossing AKRZ[a]   DE: Autobahn Kreuzung
Junction + feature AICON[a]   DE: Abzweigstelle
Cutting CBHF   EN: Cut
Embankment DSTR   DE: Damm
Terminus[d] KBHF[a]   DE: Kopfbahnhof
Interruption LSTR   DE: Lücke
Interruption LLSTR[a][e]   DE: Lücke
Mask MICON   DE: Maske/Maskieren, EN: Mask
Narrow nICON   DE: eng, EN: narrow
Commuter station SBHF[f]   DE: S-Bahnhof EN: Suburban
Mode change SWBHF[f]   DE: Systemwechselbahnhof
Split-level station[d] TBHF   DE: Turmbahnhof
Water + feature WBRÜCKE   DE: Wasser + Brücke
WTUNNEL   DE: Wasser + Tunnel, EN: water + tunnel

There are a few "pseudo"-roots that do not follow the all-caps rule, such as Template:Bsn (e.g.   (num1r)) and Template:Bsn.


Suffixes in this category indicates the directionality, position or structural variation. Note that directions are based on as if travelling along within a standard, top-to-bottom route.

The four most common suffixes are left, right, forward and backward, represented by:

  • l [links, German for "left"],
  • r [rechts, German for "right"],
  • f [Fahrtrichtung, German for "direction of travel"] (forward, basically) and
  • g [Gegenrichtung, German for "opposite direction" (of travel)].

When the first BSicons were created in 2007, it was soon realized that the system with f and g was very limited, especially when dealing with icons facing across. Therefore, the +-suffix—in the sense of "coming from", which is by now used with most sets of BSicons—was introduced.

l and r have been used mistakenly as left and right as the reader sees it; there is no "u" for "up [the page]" and "d" for "down [the page]", hence instead the icons are designed as if moving inside a classical 'down' track route that is being depicted instead.

The order of the l and r suffixes should be:

  1. to left/right (in use);
  2. to (ex) left/right (out of use);
  3. from (+) left/right (in use);
  4. from (+ex) left/right (out of use).
Suffix e.g. Etymology
Objective upper right 1[g]   
Objective lower right 2[g]   
Objective lower left 3[g]   
Objective upper left 4[g]   
Start a    DE: Anfang
End e    DE: Ende, EN: end
Forward f    DE: Fahrtrichtung, EN: forward
Backward g    DE: Gegenrichtung
Elevated h    DE: Hochbahn, EN: high level. Concerns the additional track / element.
Halved h    DE: halb, EN: half. Used after corner number only
Leftward l    DE: links, EN: left
From left +l   
Left part -L    DE: Linke, EN: left
Forward and turn left lf    obsolete suffix: new icons should use l instead
Backward and turn left lg    obsolete suffix: new icons should use +r instead
Middle m    DE: mittlere, EN: middle
Middle part -M    DE: Mitte, EN: middle
Narrow line n    DE: eng, EN: narrow
Over o    DE: oben, EN: over
Transverse q   
DE: quer, EN: quarter turn.
Rightward r    DE: rechts, EN: right
From right +r   
Right part -R    DE: Rechte, EN: right
Forward and turn right rf    obsolete suffix: new icons should use r instead
Backward and turn right rg    obsolete suffix: new icons should use +l instead
Tunnel t    DE: Tunnel, EN: tunnel. Concerns the additional track / element.
Under u    DE: unter, EN: under
Parallel lines v    Similar to "v" prefix.
Out-of-use segment
continues beyond
EN: expired. Combined with suffix "a", "e", "l" or "r" to denote which side the actual line begins.

Other codes are built up from joining these together. Additional icons can be created by overlaying existing ones.

Due to conflicting naming patterns and incomplete renaming attempts, some diagrams may show continuation arrows ( ) or dead ends ( ) in the opposite direction than intended. It is recommended to replace all the usages of such icons with   (CONTfq),   (CONTgq),   (ENDEeq),   (ENDEaq).


  • dark colour means a currently open line / facility
  • light colour means either a closed line / route / facility or one under construction / planned
  • red indicates heavy rail or freight line
  • blue indicates light rail, metro or tram line.
Existing lines
in current use
Lines not in use
(planned or closed)
heavy rail      #BE2D2C        #D77F7E  
metro/light rail & canals      #003399        #6281C0  
Berlin S-Bahn      #006E34        #5ABF89  
accessibility      #034EA2        #6592C5  
other features      #000000        #AAAAAA  
platforms      #888888        #CCCCCC  
other routes & special circumstances
(e.g. fare-free zones on a light-rail line)
(set f)
unwatered canals
(set g)
formations and structures      #80A080        
interchanges and depôts ( ) border fill
     #000000        #FFFFFF  
cross-platform interchanges border fill
     #000000        #B3B3B3
other colours background watercourses
     #F9F9F9      #007CC3  


Standard icons are drawn in a 500 pixel × 500 pixel square. Lines are 100 pixels wide, centred at 250 pixels. Parallel lines are centred on the quarter points, i.e. 125 and 375 pixels, as are formation elements. Thin lines (sidings, feeders, formation elements, linkways, borders, etc.) are 50 pixels wide, and also aligned to the ¼–½–¾ grid.


These templates are used for constructing the catalog pages (in increasing order of complexity):

Template Sample output
Single icon with no variations.
Regular and ex variations only.
The four basic variations: regular, ex, u and uex.
As BS-anleitung4, but also includes the e variants.
As BS-anleitung4, but also includes the x variants.
Adds e and x variations to BS-anleitung4.
Wikipedia:RDT/BSa6x Wikipedia:RDT/BSa6x
As BS-anleitung6, but for a single color.
As BS-anleitung4, but also includes tunnel variations (t, ext, ut, uext).
As BS-anleitung5, but also includes a second icon name.
As BS-anleitung5, but adds elevated variations (h, exh, uh, uexh).
Adds the last two tunnel variants ((U)et and (U)xt), resulting in all four basic variations, in a slightly different order: regular, e, x and ex, for heavy and light rail, on surface and in tunnel.
As BS-anleitungV, with the addition of the elevated variants ((U)h, exh, uh, uexh).
As BS-anleitung7, with the addition of tunnel–bridge transition variants ((U)ht, exht, uht, uexht).

Special purposeEdit

Single complex icon with two features.
Eight variations of complex icon with two features (regular and ex for each part, then regular and u for the whole).
Sixteen variations of complex icon with two features (regular and ex for each part, then t, u and ut for the whole).
Twenty variations of complex icon with two features (regular, x, e, and ex for each part, then regular and u for the whole).
Twenty-four variations (regular, t, h, u, ut, uh) of complex icon with two branches (with x added before the branch suffix).
Eight variations (regular, u) of complex icon with two branches (with x added before the branch suffix).
Used for comparing two different icons.
Used for displaying an icon and its -Left and -Right variants.
Used for displaying regular and ex variants of INT, ACC and INTACC icons.
Used for complicated icons where it is helpful to have individual icon names shown.
Displays a single icon and its name in a pair of cells in a catalogue table row.
Similar to BS-anleitungq, but with the icon to the right of the label.
Similar to BS-anleitungq, but displays a single icon cell in a catalogue table row, with the name below.
Wikipedia:Route diagram template/RP-anleitung
Used solely for generic roads.
Wikipedia:Route diagram template/RP-anleitungNeu
As above, but for road-rail crossings.
Used solely for canal pages.
As BS-anleitungP, but with u prefix.

The documentation for each template explains its usage and syntax.

There are also matching templates that insert the header row for each of the icon row templates. For example, the template {{WP:Route diagram template/BS-anleitung8/header}} creates the first row of this table (which uses {{WP:Route diagram template/BS-anleitung8}}):

Wikipedia:RDT/BSa8/h Wikipedia:RDT/BSa8


  1. 1.00 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 1.10 1.11 1.12 1.13 1.14 1.15 In most cases these icons are accompanied by a suffix. A number indicating a variation is also considered a suffix.
  2. 2.0 2.1 2.2 The letter Ü can be input on Windows as Ctrl+'+U with the UK keyboard layout (or by typing Alt+0220 into the numeric keypad) and on macOS as ⌥ Opt+u then U (or by holding ⇧ Shift+U and then pressing 2). Or just copy and paste it, if you can't be bothered or your computer doesn't let you. Some redirects replacing the 'Ü' with 'UE' have been created (e.g. BRUECKE → BRÜCKE); you can create more of them in Wikimedia Commons yourself if you so wish.
  3. Special-purpose icon.
  4. 4.0 4.1 Also applies to ACC, HST, HSTACC, SBHF, SHST, DST and BST.
  5. Special case for icons connecting at corners.
  6. 6.0 6.1 Also applies to HST.
  7. 7.0 7.1 7.2 7.3 Additional modifiers:
    +n   – from the corner
    cn   (EN: corner) – supplementary for 45° branchings and special situations
    tn   (EN: tunnel) – tunnel portal; supplementary for 45° branchings