Template:WP:RDT/BSa5x2


For displaying pictogram tables in BSicon/Catalogue.

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:WP:RDT/BSa5x2/doc.


Usage edit

This template takes two basic icon names ("ICON₁" and "ICON₂") to display sixteen variants of a parallel lines compound icon (typically named "vICON₁-ICON₂"), with the following information in a row within a wikitable:

  • ICON (the compound icon name)
  • BSicon_vICON₁-ICON₂.svg
  • BSicon_vICON₁-exICON₂.svg
  • BSicon_vexICON₁-ICON₂.svg
  • BSicon_exvICON₁-ICON₂.svg
  • Same four icons with "t" prefix
  • Same eight icons with "u" prefix
  • text field (normally description) for the drivers' right line
  • secondary text field (optional) for the drivers' right line
  • text field (normally description) for the drivers' left line
  • secondary text field (optional) for the drivers' left line
  • The optional parameter pre allows the use of a prefix such as L.
  • The optional parameter v suppresses the usual parallel line prefix v.

Icons are displayed 20 pixels high, the same as in most route diagrams.

This template can be abbreviated as {{WP:RDT/BSa5x2}}.

Examples edit

The text {{WP:RDT/BSa5x2|STR|STRl|Track|through|Track|to left}} produces the second line of this table:

①-②
v①-②
v①-ex②
vex①-②
exv①-②
tv①-②
tv①-ex②
tvex①-②
extv①-②
uv①-②
uv①-ex②
uvex①-②
uexv①-②
utv①-②
utv①-ex②
utvex①-②
uextv①-②
STR-STRl                                 Track through + Track to left

The text {{WP:RDT/BSa5x2|STRq|STR+r|Track|aross|Track|from right|v=}} produces the second line of this table:

①-②
①-②
①-ex②
ex①-②
ex①-ex②
t①-t②
t①-ext②
ext①-t②
ext①-ext②
u①-u②
u①-uex②
uex①-u②
uex①-uex②
ut①-ut②
ut①-uext②
uext①-ut②
uext①-uext②
STRq-STR+r                                 Track aross + Track from right
  • It is not necessary to mark a column; missing icons will automatically be left blank.

See also edit