Wikipedia:Route diagram template/Catalog of pictograms

From Wikipedia, the free encyclopedia
Jump to: navigation, search
This table is maintained manually and therefore may not include all available icons.
Refer to Category:Icons for railway descriptions on Commons for a complete catalogue of all icons.
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
  double dashed
  • watered canals
vs. unwatered canals

The diagrams aren't intended to show

  • quantity of parallel tracks,
  • gauge (too many different gauges),
  • 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 logic[edit]

This system of icon names came from the German Wikipedia. There a readily perceptible system in the nomenclature exists but this was not translated properly so this rule has often been, in ignorance, ignored.

Within the wikimedia library conventional file name formats for images of this project are as follows: BSicon_(pictogram ID).svg. Within rows commencing with the parameter BS(and optionally a number), editors then type (after |) the exact short ID code for the desired icon. This ID, is constructed by prefix, ROOT and suffix (e.g.   (tKBHFa) refers to an image already created formed by t+K+BHF+a). Prefixes are mostly and suffixes are always lowercase but the ROOT is all caps (capital letters). All icons contain at least one ROOT, and sometimes combine two or more to form complex icon. Affixes generally modify the "base" icon in color, directionality, structure, etc. and may not apply to 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:
u f g
U-Bahn / underground footpath ground
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 / slender c + d from the BSicon SPLe.svg 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 lines[edit]

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:

  • v:  
  • ev:  
  • xv:  
  • exv:  

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

  • v:  
  • ev:  
  • exv:  

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 lines[edit]

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 lines[edit]

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* Junction to left DE: Abzweigstelle
Accessible station ACC Station with ramp EN: accessible
Station BHF Station on track DE: Bahnhof
Pedestrian walkway BL Unknown BSicon "BL" EN: black line
Bridge BRÜCKE Large bridge DE: Brücke
1/2 column offset BS2* Unknown BSicon "BS2l" DE: Bahnstrecke
Non-passenger stop BST Small non-passenger station on track DE: Betriebsstelle
Level crossing BUE Level crossing DE: Bahnübergang
Continuation CONT* Continuation forward EN: continuation
Cross-platform interchange CPIC* Right side of cross-platform interchange EN: cross-platform interchange
Non-passenger station DST Non-passenger station/depot on track DE: Dienststation
End of track ENDE* Track end start DE: Ende, EN: end
Track change FOW Unknown BSicon "FOW" DE: Fahrordnungswechsel
Border GRENZE Restricted border on track DE: Grenze
Minor station HST Stop on track DE: Haltestelle
Interchange INT Interchange on track EN: interchange
Milepost KMW Unknown BSicon "KMW" DE: Kilometrierungswechsel
Crossover KRW* Unknown BSicon "KRWgl" NL: kruiswissel
Crossing KRZ Flat crossing DE: Kreuzung
Mask MASK   DE: Maske/Maskieren, EN: Mask Special-purpose icon
Figure num* Unknown BSicon "num0r" DE: Nummer, EN: Number
Loop/siding PSL Unknown BSicon "PSL" EN: Passing Loop
Column shift SHI* Unknown BSicon "SHI1l" EN: shift
Single/parallel transition SPL* Unknown BSicon "SPLa" DE: Spalten, EN: split
Track STR Straight track DE: Strecke, EN: stretch / straight
T junction TEE* Unknown BSicon "TEEl" EN: tee
Tunnel TUNNEL* Enter and exit tunnel DE: Tunnel, EN: tunnel
Crossover ÜST Track change DE: Überleitstelle
Crossover ÜWB Unknown BSicon "vÜWB" DE: Überwerfungsbauwerk
River WASSER Water DE: Wasser
Type change WECHSEL Unknown BSicon "WECHSEL" DE: Wechsel
Turning loop WSL* Unknown BSicon "WSLe" DE: Wendeschleife
Root modifiers
Highway crossing AKRZ* Cross over track DE: Autobahn Kreuzung
Cutting CBHF Station on track EN: Cut
Embankment DSTR Straight track DE: Damm
TerminusA KBHF* Unknown BSicon "BHFa" DE: Kopfbahnhof
Interruption LSTR Straight track DE: Lücke
Interruption LLSTR* Unknown BSicon "STR2+4" DE: Lücke Special case for icons connecting at corners.
Mask MICON   DE: Maske/Maskieren, EN: Mask
Narrow nICON DE: eng, EN: narrow
Commuter station SBHF Station on track DE: S-Bahnhof EN: Suburban Also applies to SHST.
Mode change SWBHF   DE: SystemwechselBahnhof Also applies to SHST.
Split level stationA TBHF Unknown BSicon "BHFo" DE: Turmbahnhof
Water + feature WBRÜCKE WBRÜCKE DE: Wasser + Brücke
WTUNNEL   DE: Wasser + Tunnel, EN: water + tunnel

