Wikipedia:Route diagram template/BS-anleitung4x2/doc

Usage

edit

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

  • ICON₁-ICON₂ (the compound icon name)
  • BSicon_vICON₁-ICON₂.svg
  • BSicon_exvICON₁-ICON₂.svg
  • BSicon_uvICON₁-ICON₂.svg
  • BSicon_uexvICON₁-ICON₂.svg
  • 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 t or h.
  • 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/BSa4x2}}.

Examples

edit

The text {{WP:Route diagram template/BS-anleitung4x2|STR|BHF|Track||Station}} produces the second line of this table:

①-②
 v①-②
 v①-ex②
 vex①-②
 exv①-②
 uv①-②
 uv①-ex②
 uvex①-②
 uexv①-②
STR-BHF                 Track + Station

The text {{WP:RDT/BSa4x2|STR|KDSTa|Tunnel|through|Depôt in tunnel|start|pre=t}} produces the second line of this table:

①-②
 v①-②
 v①-ex②
 vex①-②
 exv①-②
 uv①-②
 uv①-ex②
 uvex①-②
 uexv①-②
t…STR-KDSTa                 Tunnel through + Depôt in tunnel start

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

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

See also

edit