* In most cases these icons are accompanied by a suffix. A number indicating a variation is also considered a suffix.

  • Alphabet Ü (DE: ue) can be input Ctrl+'+U or using ASCII by Alt+0220 on a PC (one must type the number on the numeric keypad on the righthand side of keyboard) or ⌥ Opt+u then U on a Macintosh. Some non-western language option might alter to the undesired output such as the lowercase ü or non-diacritic U. Some redirects replacing the 'Ü' with 'UE' are already set up (e.g. BRUECKE -> BRÜCKE). You may create such file name redirect in Wikimedia Commons yourself.
  • There are few "pseudo" roots that does not follow the call-cap rule, such as num (e.g.   (num1r)).


Suffixes in this category indicates the directionality, position or structural variation. Note that directions are based on as if travelling along within a standard, vertically-downward 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    Additional modifiers:
+ from objective
EN: corner (supplementary for 45° branchings and special situations)
EN: tunnel portal (supplementary for 45° branchings)
EN: halved (supplementary for shifts)
Objective lower right 2   
Objective lower left 3   
Objective upper left 4   
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
Switchback sr/sl    EN: switchback right/left
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.
Legend _legende    DE: Legende; obsolete suffix: new icons should use l prefix instead

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 BSicon BHF.svg
  #d77f7e BSicon exBHF.svg
metro/light rail & canals
  #003399 BSicon uBHF.svg
  #6281c0 BSicon uexBHF.svg
Berlin S-Bahn
  #006e34 BSicon lSBHF.svg
  #5abf89 BSicon exlSBHF.svg
  #034EA2 BSicon lACC.svg
  #6592C5 BSicon exlACC.svg
other features
  #000000 BSicon BAHN.svg
  #aaaaaa BSicon exBAHN.svg
  #888888 BSicon BSl.svg
  #cccccc BSicon exBSl.svg
other routes & special circumstances
(e.g. fare-free zones on a light-rail line)
(set f)
unwatered canals
(set g)
  #008000 BSicon fBHF.svg
  #2ca05a BSicon gBHF.svg
formations and structures
  #80a080 BSicon lDSTR.svg BSicon BRIDGEq.svg BSicon PORTALg.svg BSicon lhSTRa.svg
interchanges and depôts (BSicon DST.svg) border fill
  #000000 BSicon lINT.svg
  #FFFFFF BSicon lDST.svg
cross-platform interchanges border fill
  #000000 BSicon CPIC.svg
other colours background watercourses
  #007cc3 BSicon WASSER.svg


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
HUB01 Hub Interchange hub single cell
Single icon with no variations.
BAHN Unknown BSicon "BAHN" exUnknown BSicon "BAHN" Icon generic train
Regular and ex variations only.
STR+4 Unknown BSicon "STR+4" exUnknown BSicon "STR+4" uUnknown BSicon "STR+4" uexUnknown BSicon "STR+4" Curve from corner 4
The four basic variations: regular, ex, u and uex.
lKMWq Unknown BSicon "lKMWq" Unknown BSicon "lexKMWq" Unknown BSicon "luKMWq" Unknown BSicon "luexKMWq" Milepost across
As BS-anleitung4, but also includes a named argument pf for prefixes that come before ex, u and uex.
BUE Level crossing eLevel crossing exLevel crossing uLevel crossing ueLevel crossing uexLevel crossing Level crossing unspecified road
As BS-anleitung4, but also includes the e variants.
ENDEa Track end start xTrack end start exTrack end start uTrack end start uxTrack end start uexTrack end start Line end start
As BS-anleitung4, but also includes the x variants.
ABZrf ABZrf xABZrf eABZrf exABZrf uABZrf uxABZrf ueABZrf uexABZrf Junction forward & to right
Adds e and x variations to BS-anleitung4.
f…ABZrf fJunction to right feJunction to right fxJunction to right fexJunction to right Junction forward & to right
ABZlf orange Unknown BSicon "ABZlf orange" eUnknown BSicon "ABZlf orange"   exUnknown BSicon "ABZlf orange" Junction forward & to left
As BS-anleitung6, but for a single color.
STRq Transverse track exTransverse track tTransverse track extTransverse track uTransverse track uexTransverse track utTransverse track uextTransverse track Straight across
As BS-anleitung4, but also includes tunnel variations (t, ext, ut, uext).
vSHI2l- / v-SHI2+r Unknown BSicon "vSHI2l-" exUnknown BSicon "vSHI2l-" tUnknown BSicon "vSHI2l-" extUnknown BSicon "vSHI2l-" uUnknown BSicon "vSHI2l-" uexUnknown BSicon "vSHI2l-" utUnknown BSicon "vSHI2l-" uextUnknown BSicon "vSHI2l-" Single line shift right to left
As BS-anleitung5, but also includes a second icon name.
STRlf Track turning left exTrack turning left tTrack turning left extTrack turning left hTrack turning left exhTrack turning left uTrack turning left uexTrack turning left utTrack turning left uextTrack turning left uhTrack turning left uexhTrack turning left Turn to left
As BS-anleitung5, but adds elevated variations (h, exh, uh, uexh).
KRZ Flat crossing eFlat crossing xFlat crossing exFlat crossing tFlat crossing etFlat crossing xtFlat crossing extFlat crossing uFlat crossing ueFlat crossing uxFlat crossing uexFlat crossing utFlat crossing uetFlat crossing uxtFlat crossing uextFlat crossing Crossing two lines
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.
KRZ Flat crossing eFlat crossing xFlat crossing exFlat crossing tFlat crossing etFlat crossing xtFlat crossing extFlat crossing hFlat crossing ehFlat crossing xhFlat crossing exhFlat crossing uFlat crossing ueFlat crossing uxFlat crossing uexFlat crossing utFlat crossing uetFlat crossing uxtFlat crossing uextFlat crossing uhFlat crossing uehFlat crossing uxhFlat crossing uexhFlat crossing Crossing two lines
As BS-anleitungV, with the addition of the elevated variants ((U)h, exh, uh, uexh).

Special purpose[edit]

BHF Station on track pStation on track xStation on track tStation on track eStation on track exStation on track uStation on track uxStation on track utStation on track ueStation on track uexStation on track Station major
Special version for stations: Adds p, x, e, ux, and ue, but does not include ext and uext. (See BS-anleitung3 below.)
BHF Station on track xpStation on track xStation on track tStation on track eStation on track exStation on track extStation on track uStation on track uxStation on track utStation on track ueStation on track uexStation on track uextStation on track Station major
Adds ext and uext variations to BS-anleitung2.
vSTR-uKDSTa Unknown BSicon "vSTR-uKDSTa" Line through Light rail terminal depôt start
Single complex icon with two features.
DST-STR                 Depôt + Line through
Eight variations of complex icon with two features (regular and ex for each part, then regular and u for the whole).
STR-STRl                                 Track through + Trackto left
Sixteen variations of complex icon with two features (regular and ex for each part, then t, u and ut for the whole).
DST-BHF                                         Depôt + Station
Twenty variations of complex icon with two features (regular, x, e, and ex for each part, then regular and u for the whole).
ABZ23                                                 Junction to 2nd & 3rd corners
Twenty four variations (regular, t, h, u, ut, uh) of complex icon with two branches (with x added before the branch suffix).
lBHF- Unknown BSicon "lBHF-" exUnknown BSicon "lBHF-" uUnknown BSicon "lBHF-" uexUnknown BSicon "lBHF-" lHST- Unknown BSicon "lHST-" exUnknown BSicon "lHST-" uUnknown BSicon "lHST-" uexUnknown BSicon "lHST-" Legend marker on upper line
Used for comparing two different icons.
INT-R   INT   INT-L   Interchange
Used for displaying an icon and its -Left and -Right variants.
tKICONa Unknown BSicon "tKINTa" exUnknown BSicon "tKINTa" Unknown BSicon "tKACCa" exUnknown BSicon "tKACCa" Unknown BSicon "tKINTACCa" exUnknown BSicon "tKINTACCa" Terminus start, in tunnel
Used for displaying regular and ex variants of INT, ACC and INTACC icons.
STRlf Track turning left exTrack turning left uTrack turning left uexTrack turning left Unknown BSicon "STRlf green" exUnknown BSicon "STRlf green" Turn to left
Used for displaying an additional color alongside regular and u icons.
Level Unknown BSicon "kKRZl" kKRZl Unknown BSicon "kKRZxl" kKRZxl eUnknown BSicon "ekKRZl" ekKRZl eUnknown BSicon "ekKRZxl" ekKRZxl xUnknown BSicon "xkKRZl" xkKRZl xUnknown BSicon "xkKRZxl" xkKRZxl exUnknown BSicon "exkKRZl" exkKRZl exUnknown BSicon "exkKRZxl" exkKRZxl
Used for complicated icons where it is helpful to have individual icon names shown.
BSicon KRX.svg KRX
Displays a single icon and its name in a pair of cells in a catalogue table row.
KRX BSicon KRX.svg
Similar to BS-anleitungq, but with the icon to the right of the label.
Flat crossing
Similar to BS-anleitungq, but displays a single icon cell in a catalogue table row, with the name below.
ROOTq Template:BS-border Template:BS-border Template:BS-border Template:BS-border Template:BS-border Basic road icon across
Used solely for generic roads.
SKRZ-GROOTo Template:BS-border Template:BS-border Template:BS-border Template:BS-border Overpass rail over
As above, but for road-rail crossings.
mKRZo                       Railway bridge over waterway
Used solely for canal pages.
uABZlf                       Branching to left
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-anleitung3/header}} creates the first row of this table (which uses {{WP:Route diagram template/BS-anleitung3}}):

xp x t e ex ext u ux ut ue uex uext
BHFq Station on transverse track xpStation on transverse track   tStation on transverse track eStation on transverse track exStation on transverse track extStation on transverse track uStation on transverse track   utStation on transverse track ueStation on transverse track uexStation on transverse track uextStation on transverse track Station across